✔ī¸Check your node info

It is better to use the Q1 - Node Quickstart Menu, where all these commands are just one click away.

For these commands to work, you need to Set up the gRPC calls Change the "NODE_DIR" variable according to your needs.

Get your peerID

NODE_DIR="$HOME/ceremonyclient/node"
NODE_BINARY=$(find "$NODE_DIR" -type f -executable -name "node-*" ! -name "*.dgst*" ! -name "*.sig*" | sort -V | tail -n 1 | xargs basename)
cd "$HOME/ceremonyclient/node" && ./$NODE_BINARY -peer-id

See node info PeerID - Version - Max frame - Balance This can give an error on nodes that are not fully sync, but you will still see your peerID

NODE_DIR="$HOME/ceremonyclient/node"
NODE_BINARY=$(find "$NODE_DIR" -type f -executable -name "node-*" ! -name "*.dgst*" ! -name "*.sig*" | sort -V | tail -n 1 | xargs basename)
cd "$HOME/ceremonyclient/node" && ./$NODE_BINARY -node-info

Check balance

NODE_DIR="$HOME/ceremonyclient/node"
NODE_BINARY=$(find "$NODE_DIR" -type f -executable -name "node-*" ! -name "*.dgst*" ! -name "*.sig*" | sort -V | tail -n 1 | xargs basename)
cd "$HOME/ceremonyclient/node" && ./$NODE_BINARY -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