Skip to content

Latest commit

 

History

History
59 lines (46 loc) · 3.01 KB

readme-en.md

File metadata and controls

59 lines (46 loc) · 3.01 KB

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
image

Unzip
Skipping steps 2 and 3

Step 1

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

Step 2

Download https://github.com/bestinslot-xyz/OPI-LC
and unzip it
As shown in the image
image

Step 3

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
image

Step 4

In the OPI-LC/brc20/sqlite directory, click on the navigation bar
image
Enter CMD and press Enter

image

Step 5

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

image

Step 6

Wait for the installation of various dependencies, and press Enter after the installation is complete
image

Step 7

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
image

Step 8

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
image

Step 9

If you have already configured the .env file, follow the prompts to skip; otherwise, press Enter to continue
image

Step 10

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