2020-07-10 22:11:07 -07:00
|
|
|
---
|
|
|
|
title: Publishing Validator Info
|
|
|
|
---
|
2019-09-22 20:38:34 -07:00
|
|
|
|
|
|
|
You can publish your validator information to the chain to be publicly visible to other users.
|
|
|
|
|
|
|
|
## Run solana validator-info
|
|
|
|
|
2019-09-27 11:15:38 -07:00
|
|
|
Run the solana CLI to populate a validator info account:
|
2019-09-22 20:38:34 -07:00
|
|
|
|
|
|
|
```bash
|
2019-10-29 16:13:20 -07:00
|
|
|
solana validator-info publish --keypair ~/validator-keypair.json <VALIDATOR_INFO_ARGS> <VALIDATOR_NAME>
|
2019-09-22 20:38:34 -07:00
|
|
|
```
|
|
|
|
|
2020-07-10 22:11:07 -07:00
|
|
|
For details about optional fields for VALIDATOR_INFO_ARGS:
|
2019-09-22 20:38:34 -07:00
|
|
|
|
2019-09-27 13:26:02 -07:00
|
|
|
```bash
|
2019-10-29 16:13:20 -07:00
|
|
|
solana validator-info publish --help
|
2019-09-27 13:26:02 -07:00
|
|
|
```
|
2019-09-22 20:38:34 -07:00
|
|
|
|
2019-11-28 14:39:27 -08:00
|
|
|
## Example Commands
|
|
|
|
|
|
|
|
Example publish command:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
solana validator-info publish "Elvis Validator" -n elvis -w "https://elvis-validates.com"
|
|
|
|
```
|
|
|
|
|
|
|
|
Example query command:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
solana validator-info get
|
|
|
|
```
|
|
|
|
|
|
|
|
which outputs
|
|
|
|
|
|
|
|
```text
|
|
|
|
Validator info from 8WdJvDz6obhADdxpGCiJKZsDYwTLNEDFizayqziDc9ah
|
|
|
|
Validator pubkey: 6dMH3u76qZ7XG4bVboVRnBHR2FfrxEqTTTyj4xmyDMWo
|
|
|
|
Info: {"keybaseUsername":"elvis","name":"Elvis Validator","website":"https://elvis-validates.com"}
|
|
|
|
```
|
|
|
|
|
2019-09-22 20:38:34 -07:00
|
|
|
## Keybase
|
|
|
|
|
2019-12-02 09:53:07 -08:00
|
|
|
Including a Keybase username allows client applications \(like the Solana
|
|
|
|
Network Explorer\) to automatically pull in your validator public profile,
|
|
|
|
including cryptographic proofs, brand identity, etc. To connect your validator
|
|
|
|
pubkey with Keybase:
|
2019-09-22 20:38:34 -07:00
|
|
|
|
|
|
|
1. Join [https://keybase.io/](https://keybase.io/) and complete the profile for your validator
|
|
|
|
2. Add your validator **identity pubkey** to Keybase:
|
2020-07-10 22:11:07 -07:00
|
|
|
|
|
|
|
- Create an empty file on your local computer called `validator-<PUBKEY>`
|
|
|
|
- In Keybase, navigate to the Files section, and upload your pubkey file to
|
2019-09-22 20:38:34 -07:00
|
|
|
|
|
|
|
a `solana` subdirectory in your public folder: `/keybase/public/<KEYBASE_USERNAME>/solana`
|
|
|
|
|
2020-07-10 22:11:07 -07:00
|
|
|
- To check your pubkey, ensure you can successfully browse to
|
2019-09-22 20:38:34 -07:00
|
|
|
|
|
|
|
`https://keybase.pub/<KEYBASE_USERNAME>/solana/validator-<PUBKEY>`
|
2020-07-10 22:11:07 -07:00
|
|
|
|
2019-09-22 20:38:34 -07:00
|
|
|
3. Add or update your `solana validator-info` with your Keybase username. The
|
|
|
|
|
|
|
|
CLI will verify the `validator-<PUBKEY>` file
|