8 releases (stable)

1.0.6 Aug 25, 2022
1.0.5 Jul 21, 2021
1.0.4 Jun 17, 2021
1.0.3 Jun 9, 2021
1.0.1 Jun 3, 2021

#2876 in Magic Beans

Download history 6/week @ 2024-03-13 7/week @ 2024-03-20 9/week @ 2024-03-27 32/week @ 2024-04-03 30/week @ 2024-04-10 13/week @ 2024-04-17 15/week @ 2024-04-24 25/week @ 2024-05-01 34/week @ 2024-05-08 25/week @ 2024-05-15 35/week @ 2024-05-22 55/week @ 2024-05-29 41/week @ 2024-06-05 39/week @ 2024-06-12 90/week @ 2024-06-19 106/week @ 2024-06-26

281 downloads per month

Apache-2.0

59KB
1.5K SLoC

Solana Foundation Delegation Program Command-line Utility

This utility manages Solana Foundation Delegation Program registrations.

Installation

Install Rust from https://rustup.rs/, then run

$ sudo apt install libudev-dev
$ cargo install solana-foundation-delegation-program-cli
$ solana-foundation-delegation-program --version

Usage

New participant registration

To register you will need:

  1. Two validator identity keypairs; one for the Solana Testnet and another for the Solana Mainnet
  2. Approximately ◎0.002 to submit the registration

To begin, create your validator identity keypairs by running:

$ solana-keygen new -o testnet-validator-keypair.json
$ solana-keygen new -o mainnet-validator-keypair.json

Keep these keypairs safe; you cannot change them once you submit your registration.

Confirm your balance is not empty,

$ solana -um balance

then run the following command to submit your registration:

$ solana-foundation-delegation-program apply --mainnet mainnet-validator-keypair.json --testnet testnet-validator-keypair.json

Display your registration status

To view the status of your registration, run

$ solana-foundation-delegation-program status testnet-validator-keypair.json

or

$ solana-foundation-delegation-program status mainnet-validator-keypair.json

Withdrawing your registration

If you wish to withdraw your registration, run

$ solana-foundation-delegation-program withdraw testnet-validator-keypair.json

or

$ solana-foundation-delegation-program withdraw mainnet-validator-keypair.json

Once withdrawn, your registration is deleted and cannot be recovered.

Dependencies

~43–59MB
~1M SLoC