Skip to content

ganzhoumengnan/OPI-LC-simply

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OPI-LC-simply

Quickly and easily build OPI-LC 一键搭建OPI轻节点 要是看不懂直接下载
image
解压
省略step2 step3

step 1

下载python和PostgreSQL
python下载地址(适用于windows64位):https://www.python.org/ftp/python/3.12.1/python-3.12.1-amd64.exe
(切记在安装的时候在第一页把add path选上,也就是把python加入系统全局)
PostgreSQL下载地址:https://www.enterprisedb.com/downloads/postgres-postgresql-downloads

step 2

下载https://github.com/bestinslot-xyz/OPI-LC
并解压
如图
image

step 3

https://github.com/ganzhoumengnan/OPI-LC-simply/blob/main/main.py
下载main.py 把main.py文件放到解压后的OPI-LC/brc20/sqlite目录
如图
image

step4

在OPI-LC/brc20/sqlite目录点击导航栏
image
输入CMD 按回车

image

step 5

在cmd中输入:python main.py

image

step 6

等待安装各种依赖包,安装完成后按回车 image

step 7

在这一步可以停留等候下,如果你嫌麻烦就直接1,脚本自动下载数据库,如果你嫌慢就去说明里的地址下载,然后把文件粘贴到这个脚本同目录下
image

step 8

如果你是再次打开脚本请输入0,要不然会删点已经解压的文件重新解压,如果是第一次用就输入1
image

step 9

如果已经配置过.env就按提示跳过,没有就按回车继续
image

step 10

开始同步节点了,如果关闭了 下次要继续同步就在当前目录 打开cmd 输入 python brc20_light_client_sqlite.py

About

Quickly and easily build OPI-LC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages