Skip to content

olimdzhon/sputnik-school-testnet

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Validators School Sputnik Testnet

Sputnik app-chain binaries installation (sputnikd)

Sputnik app testnet binary repo https://github.com/Distributed-Validators-Synctems/sputnik-app-chain-practice

commit: 36b13319c31a74a1fe99ddd9e0cb84341cd7b6e6
cosmos_sdk_version: v0.47.13-ics-lsm
go: go version go1.21.9 linux/amd64
name: sputnik
server_name: sputnik
version: main-36b13319c31a74a1fe99ddd9e0cb84341cd7b6e6

GenTx generation

Init

sputnikd init "<moniker-name>" --chain-id <current course chain id>

Generate keys

# To create new keypair - make sure you save the mnemonics!
sputnikd keys add <key-name> 

or

# Restore existing odin wallet with mnemonic seed phrase. 
# You will be prompted to enter mnemonic seed. 
sputnikd keys add <key-name> --recover

or

# Add keys using ledger
sputnikd keys show <key-name> --ledger

Check your key:

# Query the keystore for your public address 
sputnikd keys show <key-name> -a

Create account to genesis

sputnikd genesis add-genesis-account <key-name> 10000000usputnik

Create GenTX

# Create the gentx.
# Note, your gentx will be rejected if you use any amount greater than 10000000usputnik.
(Maybe app will ask to increase stake amount to 100000000usputnik)
# Make sure that all participants built their gentx files without typos.

sputnikd genesis gentx <key-name> 10000000usputnik \
  --pubkey=$(sputnikd tendermint show-validator) \
  --chain-id=<current course chain id> \
  --moniker="my-moniker" \
  --commission-rate="0.10" \
  --commission-max-rate="0.20" \
  --commission-max-change-rate="0.01"

Add all accounts to genesis

# Add account addresses of all participants before generating genesis.
# (whose Gentx files you're using to generate genesis)
sputnikd genesis add-genesis-account <account-address> 10000000usputnik

Generate genesis

sputnikd genesis collect-gentxs

Start network

sputnikd start

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published