This repository contains network information for the various Akash networks.
In general, there will be three networks available at any given time:
Network | Status | Version | Description |
---|---|---|---|
mainnet | ✔️ | v0.20.0 | Akash Network mainnet network. |
sandbox | ✔️ | v0.22.3 | Akash Network sandbox playground network. |
testnet-02 | ✔️ | v0.23.1-rc0 | Akash Network testnet-02 test network. |
stagenet | ❌ | Akash Network stagenet test network. (Copy of sandbox) | |
edgenet | ❌ | Akash Network bleeding edge test network. |
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. |
explorer-url.txt |
The url of a explorer UI 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/akash-network/net/main
##
# Use _one_ of the following:
##
# mainnet
AKASH_NET="$AKASH_NET_BASE/mainnet"
# sandbox
AKASH_NET="$AKASH_NET_BASE/sandbox"
# testnet-02
AKASH_NET="$AKASH_NET_BASE/testnet-02"
# stagenet
AKASH_NET="$AKASH_NET_BASE/stagenet"
# 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