https://github.com/idep-network/sanfordv2
Incentivized-testnet Sanford V2.0
https://github.com/idep-network/sanfordv2
sanford testnet
Last synced: 3 months ago
JSON representation
Incentivized-testnet Sanford V2.0
- Host: GitHub
- URL: https://github.com/idep-network/sanfordv2
- Owner: IDEP-network
- License: apache-2.0
- Created: 2022-02-07T23:19:32.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-01T17:39:14.000Z (over 4 years ago)
- Last Synced: 2025-02-09T02:34:19.362Z (over 1 year ago)
- Topics: sanford, testnet
- Homepage:
- Size: 25.8 MB
- Stars: 1
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

Incentivized Network Sanford V2.0
## Requirements #
* Latest Version of Ubuntu
* 4 CPU Processor
* 8-16 GB Ram
* 1 TB Storage
### Incentivized-testnet Sanford is utilizing Cosmos version 0.44.5
## Setup
**Prerequisites:** Make sure to have [Golang >=1.17](https://golang.org/).
- 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
```
## Install Wasmvm dependency
```
go get -u github.com/CosmWasm/wasmvm@v1.0.0-beta4
cd $HOME/go/pkg/mod/github.com/\!cosm\!wasm/wasmvm@v1.0.0-beta4/api
chmod +x libwasmvm.so
```
### Add LD_LIBRARY_PATH
```
echo "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/go/pkg/mod/github.com/\!cosm\!wasm/wasmvm@v1.0.0-beta4/api" >> $HOME/.bash_profile
source $HOME/.bash_profile
```
- Check the binary commands with
```
iond -h
```
## Full-Node Initialization
```
iond init --chain-id SanfordNetworkV2
iond keys add
```
- 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
```
## Start Node
```
iond start
```
### Validator-Setup
- 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 \
--min-self-delegation 1 \
--moniker \
--pubkey $(iond tendermint show-validator) \
--chain-id SanfordV2
```
### Seeds
```
32312653a1397f0912035d5a382e0e8664989a8f@137.184.192.7:26656
```
### FAQ
#### Example of a command to create a Validator
```
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
```
#### To know more about the commands and other parameters
```
iond tx staking create-validator --help
```
#### Tendermint API Documentation
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