Interact with the chain The following software development kits (SDKs) are available: - avail-js - avail-rust - avail-go Verifying Avail No…
Interact with the chain The following software development kits (SDKs) are available: - avail-js - avail-rust - avail-go Verifying Avail No…
The following software development kits (SDKs) are available:
Our release binaries are GPG signed for security. To verify a download:
curl -s https://github.com/availproject/avail/releases/download/vX.Y.Z/gpg-public-key.asc | gpg --importgpg --verify DOWNLOADED_BINARY.tar.gz.sig DOWNLOADED_BINARY.tar.gzgpg --verify YOUR_DOWNLOADED_FILE.tar.gz.sha256.sig YOUR_DOWNLOADED_FILE.tar.gz.sha256sha256sum -c YOUR_DOWNLOADED_FILE.tar.gz.sha256A successful verification will display:
"Good signature from 'Your Project Release Key key's email address'"
You have now verified that the binary is signed by Avail and that its checksum is correct.
To manually run the Avail Node, you'll need to have the following dependencies installed:
After ensuring you have the dependencies installed, you can run the Avail Node using the following command:
mkdir -p output
cargo run --locked --release -- --chain mainnet -d ./outputThis command compiles and runs the Avail Node connected to the Mainnet Network.
…A development chain is typically used for testing and development purposes.
cargo run --locked --release -- --devcargo run --locked --release -- --chain turingcargo run --locked --release -- --chain mainnetTo run the Avail Node using Docker (Podman works as well), follow these steps:
# Build the Docker image for the Avail Node:
docker build -t availnode -f ./dockerfiles/avail-node.Dockerfile .
# Create an output directory. Here the node's data will be stored.
mkdir output
# Run the Avail Node container:
docker run --rm -p 30333:30333 -p 9944:9944 -v ./output:/output availnode
# For SELinux
docker run --rm -p 30333:30333 -p 9944:9944 -v ./output:/output:z availnodeThe following instructions describe how to run a development chain using Docker (Podman works as well). A development chain is typically used for testing and development purposes.
# Build the Docker image for the Avail Node:
docker build -t availnode -f ./dockerfiles/avail-node.Dockerfile .
# Create an output directory. Here the node's data will be stored.
mkdir output
# Run the Avail Node container:
docker run --rm -p 30333:30333 -p 9944:9944 -v ./output:/output availnode --dev --rpc-methods=unsafe --unsafe-rpc-external --rpc-cors=all
# For SELinux
docker run --rm -p 30333:30333 -p 9944:9944 -v ./output:/output:z availnode --dev --rpc-methods=unsafe --unsafe-rpc-external --rpc-cors=allTo enable Kate RPC you need to pass --enable-kate-rpc flag when executing the binary.
--dev implies --enable-kate-rpc.
./avail-node --enable-kate-rpc--enable-kate-rpc
Enable Kate RPC
--kate-max-cells-size
The maximum number of cells that can be requested in one go.
Max size cannot exceed 10_000
[default: 64]./avail-node --dev
deno run -A ./examples/deno/benchmarks/query_proof.ts && deno run -A ./examples/deno/benchmarks/query_rows.ts && deno run -A ./examples/deno/benchmarks/query_block_length.ts && deno run -A ./examples/deno/benchmarks/query_data_proof.ts# Option 1: for time measurement
cargo bench --bench header_kate_commitment_cri
# Option 2: for time measurement
cargo bench --bench header_kate_commitment_divan
# Option 1: for instructions, cache and main memory hits
cargo bench --bench header_kate_commitment_iai_callgrind
# Option 2: for instructions, cache and main memory hits
cargo bench --bench header_kate_commitment_iaiFor additional documentation check our wiki page. There you can learn how to:
Avail governance and reference material is maintained in the Avail governance repository.
This project contains source files under multiple open source licenses.
See the LICENSE-APACHE2 and LICENSE-GPL3 files in the repository root for full text. For license details on specific files, check the license header at the top of each source file.
No open issues yet, or sync has not completed.