This repo contains information on how to connect to the fetch.ai Agentland test network.
- Chain ID: agent-land
- Coin denomination: atestfet
- Decimals: 18 (i.e. 1 testfet = 10^18 atestfet)
- RPC Endpoint: https://rpc-agent-land.fetch.ai:443
- Token Faucet: https://faucet-agent-land.fetch.ai/claim
- REST Endpoit: https://rest-agent-land.fetch.ai:443
The block explorer can be accessed by clicking here
To install the wasmd and wasmcli executables, execute the following commands:
cd ~
git clone https://github.com/fetchai/fetchd
cd fetchd && git checkout tags/v0.2.4
make install
Having installed wasmd, you can configure wasmcli to connect to the agent-land network by doing the following:
wasmcli config chain-id agent-land
wasmcli config trust-node false
wasmcli config node https://rpc-agent-land.fetch.ai:443
You can generate an account by executing the following line of code:
wasmcli keys add <Key name>
Press the Get Funds
button in the block explorer. Target wallet address has to be specified.
-
Initialize wasmd by running:
wasmd init <Moniker-name> --chain-id agent-land
-
Execute the following command to get the genesis file:
curl https://rpc-agent-land.fetch.ai/genesis? | jq .result.genesis > ~/.wasmd/config/genesis.json
-
Change
allow_duplicate_ip = false
toallow_duplicate_ip = true
in~/.wasmd/config/config.toml
- on macOS X:
sed -i '' 's/allow_duplicate_ip = false/allow_duplicate_ip = true/' ~/.wasmd/config/config.toml
- on Linux:
sed -i 's/allow_duplicate_ip = false/allow_duplicate_ip = true/' ~/.wasmd/config/config.toml
- on macOS X:
-
Start wasmd by connecting to the seed node:
wasmd start --p2p.seeds=fac8c9cc4f94b30276437534d12a28dc6c0af420@connect-agent-land.fetch.ai:26656