To run an Avail light client, simply run the following command:
curl -sL1 avail.sh | sh
wget --https-only --secure-protocol=TLSv1_2 --quiet -O - avail.sh | sh
If you're seeking more control over the configuration or are interested in running a full node, check out the deployment guides below.
|Action||Tokens Needed||Staking||Technical Skill Required||Client Binary|
Before diving into the examples, ensure you have a local Avail node running or configure your settings to align with an existing network.
Detailed instructions on how to execute these examples are available in the Avail GitHub repository:
Step 1: Establishing Connection
Before you can interact with the Avail network, you need to establish a connection to a node.
Step 2: Submitting Data
Once connected, the next step is to submit data to the network. This could be any blob of data that you want to make available.
Step 3: Dispatching Data Root (Optional)
If you need to dispatch the data root, you can do so at this stage. This is optional and depends on your use case.
Step 4: Querying Data and Proofs
After submitting your data, you might want to query it to ensure it's been properly stored and is retrievable.
Step 5: Monitoring and Metrics
Finally, you can monitor the network and your data by listening for new blocks and other metrics.
The following table lists various code examples for interacting with the Avail network. These examples are organized by functionality and the supported programming languages.