JoinTestNet

Join antlia-testnet Public Testnet

antlia-test-1001 is now live!
The genesis files are in ./latest
We will airdrop testnet tokens to all participants in the last Antlia testnet. If you would like to participate and have not received tokens, can you n get some from this faucet.

How to Run a Testnet Validator

Please refer to the Antlia Hub documentation on validators for a general overview of running a validator. We are using the exact same validator model and software, but with slightly different parameters and other functionality specific to Antlia Network.

Prerequisites

$ sudo apt-get install gcc g++

Install GO

$ wget https://raw.githubusercontent.com/jim380/node_tooling/master/Cosmos/CLI/go_install.sh
$ chmod +x go_install.sh
$ ./go_install.sh -v 1.12.5
At the time of this writing, 1.12.5 is the latest version of Golang. Go 1.12+ is required for the Antlia SDK.

Install ANTLIA

$ mkdir -p $GOPATH/src/github.com/antlia-io
$ cd $GOPATH/src/github.com/antlia-io
$ git clone -b <latest-release-tag> https://github.com/antlia-network/antlia-ledger
$ cd antlia-ledger
$ make install
Find the latest release tags here. To verify if installation was successful:
$ antliad version --long
$ antliacli version --long

Setting Up a New Node

$ antliad init --chain-id=antlia-test-1001 <your_moniker>
$ antliacli keys add <your_wallet_name>
##
Make sure you back up the mnemonics !!!

Creating a Validator

If you are joining at genesis scroll down to the section on Creating a Genesis Validator!
Please follow the documentation provided on creating a validator for Antlia hub, replacing gaiad and gaiacli with antliad and antliacli respectively. Also our testnet staking token denomination is antlia and Antlia addresses begin with antlia.

Creating a Genesis Validator

This section applies ONLY if you are joining at genesis!

Generate Genesis Transaction (optional)

$ antliad add-genesis-account $(antliacli keys show <your_wallet_name> -a) 1000000antlia,1000000validatortoken
$ antliad gentx --name <your_wallet_name> --amount 1000000antlia
If all goes well, you will see the following message:
Genesis transaction written to "/home/user/.antliad/config/gentx/gentx-f8038a89034kl987ebd493b85a125624d5f4770.json"

Submit Gentx (optional)

Submit your gentx in a PR here

Genesis & Seeds

Fetch genesis.json into antliad's config directory.
$ curl https://raw.githubusercontent.com/antlia-network/testnets/master/antlia-test-1001/genesis.json > $HOME/.antliad/config/genesis.json
Add seed nodes in config.toml.
$ nano $HOME/.antliad/config/config.toml
Find the following section and add the seed nodes.
# Comma separated list of seed nodes to connect to
seeds = ""

Make antliad a System Service (optional)

$ sudo nano /lib/systemd/system/antliad.service
Paste in the following:
[Unit]
Description=Antlia Xrnd
After=network-online.target
[Service]
User=<your_user>
ExecStart=/home/<your_user>/go_workspace/bin/antliad start
StandardOutput=file:/var/log/antliad/antliad.log
StandardError=file:/var/log/antliad/antliad_error.log
Restart=always
RestartSec=3
LimitNOFILE=4096
[Install]
WantedBy=multi-user.target
This tutorial assumes $HOME/go_workspace to be your Go workspace. Your actual workspace directory may vary.

Start Node

Method 1 - With systemd
$ sudo systemctl enable antliad
$ sudo systemctl start antliad
Check node status
$ antliacli status
Check logs
$ sudo journalctl -u antliad -f
Method 2 - Without systemd
$ antliad start
Check node status
$ antliacli status

Create Validator

To create validator you must have Antlia’s coin in you account then perform the following transaction
To get the public key for create validator the the following command
antliad tendermint show-validator
Now run the following command
antliacli tx staking create-validator --amount=1000000tree --pubkey=xrn:valconspub1zcjduepqay6ynhexeev7me09gfx5dhr82yp4furnyyrvyhff42dl5j04f7lsrzvpn2 --moniker=rnssol-moniker --chain-id=regen-test-1001 --commission-rate="0.10" --commission-max-rate="0.20" --commission-max-change-rate="0.01" --min-self-delegation="1" --gas="auto" --gas-prices="0.2antlia" --fees=2antlia --from=rnssol
After this the validator will be shown on your blockchain explorer.