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

1
$ sudo apt-get install gcc g++
Copied!

Install GO

1
$ wget https://raw.githubusercontent.com/jim380/node_tooling/master/Cosmos/CLI/go_install.sh
2
$ chmod +x go_install.sh
3
$ ./go_install.sh -v 1.12.5
Copied!
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

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

Setting Up a New Node

1
$ antliad init --chain-id=antlia-test-1001 <your_moniker>
2
$ antliacli keys add <your_wallet_name>
3
4
##
Copied!
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)

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

Submit Gentx (optional)

Submit your gentx in a PR here

Genesis & Seeds

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

Make antliad a System Service (optional)

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

Start Node

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

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
1
antliad tendermint show-validator
Copied!
Now run the following command
1
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
Copied!
After this the validator will be shown on your blockchain explorer.
Last modified 1yr ago