Skip to content

genesis and configuration files for various akash networks

License

Notifications You must be signed in to change notification settings

eco-stake/akash-net

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Akash Networks

This repository contains network information for the various Akash networks.

In general, there will be three networks available at any given time:

Network Status Network version (binary version) Description
mainnet ✔️ v0.36.0 (0.36.0) Akash Network mainnet network.
sandbox ✔️ v0.36.0 (0.36.0) Akash Network sandbox playground network.
testnet-02 N/A Akash Network testnet-02 test network.
stagenet N/A Akash Network stagenet test network. (Copy of sandbox)
edgenet N/A 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.

Usage

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"

Fetching Information

Version

AKASH_VERSION="$(curl -s "$AKASH_NET/version.txt")"

Chain ID

AKASH_CHAIN_ID="$(curl -s "$AKASH_NET/chain-id.txt")"

Genesis

curl -s "$AKASH_NET/genesis.json" > genesis.json

Seed Nodes

curl -s "$AKASH_NET/seed-nodes.txt" | paste -d, -s

Peer Nodes

curl -s "$AKASH_NET/peer-nodes.txt" | paste -d, -s

RPC Node

Print a random RPC endpoint

curl -s "$AKASH_NET/rpc-nodes.txt" | shuf -n 1

API Node

Print a random API endpoint

curl -s "$AKASH_NET/api-nodes.txt" | shuf -n 1

About

genesis and configuration files for various akash networks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published