- Latest Version of Ubuntu
- 4 CPU Processor
- 8-16 GB Ram
- 1 TB Storage
Prerequisites: Make sure to have Golang >=1.17.
- Download the IDEP client binary iond
git clone https://github.com/IDEP-network/SanfordV2.git
- Move/Copy the binary to /usr/local/bin/
sudo cp SanfordV2/iond /usr/local/bin/
- Add permissions to the binary
sudo chmod a+x /usr/local/bin/iond
go get -u github.com/CosmWasm/[email protected]
cd $HOME/go/pkg/mod/github.com/\!cosm\!wasm/[email protected]/api
chmod +x libwasmvm.so
echo "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/go/pkg/mod/github.com/\!cosm\!wasm/[email protected]/api" >> $HOME/.bash_profile
source $HOME/.bash_profile
- Check the binary commands with
iond -h
iond init <moniker> --chain-id SanfordNetworkV2
iond keys add <accountname>
-
Save the mnemonic in a safe place and dont share it with anyone
-
Add seeds and persistent_peers to config.toml
-
Next make your way to the nodes config directory, remove the genesis.json and replace it with the one provided in this repo
cd ~/.ion/config/
rm genesis.json
wget https://raw.githubusercontent.com/IDEP-network/SanfordV2/master/genesis.json
iond start
- To get your Public Address
iond keys list
- Create a Validator
Before you can create your Validator, your node has to be synced up to the latest block of the chain. You can check this by:
iond status
If catching_up
is false
you are good to execute:
iond tx staking create-validator \
--amount 10000000000idep \
--commission-max-change-rate 0.01 \
--commission-max-rate 0.2 \
--commission-rate 0.1 \
--from <YourWalletAddress> \
--min-self-delegation 1 \
--moniker <YourMoniker> \
--pubkey $(iond tendermint show-validator) \
--chain-id SanfordV2
[email protected]:26656
iond tx staking create-validator --amount 15000000000000idep --from idep1d2nqcwf9zz9fx7xlesyt0gc3utfxe2mk6nfwey --pubkey idepvalconspub1zcjduepqztw5yzm5wj0yc600aaemxlmda5488jv9hycxfnta3w7vz9jgpawqc9qnhs --commission-rate 0.01 --commission-max-rate 0.05 --commission-max-change-rate 0.005 --min-self-delegation 1 --chain-id SanfordV2
iond tx staking create-validator --help
https://v1.cosmos.network/rpc/v0.41.4
Note: IDEP Token has 8 decimal places. If you wish to run a validator with 100,000 tokens you must set the ammount to --ammount 10000000000000