Part 5 - Going Live

Test everything

At this point your Pocket node should be up and running!

But you’ll want to confirm this. The following are some of the queries you can perform to test your Pocket node.

Pocket process

The first thing to check is that the Pocket process in its service is running by running the following command:

top -b -n 1 | grep pocket

You should see output similar to the following:

  44871 root      20   0 1018268  33948  21448 S   0.0   0.4   0:00.17 pocket

Block height

You’ll want to check that the node is fully synced with the Pocket blockchain. The easiest way is to run the following command:

pocket query height

The result should look similar to the following:

    "height": 48161

Network status

Another way to see if your node is fully synced is to check its status with the following command:


The result should look similar to the following. Note the highlighted property catching_up which indicates if the node is catching up with the blockchain or fully synced. In the example below, the node is fully synced.

  "jsonrpc": "2.0",
  "id": -1,
  "result": {
    "node_info": {
      "protocol_version": {
        "p2p": "7",
        "block": "10",
        "app": "0"
      "id": "80b80c106115259349df8ef06267cff7bbabd194",
      "listen_addr": "tcp://",
      "network": "mainnet",
      "version": "0.33.7",
      "channels": "4020212223303800",
      "moniker": "localhost",
      "other": {
        "tx_index": "on",
        "rpc_address": "tcp://"
    "sync_info": {
      "latest_block_hash": "F39BBF5C64D9E02E28DDBB8640F84A22CFAE1727CFBC72537982EF5914E4BB25",
      "latest_app_hash": "6198835747411135C1F812CB45FA5621D5ADB63342EC0678C20879D7D39F03B5",
      "latest_block_height": "50021",
      "latest_block_time": "2022-02-04T12:16:10.77575197Z",
      "earliest_block_hash": "7D551967CB8BBC9F8C0EAE78797D0576951DDA25CE63DF1801C020478C0B02F8",
      "earliest_app_hash": "",
      "earliest_block_height": "1",
      "earliest_block_time": "2020-07-28T15:00:00Z",
    "validator_info": {
      "address": "80B80C106115259349DF8EF06267CFF7BBABD194",
      "pub_key": {
        "type": "tendermint/PubKeyEd25519",
        "value": "ee+o9bKqCbAO13FgWTLmJdi9hhfYg8AHsif5430uz8A="
      "voting_power": "0"

Node peer-to-peer visibility

You’ll also want to make sure your node is accessible to other Pocket nodes.

To test this, you’ll make an HTTP request using the public DNS name of the node, as shown below:


As always, don’t forget to change to the DNS name of your node.

This should return the version of Pocket Core that you're running:


Staking your node

To earn POKT rewards, you’ll need to stake at least 15,000 POKT.

NOTE: Under the current Morse protocol, the risk of stake slashing for service nodes is exceedingly remote.

If you’re using the Pocket CLI to fund an account, keep in mind that the CLI uses µPOKT (the smallest unit of POKT) for its calculations. The formula for converting POKT to µPOKT is: µPOKT = POKT * 10^6. So, multiplying 15000 POKT by 10^6 (one million) will result in 15000000000 µPOKT.

Also keep in mind that there is a cost for every transaction you execute. At the moment, that cost is a flat fee of 0.01 POKT, or 10000 µPOKT (one POKT covers 100 transactions).

  1. List your accounts:

    pocket accounts list
  2. Confirm the validator account is set:

    pocket accounts get-validator
  3. Confirm the node account has enough POKT. This should be at least 15,001 POKT. You’ll want 15,000 to stake and one POKT to cover the staking transaction fee :

    pocket query balance [YOUR_VALIDATOR_ADDRESS]
  4. Stake your node, making sure to enter the correct details for your setup:

    pocket nodes stake custodial [YOUR_VALIDATOR_ADDRESS] 15000000000 [CHAIN_IDS] https://[HOSTNAME]:443 mainnet 10000 false

The [CHAIN_IDS] placeholder should be a list of relay chain IDs that are defined in your ~/.pocket/config/chains.json file. In this guide we set up only0001, but if you were relaying to multiple chains, each id would be separated by a comma. For example, 0001,0022,0040.

As of Pocket Core versionRC- there are two staking methods: custodial and non-custodial. The custodial method is used in the example above.

After you send the stake command, you’ll be prompted for your passphrase, after which you should see something similar to this:

    "logs": null,
    "txhash": "155D46196C69F75F85791C4190D384B8BAFFBBEFCC5D1311130C54A1C54435A7"

The time it takes to stake will vary depending on when the last block was created, but generally, it takes less than 15 minutes.

Confirm your node is staked

After you’ve staked your node, you can confirm it’s staked by running the following command:

pocket query node [YOUR_VALIDATOR_ADDRESS]

If you see something like the following, it means your node is not yet staked:

the http status code was not okay: 400, and the status was: 400 Bad Request, with a response of {"code":400,"message":"validator not found for 07f5084ab5f5246d747fd1154d5d4387ee5a7111"}

If this happens, please wait a few minutes and try again.

Tutorial complete

Congratulations! You’ve successfully set up a Pocket node.

There’s more to running a Pocket node than this, such as maintenance, upgrades, and other administrative tasks, but now you're on the right path. Thank you for doing your part to help decentralize Web3!

Last updated