node

package module
v2.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2026 License: Apache-2.0 Imports: 0 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Akash - Decentralized Serverless Network

tests codecov

Go Report Card License

Akash

Akash is a secure, transparent, and decentralized cloud computing marketplace that connects those who need computing resources (tenants) with those that have computing capacity to lease (providers).

For a high-level overview of the Akash protocol and network economics, check out the whitepaper; a detailed protocol definition can be found in the design documentation; and the target workload definition spec is here.

For an indepth understanding of the code Ask DeepWiki

Roadmap and contributing

Should you with to suggest feature or report an issue please open ticket in support repo

Akash is written in Golang and is Apache 2.0 licensed - contributions are welcomed whether that means providing feedback, testing existing and new feature or hacking on the source.

To become a contributor, please see the guide on contributing

Branching and Versioning

The main branch contains new features and is under active development; the mainnet/main branch contains the current, stable release.

  • stable releases will have even minor numbers ( v0.8.0 ) and be cut from the mainnet/main branch.
  • unstable releases will have odd minor numbers ( v0.9.0 ) and be cut from the main branch.

Akash Suite

Akash Suite is the reference implementation of the Akash Protocol. Akash is an actively-developed prototype currently focused on the distributed marketplace functionality.

The Suite is composed of one binary, akash, which contains a (tendermint-powered) blockchain node that implements the decentralized exchange as well as client functionality to access the exchange and network data in general.

Get Started with Akash

The easiest way to get started with Akash is by following the Quick Start Guide to get started.

Join the Community

Official blog and documentation

Supported platforms

Platform Arch Status
Darwin amd64 ✅ Supported
Darwin arm64 ✅ Supported
Linux amd64 ✅ Supported
Linux arm64 (aka aarch64) ✅ Supported

Installing

The latest binary release can be installed with Homebrew:

brew tap akash-network/tap
brew install akash

Or GoDownloader:

curl -sSfL https://raw.githubusercontent.com/akash-network/node/main/install.sh | sh

Or install a specific version with GoDownloader

curl -sSfL https://raw.githubusercontent.com/akash-network/node/main/install | sh -s -- v0.22.0

Development environment

This doc guides through setting up local development environment

Akash is developed and tested with golang 1.21.0+. Building requires a working golang installation, a properly set GOPATH, and $GOPATH/bin present in $PATH. It is also required to have C/C++ compiler installed (gcc/clang) as there are C dependencies in use (libusb/libhid) Akash build process and examples are heavily tied to Makefile.

Building from Source

Command below will compile akash executable and put it into .cache/bin

make akash # akash is set as default target thus `make` is equal to `make akash`

once binary compiled it exempts system-wide installed akash within akash repo

Running

We use thin integration testing environments to simplify the development and testing process. We currently have three environments:

  • Single node: simple (no workloads) single node running locally.
  • Single node with workloads: single node and provider running locally, running workloads within a virtual machine.
  • full k8s: same as above but with node and provider running inside Kubernetes.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
app
sim
cmd
akash command
akt-reporter command
Command akt-reporter is the Akash sink reporter.
Command akt-reporter is the Akash sink reporter.
akt-reporter/cmd
Package cmd is the akt-reporter command line (spec §8).
Package cmd is the akt-reporter command line (spec §8).
contracts
solana/tools/proof-fixtures command
Generates local IAVL + multistore ICS23 proofs.
Generates local IAVL + multistore ICS23 proofs.
operator
reporter/akash
Package akash is the reporter's only path to Akash: height-pinned state reads, the height tracker, listing and the audit cursor, and the CometBFT calls that broadcast and look up transactions (spec §5.3).
Package akash is the reporter's only path to Akash: height-pinned state reads, the height tracker, listing and the audit cursor, and the CometBFT calls that broadcast and look up transactions (spec §5.3).
reporter/config
Package config is the reporter's akash-style configuration: a TOML file at <home>/config/reporter.toml, AKT_REPORTER_* environment variables, flags and validation.
Package config is the reporter's akash-style configuration: a TOML file at <home>/config/reporter.toml, AKT_REPORTER_* environment variables, flags and validation.
reporter/events
Package events writes the reporter's JSON-lines events to stdout in the TS reporter's schema.
Package events writes the reporter's JSON-lines events to stdout in the TS reporter's schema.
reporter/internal/clock
Package clock abstracts time so that timers can be driven deterministically in tests.
Package clock abstracts time so that timers can be driven deterministically in tests.
reporter/internal/simnode
Package simnode simulates the Akash and Solana nodes the reporter reads, serving a Scenario over the nodes' own protocols for integration tests, goldens and benchmarks.
Package simnode simulates the Akash and Solana nodes the reporter reads, serving a Scenario over the nodes' own protocols for integration tests, goldens and benchmarks.
reporter/internal/simnode/cmd/simnode command
Command simnode serves a named simnode scenario for processes outside Go tests: the TS parity goldens and the steady-100k benchmark.
Command simnode serves a named simnode scenario for processes outside Go tests: the TS parity goldens and the steady-100k benchmark.
reporter/metrics
Package metrics defines the reporter's Prometheus collectors and serves them.
Package metrics defines the reporter's Prometheus collectors and serves them.
reporter/observe
Package observe ports SolanaObserver of contracts/solana/reporter/solana.ts: it turns finalized Solana state into the observation the policy plans from.
Package observe ports SolanaObserver of contracts/solana/reporter/solana.ts: it turns finalized Solana state into the observation the policy plans from.
reporter/policy
Package policy ports contracts/solana/reporter/policy.ts: it decides which sink messages the reporter sends.
Package policy ports contracts/solana/reporter/policy.ts: it decides which sink messages the reporter sends.
reporter/scan
Package scan ports Scanner of contracts/solana/reporter/scan.ts.
Package scan ports Scanner of contracts/solana/reporter/scan.ts.
reporter/signer
Package signer signs reporter transactions.
Package signer signs reporter transactions.
reporter/signer/kmspb
Package kmspb holds the Cosmos-KMS SignerService gRPC client, generated from signerservice.proto.
Package kmspb holds the Cosmos-KMS SignerService gRPC client, generated from signerservice.proto.
reporter/sinkid
Package sinkid ports the transfer ID and record decoding rules of contracts/solana/shared.
Package sinkid ports the transfer ID and record decoding rules of contracts/solana/shared.
reporter/solana
Package solana decodes the accounts and events of the AKT Solana program and attributes program logs.
Package solana decodes the accounts and events of the AKT Solana program and attributes program logs.
reporter/tx
Package tx builds, simulates and prices the reporter's unordered transactions and derives their nonce slots (spec §6.1).
Package tx builds, simulates and prices the reporter's unordered transactions and derives their nonce slots (spec §6.1).
tests
sim
tools
upgrade-info command
software/v2.1.0
nolint revive
nolint revive
software/v2.2.0
nolint revive
nolint revive
util
cli
partialord
Package partialord allows one to define partial orderings, and derive a total ordering
Package partialord allows one to define partial orderings, and derive a total ordering
partialord/internal/dag
Package dag implements a simple Directed Acyclical Graph (DAG) for deterministic topological sorts
Package dag implements a simple Directed Acyclical Graph (DAG) for deterministic topological sorts
x
bme

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL