How To Join IRISnet Testnet : Fuxi-6000

Happy validating

Sophie Huang
IRISnet Blog
4 min readDec 14, 2018

--

At Dec 7, IRIShub dev team released v0.8.0. This new version upgrades denpendency to Tendermint v0.27.0. There are the following

BREAKING CHANGES:

  • Genesis.json supports any unit format of IRIS CoinType
  • The configuration information of the bech32 prefix is dynamically specified by the environment variable
  • Improvement of File/directory path specification and the exception handler

FEATURES:

  • Upgrade the cosmos-sdk dependency
  • Upgrade tendermint denpendency to v0.27.0
  • View the current available withdraw balance by simulation mode
  • Command line and LCD interface for service invocation request and query
  • Implement guardian module for some governance proposal
  • Export blockchain snapshot at any height
  • Added command add-genesis-account to configure account for genesis.json
  • New proposal TerminatorProposal to terminate network consensus

Changelog:https://github.com/irisnet/irishub/releases/tag/v0.8.0

Steps To Join Fuxi-6000

The full doc is here.

  • If you have joined IRIS testnet before and still want to use the default home folder, kill iris and remove data of Fuxi-5000
iris unsafe_reset_all
  • Install IRIShub v0.8.0 with the following guide
  • Create your own account if you don’s have one

This account acts as the corresponding validator operator for yourself.

iriscli keys add {account_name}

You can get the account information, including account address, public key address and mnemonic. The address and public key are all bech32 encoded.

NAME: TYPE: ADDRESS: PUBKEY:
account_name local faa13t6jugwm5uu3h835s5d4zggkklz6rpns59keju fap1addwnpepqdne60eyssj2plrsusd8049cs5hhhl5alcxv2xu0xmzlhphy9lyd5kpsyzu
**Important** write this seed phrase in a safe place.
It is the only way to recover your account if you ever forget your password.
  • Initialize your node

Initialize the configuration files such as genesis.json and config.toml

iris init --home={path_to_your_home} --chain-id=fuxi-6000 --moniker={your-name}

This command will create the corresponding files in the home directory.

  • Get Genesis and Config Files

Replace genesis and config file in $IRIShome/config with the ones from testnet GitHub repo:

wget https://raw.githubusercontent.com/irisnet/testnets/master/fuxi/fuxi-6000/config/config.toml
wget https://raw.githubusercontent.com/irisnet/testnets/master/fuxi/fuxi-6000/config/genesis.json
  • Start your node

Now start your node and catch up with your peers.

iris start
  • Upgrade to become a Validator node

First, you need to make sure that your account balance is not zero. You can always get some IRIS by using the Faucet. The faucet will send you 10IRIS every request, Please don't abuse it.

Once you have created your own address, please then you could use this account to stake as a validatord. The following command is used to check the balance of your account:

iriscli bank account <ACCOUNT> --node=http://localhost:26657

Then you need to make sure that your validator node is synced

iriscli status — node=tcp://localhost:26657 

You should also be able to see catching_up is false.

You need to get the public key of your node before upgrade your node to a validator node. The public key of your node starts with fvp, it can be used to create a new validator by staking tokens. To understand more about the address encoding in IRISHub, please read this doc

You can find your validator’s pubkey by running:

iris tendermint show-validator — home=<IRIS-HOME>

Next, use the output as pubkey field for iriscli stake create-validator command:

iriscli stake create-validator --amount=10iris --pubkey=<pubkey> --moniker=<moniker> --fee=0.05iris --gas=2000000 --chain-id=fuxi-6000
  • Confirm Your Validator is Running

Your validator is active if the following command returns anything:

iriscli status — node=tcp://localhost:26657 

You should also be able to see your power is above 0 if your bonded toke is in top 100. Also, you should see validator on the Explorer.

To learn more about how to monitor your validator status and edit its info, read this link.

irisplorer

Free Cloud Server Trial

IRISnet is now collaborating with two brilliant BaaS providers:

to offer two-week free trial of cloud server for testnet validators. They help people familiarize themselves with validating technology before making decisions about setting up their own architecture . In previous testnet, we’ve received 24 registrations of BaaS trial. And if you want to use it for Fuxi-5000, sign up here and the team will contact you soon.

Testnet Incentivized Tasks

The IRIS network will keep generating value when its validators could keep the whole network secure. With incentivized testnet, IRIS foundation wish to discover qualified validators and give them opportunities to earn IRIS tokens

  • Fuxi-6000 Task List:

You could submit the proof of your completed task in this link:https://github.com/irisnet/testnets/issues/211 .

Fuxi-5000 incentivized testnet tasks results are available here

--

--