Docs
guides
Join our Testnet

Join our Testnet

The following steps will help you configure your local node to connect to the Sonr testnet.

1. Initialize a blockchain node

sonrd init localnet

2. Generate account keys

sonrd keys add test-validator

3. Add the account to the genesis file

sonrd add-genesis-account $(sonrd keys show test-validator -a) \
  1000000000000000000000000000stake,1000000000000000000000000000snr

4. Generate a genesis transaction

sonrd gentx test-validator 1000000000000000000000000000stake --chain-id localnet

5. Collect genesis transactions

sonrd collect-gentxs

6. Validate the genesis file

sonrd validate-genesis

7. Start the blockchain node

sonrd start

What's next?

Great, you're now set up with an API client and have made your first request to the API. Here are a few links that might be handy as you venture further into the Protocol API: