Qui项目官方链接:https://quilibrium.com/
windows安装wsl2
wsl --set-default-version 2
wsl --install -d Ubuntu-22.04
设置nds 4.2.2.2
更改清华源
vi /etc/apt/sources.list
esc gg VG delete 粘贴
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble main restricted universe multiverse deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble main restricted universe multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble-updates main restricted universe multiverse deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble-updates main restricted universe multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble-backports main restricted universe multiverse deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ noble-backports main restricted universe multiverse
linux安装go
wget https://golang.google.cn/dl/go1.22.4.linux-amd64.tar.gz
wget https://dl.google.com/go/go1.20.14.linux-amd64.tar.gz
vi ~/.profile
export PATH=$PATH:/app/go/bin
source ~/.profile
go env -w GOEXPERIMENT=arenas
国内源
go env -w GO111MODULE=on
go env -w GOPROXY=https://goproxy.cn,direct
拉取qui项目
git clone https://github.com/quilibriumnetwork/ceremonyclient.git
cd ceremonyclient/node
go run ./... --signature-check=false
查看peer-id
go run ./... -peer-id
查看余额
go run ./... -balance
grpc端口配置
listenMultiaddr: /ip4/127.0.0.1/tcp/8336
listenGrpcMultiaddr: "/ip4/127.0.0.1/tcp/8337"
listenRESTMultiaddr: "/ip4/127.0.0.1/tcp/8338"
内存限制
engine:
dataWorkerMemoryLimit: 1024000000
grpcurl查看peer-id
grpcurl -plaintext localhost:8337 quilibrium.node.node.pb.NodeService.GetNodeInfo
grpcurl查看token
grpcurl -plaintext localhost:8337 quilibrium.node.node.pb.NodeService.GetTokenInfo