✔️Check your node info

The below commands may be outdated if the node version has changed. It is better to use the Q.One - Node Quickstart Menu where the commands will probably be up to to date.

For these commands to work, you need to Set up the gRPC calls

node-1.4.20-linux-amd64 will need to change depending on the node version and architecture. If you run on Ubuntu 22.04, linux-amd64 is usually correct, but the version you find below may be outdated.

Get your peerID

cd ~/ceremonyclient/node && ./node-1.4.20-linux-amd64 -peer-id

See node info this can give an error on nodes that are not fully sync, but you will still see your peerID

cd ~/ceremonyclient/node && ./node-1.4.20-linux-amd64 -node-info

Run the DB console shows your peerID and balance, press Q to detach

cd ~/ceremonyclient/node && ./node-1.4.20-linux-amd64 --db-console

Check balances

cd ~/ceremonyclient/node && ./node-1.4.20-linux-amd64 -balance

Check node version

journalctl -u ceremonyclient -r --no-hostname  -n 1 -g "Quilibrium Node" -o cat

Copy your PeerID and store it somewhere. This is the ID of your node and you can share it with others if you need to.


Extract Peer Manifests by Peer ID

This command retrieves the manifest details for a specific peer identified by its unique peer ID. You will be probably requested to install some app before being able to execute it.

The peer details contain much relevant info about your peer, included the "difficulty metric" a score telling you how your node is performing in the network.

If it's the first time you are trying to retrieve the manifest, run the below script (do the Safety checks first). This will install the necessary apps and output the manifest last.

wget --no-cache -O - https://raw.githubusercontent.com/lamat1111/quilibriumscripts/main/tools/qnode_peermanifest_checker.sh | bash

Next time you want to retrieve the manifest, you can simply run the below command (it will be faster). This command temporarily exports some variables, this may be redundant, but it solves the gRPCurl not found error on some systems.

export GOROOT=/usr/local/go && export GOPATH=$HOME/go && export PATH=$GOPATH/bin:$GOROOT/bin:$PATH && peer_id_base64=$(grpcurl -plaintext localhost:8337 quilibrium.node.node.pb.NodeService.GetNodeInfo | jq -r .peerId | base58 -d | base64) && grpcurl -plaintext localhost:8337 quilibrium.node.node.pb.NodeService.GetPeerManifests | grep -A 15 -B 1 "$peer_id_base64"

Check your QUIL balance and address (after 2.0)

cd ~/ceremonyclient/client && ./qclient token balance

If you get a "No such file or directory" error, run the command below to try to rebuild the client.

cd ceremonyclient/client && GOEXPERIMENT=arenas go build -o qclient main.go

All the commands to transfer QUIL tokens are here.


Last updated