sifnode is a blockchain application built using Cosmos SDK and Tendermint and generated with Starport.
-
Ensure you've installed the dependencies listed above.
-
Clone the repository:
git clone ssh://[email protected]/Sifchain/sifnode && cd sifnode
- Checkout the latest testnet release:
git checkout tags/merry-go-round-1
- Build:
make clean install
- Generate a mnemonic:
rake "keys:generate:mnemonic"
- Scaffold your node:
rake "genesis:sifnode:scaffold[merry-go-round, <moniker>, '<mnemonic>', '', [email protected]:26656, http://52.89.19.109:26657/genesis]"
- Replace
<moniker>
with the moniker (name) of your node. - Replace
<mnemonic>
with the mnemonic phrase generated in the previous step.
This step will also output the keyring password, so please record this and the moniker somewhere secure.
- Connect:
sifnoded start
and your node will start synchronizing with the network. Please note that this may take several hours or more.
- Checkout the latest testnet release:
git fetch && git checkout tags/merry-go-round-1
- Build:
make install
- Reset your local state (please take a backup of your keyring first):
sifnoded unsafe-reset-all
- Download the new genesis file:
curl http://52.89.19.109:26657/genesis | jq '.result.genesis' > ~/.sifnoded/config/genesis.json
- Update your persistent peers in the file
~/.sifnoded/config/config.toml
so that it reads:
persistent_peers = "[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656"
- Start your node:
sifnoded start
and your node will start synchronizing with the network. Please note that this may take several hours or more.
You can verify that you're connected by running:
sifnodecli q tendermint-validator-set
and you should see the following primary validator node/s for Sifchain:
validators:
- address: sifvalcons1z8jyamggawyute8m7a6tfk76whdegz4hhu47kx
pubkey: sifvalconspub1zcjduepq5geuxq3kyuwayc9ht82y997ncmh3qfe4eqg837kmf6d3tnyspemq6e83zz
proposerpriority: 5625
votingpower: 5000
- address: sifvalcons1rya4cf6ejuzsn3qv5c97j3spsr70dwftdygktq
pubkey: sifvalconspub1zcjduepqewcxpth6dtk82f826gh5te07xyuk04t9y8dg63ndkngsr79dtu0skarrel
proposerpriority: 4375
votingpower: 5000
- address: sifvalcons1tzsa80axse3urga7vcck2r638awkgfj6sddm8q
pubkey: sifvalconspub1zcjduepqdp72sdqtwjujpqlzfg0ku8smark7832ck4440nnqh5yz7yly78fsc0sjqx
proposerpriority: 3125
votingpower: 5000
- address: sifvalcons1s00sdg5z5wv89yxjc66ft6uaf0lcqphvef4f9h
pubkey: sifvalconspub1zcjduepq25y7tsy0c9f0d7u43x7csfpry7t5ur4lcemfdjcrkctjv4hv7taqxvvhx7
proposerpriority: -13125
votingpower: 5000
Congratulations. You are now connected to the network.
The following can be used as additional peers on the network:
[email protected]:26656
[email protected]:26656
[email protected]:26656
[email protected]:26656
You won't be able to participate in consensus until you become a validator.
-
Reach out to us on Discord to request some tokens.
-
Obtain your node moniker (if you don't already know it):
cat ~/.sifnoded/config/config.toml | grep moniker
- Run the following command to become a validator:
sifnodecli tx staking create-validator \
--commission-max-change-rate="0.1" \
--commission-max-rate="0.1" \
--commission-rate="0.1" \
--amount=1000000000rowan \
--pubkey=$(sifnoded tendermint show-validator) \
--moniker=<moniker> \
--chain-id=merry-go-round \
--min-self-delegation="1" \
--gas="auto" \
--from=<moniker> \
--keyring-backend=file
- Replace
<moniker>
with the moniker (name) of your node.
A block explorer is available at:
- Additional instructions on standing up Sifnode.
- Instructions on using Ethereum <> Sifchain cross-chain functionality.
You can also ask questions on Discord here.