OPI-LC-simply
Quickly and easily build OPI-LC
One-click setup for OPI light nodes
If you find it difficult to understand, just download it directly
Unzip
Skipping steps 2 and 3
Download Python and PostgreSQL
Python download link (for Windows 64-bit): https://www.python.org/ftp/python/3.12.1/python-3.12.1-amd64.exe
(Be sure to check "Add Python to PATH" on the first page during installation to add Python to the system globally)
PostgreSQL download link: https://www.enterprisedb.com/downloads/postgres-postgresql-downloads
Download https://github.com/bestinslot-xyz/OPI-LC
and unzip it
As shown in the image
Go to https://github.com/ganzhoumengnan/OPI-LC-simply/blob/main/main-en.py
Download main-en.py
Place the main.py file in the OPI-LC/brc20/sqlite directory after unzipping
As shown in the image
In the OPI-LC/brc20/sqlite directory, click on the navigation bar
Enter CMD and press Enter
Enter the following command in the cmd: python main.py
If you are using main-en.py please usr this code:python main-en.py
Wait for the installation of various dependencies, and press Enter after the installation is complete
At this step, you can wait, or if you find it troublesome, just enter 1. The script will automatically download the database. If you find it slow, go to the address in the instructions to download, then paste the file into the same directory as this script
If you are reopening the script, enter 0; otherwise, it will delete some already unzipped files and unzip them again. If it is your first time, enter 1
If you have already configured the .env file, follow the prompts to skip; otherwise, press Enter to continue
Start syncing nodes. If you close it, to continue syncing next time, open cmd in the current directory and enter: python brc20_light_client_sqlite.py