Skip to content
JavaScript Shell
Branch: master
Clone or download
Latest commit 56e03d1 Aug 20, 2019

Tour de SOL

Validator Public Key Registration

In order to obtain your allotment of lamports at the start of a Tour de SOL stage, you need to publish your validator's identity public key under your account.

If this registration is not completed by the cut-off time you will not be able to participate.

  1. If you haven't already, generate your validator's identity keypair by running:
    $ solana-keygen new -o ~/validator-keypair.json
    Wrote /Users/<your user name>/validator-keypair.json
  2. The identity public key can now obtained by running:
    $ solana-keygen pubkey ~/validator-keypair.json
  3. Install Keybase on your machine.
  4. Create a Solana directory in your public file folder: mkdir /keybase/public/<KEYBASE_USERNAME>/solana
  5. Publish your validator's identity public key by creating an empty file in your Keybase public file folder in the following format: /keybase/public/<KEYBASE_USERNAME>/solana/validator-<BASE58_PUBKEY>. For example:
    $ mkdir -p /keybase/public/<KEYBASE_USERNAME>/solana
    $ touch /keybase/public/<KEYBASE_USERNAME>/solana/validator-<BASE58_PUBKEY>
  6. To check your public key was published, ensure you can successfully browse to<KEYBASE_USERNAME>/solana/validator-<BASE58_PUBKEY>

Connecting Your Validator

Before attempting to connect your validator to the Tour de SOL cluster, be familiar with connecting a validator to the Public Testnet as described here.

Ensure the Solana release v0.18.0-pre1 is installed by running:

$ curl -sSf | sh -s - 0.18.0-pre1

Configure solana-wallet for your validator identity and Tour de SOL:

$ solana-wallet set --url --keypair ~/validator-keypair.json

Your validator identity keypair will receive an allotment of lamports in the genesis block that can be used to start your validator node. Note that airdrops have been disabled so the solana-wallet airdrop command will fail.

To view your current lamport balance:

$ solana-wallet balance

You can view the other nodes in the cluster using:

$ solana-gossip --entrypoint spy

The wallet ping commmand can be used to check that the cluster is able to process transactions:

$ solana-wallet ping

Create your vote account:

$ solana-keygen new -o ~/validator-vote-keypair.json
$ solana-wallet create-vote-account ~/validator-vote-keypair.json ~/validator-keypair.json 1

Connect to the Tour de SOL cluster by running:

$ export SOLANA_METRICS_CONFIG="host=,db=tds,u=tds_writer,p=dry_run"
$ solana-validator --identity ~/validator-keypair.json --voting-keypair ~/validator-vote-keypair.json \
    --ledger ~/validator-ledger --rpc-port 8899 --entrypoint

By default your validator will have no stake.
Once your validator is caught up to the tip of the cluster, you can add stake by running:

$ solana-keygen new -o ~/validator-stake-keypair.json
$ solana-wallet delegate-stake ~/validator-stake-keypair.json ~/validator-vote-keypair.json 8589934592

More information about staking can be found at

Publishing Information About Your Validator

See for background, to operate solana-validator-info on the TdS cluster you need to include the -u argument:

Example publish command:

$ solana-validator-info publish -u ~/validator-keypair.json ...

Example query command:

$ solana-validator-info get -u
Validator info from 8WdJvDz6obhADdxpGCiJKZsDYwTLNEDFizayqziDc9ah
  Validator pubkey: 6dMH3u76qZ7XG4bVboVRnBHR2FfrxEqTTTyj4xmyDMWo
  Info: {"keybaseUsername":"mvines","name":"mvines","website":""}

Monitoring Your Validator

  • Run solana-wallet get-slot to track the progress of your validator as it catches up with the cluster after you first connect.
  • Use the solana-wallet balance command to monitor the earnings as your validator is selected as leader and collects transaction fees
  • Run periodically

Useful links

Common Problems


You can’t perform that action at this time.