Skip to content

gbuchukuri/crossfi-testnet

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sync node

From snapshot (fast)

  1. Download binary
wget https://github.com/crossfichain/crossfi-node/releases/download/v0.3.0-prebuild3/crossfi-node_0.3.0-prebuild3_linux_amd64.tar.gz && tar -xf crossfi-node_0.3.0-prebuild3_linux_amd64.tar.gz
  1. Download configs
git clone https://github.com/crossfichain/testnet.git
  1. Start node
./bin/crossfid start --home ./testnet

Archive

  1. Download binary
wget https://github.com/crossfichain/crossfi-node/releases/download/v0.2.0-prebuild6/crossfi-node_0.2.0-prebuild6_linux_amd64.tar.gz && tar -xf crossfi-node_0.2.0-prebuild6_linux_amd64.tar.gz
  1. Download and edit configs
git clone https://github.com/crossfichain/testnet.git

Edit testnet/config/config.toml: set enabled = false in [statesync] section.

  1. Start node
./bin/crossfid start --home ./testnet

Run a validator

  1. Sync your node using instruction above
  2. Create your key by running ./bin/crossfid --home ./testnet keys add my_validator. If you already have a wallet, you can recover with ./bin/crossfid --home ./testnet keys add my_validator --recover then you can paste your mnemonics.
  3. Get address from commands output and top in up with some amount of MPX
  4. Run transaction to create a validator:
./bin/crossfid --home ./testnet tx staking create-validator \
  --amount=1000000000000000000mpx \
  --pubkey=$(./bin/crossfid --home ./testnet tendermint show-validator) \
  --moniker="My Fist Validator" \
  --chain-id="crossfi-evm-testnet-1" \
  --commission-rate="0.10" \
  --commission-max-rate="0.20" \
  --commission-max-change-rate="0.01" \
  --min-self-delegation="1000000" \
  --gas="auto" \
  --gas-prices="10000000000000mpx" \
  --gas-adjustment=1.5 \
  --from=my_validator
  1. Check out your validator in https://test.xfiscan.com/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published