Code Monkey home page Code Monkey logo

akash-testnet-02-net's Introduction

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 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.

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/ovrclk/net/master

##
#  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

akash-testnet-02-net's People

Contributors

anilcse avatar gosuri avatar andy108369 avatar sacreman avatar boz avatar jackzampolin avatar akhilkumarpilli avatar chainzero avatar anonstake avatar armyids avatar kaustubhkapatral avatar c29r3 avatar lightiv avatar galbraithd avatar gunray88 avatar happinapp3 avatar dmikey avatar edouardlvdl avatar kwunyeung avatar jetlag666 avatar arno01 avatar westaking avatar shaimo avatar k0kk0k avatar liangping avatar motwes avatar ilhamm02 avatar brewsterdrinkwater avatar art55555 avatar foxnorth1210 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.