Giter VIP home page Giter VIP logo

sanfordv2's Introduction

Banner

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.

  • 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/[email protected]
cd $HOME/go/pkg/mod/github.com/\!cosm\!wasm/[email protected]/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/[email protected]/api" >> $HOME/.bash_profile
source $HOME/.bash_profile
  • Check the binary commands with
iond -h

Full-Node Initialization

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

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 <YourWalletAddress> \
    --min-self-delegation 1 \
    --moniker <YourMoniker> \
    --pubkey $(iond tendermint show-validator) \
    --chain-id SanfordV2

Seeds

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

sanfordv2's People

Contributors

aidasap avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.