Web3-quilibrium节点部署

Qui项目官方链接:https://quilibrium.com/

windows安装wsl2

wsl –set-default-version 2

wsl –install -d Ubuntu-22.04

设置nds 4.2.2.2

win10内核安装包

更改清华源

vi /etc/apt/sources.list

esc gg VG delete 粘贴

1
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


1
2
3
4
5
6
7
8
9
10
11
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

国内源

1
2
go env -w GO111MODULE=on
go env -w GOPROXY=https://goproxy.cn,direct

拉取qui项目

1
2
3
4
5
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端口配置

1
2
3
listenMultiaddr: /ip4/127.0.0.1/tcp/8336 
listenGrpcMultiaddr: "/ip4/127.0.0.1/tcp/8337"
listenRESTMultiaddr: "/ip4/127.0.0.1/tcp/8338"

内存限制

1
2
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

临时梯子订阅链接:

https://cherry.azureedge.net/sub?target=clash&filename=CherryLink&url=https://cherryvpn.net/link/O9eFRHq0HSaFYowW?sub=2

https://415f2b8e-3e39-41a1-b404-7ee92f142ea7.shandiannginx.com/api/v1/client/subscribe?token=f15db4a1238231a3b8783bf8ec4ac473