This repository contains network information for the various Akash networks.
In general, there will be three networks available at any given time:
Network | Status | Description |
---|---|---|
mainnet | ✔️ | Akash Network mainnet network. |
testnet | ❌ | Testnet of the current mainnet version. |
edgenet | 🚧 | Testnet of the next mainnet version. |
Each network has a corresponding directory (linked to above) containing network information. Each directory includes, at a minimum:
File | Description |
---|---|
version.txt |
The Akash version used to participate in the network. |
chain-id.txt |
The "chain-id" of the network. |
genesis.json |
The genesis file for the network |
seed-nodes.txt |
A list of seed node addresses for the network. |
The following files may also be present:
File | Description |
---|---|
peer-nodes.txt |
A list of peer node addresses for the network. |
rpc-nodes.txt |
A list of RPC node addresses for the network. |
api-nodes.txt |
A list of API (LCD) node addresses for the network. |
faucet-url.txt |
The url of a faucet server for the network. |
The information in this repo may be used to automate tasks when deploying or configuring Akash software.
The format is standardized across the networks so that you can use the same method to fetch the information for all of them - just change the base URL
AKASH_NET_BASE=https://raw.githubusercontent.com/ovrclk/net/master
##
# Use _one_ of the following:
##
# mainnet
AKASH_NET="$AKASH_NET_BASE/mainnet"
# testnet
AKASH_NET="$AKASH_NET_BASE/testnet"
# edgenet
AKASH_NET="$AKASH_NET_BASE/edgenet"
AKASH_VERSION="$(curl -s "$AKASH_NET/version.txt")"
AKASH_CHAIN_ID="$(curl -s "$AKASH_NET/chain-id.txt")"
curl -s "$AKASH_NET/genesis.json" > genesis.json
curl -s "$AKASH_NET/seed-nodes.txt" | paste -d, -s
curl -s "$AKASH_NET/peer-nodes.txt" | paste -d, -s
Print a random RPC endpoint
curl -s "$AKASH_NET/rpc-nodes.txt" | shuf -n 1
Print a random API endpoint
curl -s "$AKASH_NET/api-nodes.txt" | shuf -n 1