Ash Litepaper
Version | Date | Authors | Description |
---|---|---|---|
1.0 | 25/02/2023 | Gauthier Leonard - gauthier@e36knots.com Antoine Laborde - antoine@e36knots.com Léo Schoukroun - leo@e36knots.com | Public release |
1.1 | 08/03/2023 | Gauthier Leonard - gauthier@e36knots.com Léo Schoukroun - leo@e36knots.com | Ash on top of LS protocols |
Abstract
Ash is a decentralized Validator as a Service (VaaS) protocol that makes Avalanche Subnets 1 more accessible and decentralized.
The Ash protocol operates Avalanche nodes 3, validates Avalanche Subnets, and gives retail users easy access to the Subnets ecosystem.
Ash is built on top of existing liquid staking protocols to provide optimal capital efficiency.
Context
Avalanche allows any user to launch and operate its own blockchain network, with a customizable set of rules, through its scaling solution called “Subnets” 1.
Each Subnet is independent and can scale infinitely as it is not constrained by network resources and competition with other apps.
Use cases for Subnets range from Web3 gaming (Crabada, DeFi Kingdoms) to institutions (Deloitte, Intain).
We believe that Subnets currently have some obstacles preventing wide adoption. Ash aims at reducing those.
Problematic
The entry costs (financial and technical) to the Subnet ecosystem are very high for all the participants: Subnet owners 2, retail users that want to get involved, and node operators.
Financial entry cost
Running a validator node 4 on the Avalanche Mainnet requires staking 2,000 AVAX.
This issue is partially solved by liquid staking protocols such as BENQI Ignite and GoGoPool which offer to match a portion of the stake amount.
For Subnet owners
For stability reasons our recommendation is to have at least 5 full validators on your Subnet. - Avalanche documentation
At $30 per AVAX, a Subnet owner needs to stake 10,000 AVAX, for a total cost $300,000, to be able run blockchains on a 5-nodes Subnet.
Note: This calculation does not include the hosting price for the validator nodes’ 4 servers on cloud or on-premise infrastructure.
For node operators
In addition to the 2,000 AVAX required by the Mainnet, Subnet owners can require staking extra tokens to participate in their Subnets' validation. That financially limits potential node operators to companies and a few privileged individuals.
Technical entry cost
For Subnet owners and node operators
Deploying and maintaining a Subnet and Avalanche nodes 3 is technically challenging and requires time and skills that a team may not have. The Ash team experienced it first-hand at the Avalanche Summit Hackathon where most of the technical discussions with other teams were about node/Subnet operating issues.
Subnet ecosystem accessibility
For retail users
To participate in Subnets validation, a user has to operate Avalanche node(s) 3, therefore becoming a node operator and facing the same challenges.
Goals
The Ash protocol aims at making Avalanche Subnets more accessible and decentralized by providing a decentralized VaaS 5 for Avalanche.
Ash allows retail users to get involved in the Avalanche Subnets ecosystem without having to operate a node. Stakers crowdfund new validator nodes and vote to allocate the protocol validation power between Subnets.
Ash gives Avalanche projects affordable access to a robust decentralized infrastructure to validate their Subnets. The protocol operates the validator nodes 4, and developers can focus on the heart of their product.
Established liquid staking protocols are used to fund new Ash validator nodes. These protocols benefit from Ash success.
The Ash protocol relies on third-party node operators to ensure the Subnets' decentralization, providing enteprise-grade software to ease node maintenance.
Ash Demographics
The Ash protocol targets 3 user groups:
- Retail users
- Node operators
- Subnet owners
Ash for retail users
Node crowdfunding through staking
Ash will feature multiple community pools in which retail users can stake 11 their AVAX. These pools are used to crowdfund new validator nodes 4 for the Ash protocol which will in turn increase the number of Subnets that can be validated.
The Ash protocol takes care of swapping AVAX against Subnet native tokens to be used for staking.
The Ash pools feature multiple types of rewards for stakers:
- AVAX
- ASH token
- Native tokens from the validated Subnets
- Tokens from the underlying liquid staking protocol(s)
AVAX
Stakers receive AVAX from node validation rewards as they would by delegating their AVAX, but in a much more flexible way.
ASH token
Stakers receive ASH tokens emitted by the Ash protocol proportionally to the amount of AVAX they stake in the community pools.
The ASH token can be staked to earn veASH and vote in the Ash DAO 7. Votes will determine which Subnets are validated by the Ash protocol and which node operators get AVAX delegation to spin up new validators.
Note: See Tokenomics for more details on the ASH token.
Native Subnets tokens
Subnet owners can incentivize the validation of their Subnets by providing native token rewards to Avalanche nodes (leveraging features of the Banff upgrade). These tokens are redistributed to the Ash community pool stakers.
Liquid Staking protocols tokens
Ash will leverage existing liquid staking protocols like BENQI Ignite and GoGoPool (+ more to come!) to spin up the new validator nodes at a lower cost while benefiting from these protocols' native rewards. These rewards are redistributed to the pool stakers.
Ash for node operators
Node operators can apply to operate Ash nodes and validate Subnets for the protocol.
If a node operator is elected by the DAO 7, its nodes will be allowed to join the Ash Subnet.
The revenues generated are redistributed to the Ash community, and node operators are rewarded.
This key feature of the protocol provides true decentralization of Subnet validation.
Node operators can also benefit from the Ash team’s DevOps expertise by leveraging open-source tools provided by the Ash team.
Ash for Subnet owners
Ash offers 2 validation services to Subnet owners:
- Validation renting
- Voted validation by the protocol
Validation renting
Subnet owners can rent validation from Ash nodes for a fraction of the price needed to bootstrap a validator.
Instead of operating validator nodes 4 themselves, Subnet owners benefit from the expertise of the Ash team.
The rent is paid monthly in AVAX or stablecoins. The protocol guarantees that Subnets are validated by a robust, up-to-date set of nodes.
Subnet owners are freed from the burden of running their own infrastructure and can instead focus on building their projects' core. Moreover, paying rent in stablecoins helps to forecast the validation costs upfront.
Voted validation
Ash stakers 6 can participate in the protocol's governance. The main governance component is the allocation of the protocol's validating power between Subnets.
Node operator rewards are redistributed to stakers. With attractive incentives, a Subnet will naturally get more decentralized because it will appeal to more users.
Technical Details
Overall Architecture
The following schema represents the target protocol architecture. All features will not be available in the first release (see Protocol evolution towards decentralization).
Ash validator nodes
Each Ash validator node 4 offers “Subnet slots” for renting. The number of slots available on a node is determined by its hardware characteristics. A rented slot corresponds to a blockchain VM 8 running on the node.
The Ash team will conduct large-scale benchmarking of blockchain VMs performances to determine the resources comprised within a Subnet slot.
Validator nodes are operated by the Ash team and third-party node operators (elected by the DAO 7).
Ash Subnet
The Ash Subnet will serve as a backbone for the protocol. DAO-voted node operators will have to validate the Ash Subnet. Its VM will push various metrics to public contracts to ensure Ash nodes' have proper resources (RAM and CPU), validated Subnets are well-distributed, etc.
Ash smart contracts
All transactions related to Subnet slots renting, staking, and DAO votes are tracked on-chain. The Ash protocol leverages the popularity and robustness of the Avalanche C-Chain 9 to host its smart contracts. It relies on trusted smart contract standards for its different building blocks:
- Subnet slots rentals are represented by ERC-721 NFTs
- The staking contracts will take inspiration from industry standards
- The DAO will follow an established framework (most likely Aragon)
Ash API
The Ash API tracks all on-chain activity on both Avalanche C-Chain (renting contracts) and P-Chain 10 (Subnets/blockchains operations). It exposes the current state of the protocol:
- Validator nodes and Subnets status
- Subnet slots rentals
- Liquid staking pool size and DAO 7 votes
The API will rely on secured open-source software that can generate ZK proofs of the data being served (most likely Apibara). The Ash web app and Ash validator nodes rely on the API.
Ash web app
The Ash web app is the main entry point to interact with the protocol.
Subnet owners use it to create, configure, validate, and monitor their Subnets/blockchains. Retail users use it to stake AVAX, participate in DAO votes, and claim rewards. Node operators use it to manage their validator nodes.
Ansible Avalanche Collection
Ava Labs provides tools to bring up validator nodes 4 and create/manage Subnets (Avalanche Network Runner, Avalanche CLI, Avalanche Ops). Yet, at the time of writing, none of those are production-ready (according to their documentation).
Relying on years of experience in DevOps best practices, the Ash team developed the Ansible Avalanche Collection. Using Ansible, the industry standard for IT automation, the collection allows developers to deploy and configure nodes, Subnets, and blockchains to their own infrastructure, whether on bare-metal machines or virtual machine instances from any cloud provider.
There are multiple perks to using the Ansible Avalanche Collection, including:
- Reduce errors related to manual configurations
- Scale to hundreds of nodes seamlessly
- Update or rollback the AvalancheGo version in a transparent fashion
- The benefit of a production-ready configuration of AvalancheGo following the Filesystem Hierarchy Standard
The Ansible Avalanche Collection is open-source and available on GitHub under the BSD-3 license. The Ash team is committed to open-source all the tools that will benefit Avalanche users and developers.
The Avalanche Ansible Collection is part of our solution to reduce the technical cost related to deploying validator nodes 4, Subnets, and blockchains.
Extra services
Ash provides additional tools to empower Subnet owners with a ready-to-use Subnet experience, including monitoring and other services.
Node monitoring
All the validating nodes of the Ash protocols are monitored using Grafana and Prometheus. Subnet owners have access to comprehensive dashboards with all the metrics they need to keep track of the nodes validating their Subnets.
Ash can also provide additional blockchain-related metrics to Subnet owners.
DNS / Load Balancers
Ash will provide a unique DNS entry for Subnet owners (e.g.: mysubnet.ash.center). This entry will be served by multiple validators in a Load Balancing fashion. Subnet owners can focus on the heart of their project while Ash takes care of the accessibility of the Subnet.
Protocol Evolution Towards Decentralization
Building a truly decentralized protocol cannot be done overnight and we believe that it is more important to start with a rather centralized but robust protocol than to rush onto a broken “decentralized” protocol.
The first Ash release will focus on building a reliable software layer for validator node 4 operating and offering the best possible experience to Subnet owners.
The following features will be available in the subsequent releases of the protocol:
Node crowdfunding through staking (V2)
Users will be able to stake AVAX into the Ash community pools and be eligible for multiple rewards: AVAX staking rewards, Subnets rewards, ASH tokens and liquid staking tokens.
DAO (V2)
The Ash DAO 7 (Decentralized Autonomous Organization) will give ASH token owners the power to choose what Subnets are validated by the Ash protocol and how many nodes are validating each Subnet.
Third-party node operators (V3)
The Ash protocol will fund third-party node operators to spin-up new validator nodes. The Ash node operators will be elected by the DAO, following a model that will take strong inspiration from the Lido protocol on Ethereum.
Tokenomics
ashAVAX Token
ashAVAX is an ERC-20 token that represents AVAX staked within the Ash protocol. To receive rewards, a user has to lock its ashAVAX tokens for a minimum of 2 weeks. The longer the lock, the higher the rewards.
ashAVAX tokens are minted upon AVAX deposited in the community pool at a 1:1 ratio. When AVAX are withdrawn from the community pool, ashAVAX are burned following the same 1:1 ratio.
ASH Token
All users that are staking AVAX in the Ash community pool will receive ASH tokens as rewards. ASH is an ERC-20 token that can be staked to receive veASH tokens.
veASH is used to vote in the DAO for:
- Choosing the allocation of the protocol validation power: which Subnets validated by the Ash validator nodes 4 and the number of nodes 3 allocated to each of them
- Electing the node operators that will spin up new validators using AVAX from the community pool
A public sale will occur after the launch of the protocol.
Glossary
- Subnet: An independent network with a customizable set of rules running on Avalanche. A Subnet hosts one or more blockchains, serving as a backend for the business logic. See Subnets Overview.
- Subnet owner: An organization, whether public or private, that uses a dedicated Avalanche Subnet. The Subnet hosts one or more blockchains, serving as a backend for the business logic.
- Avalanche node: A server, whether a virtual machine or a physical host, running the AvalancheGo program.
- Validator node: An Avalanche node validates one or multiple Subnets. A minimum amount of staked tokens is required for a node to become validator of a Subnet.
- VaaS (Validator as a Service): A product that offers to operate blockchain validator nodes on behalf of users, while they keep the ownership of their assets.
- Liquid Staking: Liquid staking protocols allow users to get staking rewards without locking tokens or maintaining staking infrastructure. Users of these protocols can deposit staking tokens and receive tradable liquid tokens in return. (from Lido FAQ)
- DAO: Decentralized Autonomous Organization. There is not a single entity controlling the organization, individuals from the community have their own decision-making power regarding their voting power.
- VM (Virtual Machine): A Virtual Machine (VM) defines the application-level logic of a blockchain. In technical terms, it specifies the blockchain’s state, state transition function, transactions, and the API through which users can interact with the blockchain. (from Avalanche Subnets docs)
- Avalanche C-Chain: The C-Chain is an implementation of the Ethereum Virtual Machine (EVM) that is part of Avalanche Primary Network. (from Avalanche docs)
- Avalanche P-Chain: The P-Chain is responsible for all validator and Subnet-level operations. The P-Chain API supports the creation of new blockchains and Subnets, the addition of validators to Subnets, staking operations, and other platform-level operations. (from Avalanche docs)
- Staking Staking is the process of locking up tokens to support a network while receiving a reward in return (rewards can be increased network utility, monetary compensation, etc.). (from Avalanche knowledge base)