Guide to Aleo

September 18, 2024

Introduction

Transacting on major blockchains is public, however, many would argue that we need some level of privacy in order to achieve exit velocity for crypto adoption. Aleo is one of the many protocols working on enabling privacy in DeFi and transacting. More specifically, it’s an L1 smart contract blockchain focused on enabling building private decentralized applications using zero-knowledge.

Aleo Components

zkCloud

This is the core of Aleo, and includes snarkOS and snarkVM:

  • SnarkOS is what powers the Aleo blockchain. It validates transactions with a single proof of execution and maintains the immutability of Aleo. The Aleo blockchain uses a novel consensus mechanism called AleoBFT. It leverages Proof of Stake to achieve instant finality for block confirmation and leverages Proof of Work (via provers) to incentivize proof generation. With AleoBFT, provers (separate from validators) solve and produce proofs on the network in exchange for rewards from the blocks.

  • SnarkVM is an off chain private environment that processes transactions at scale. The only thing required onchain is the verifiable proofs of computation that are generated. 

Leo

In order for developers to seamlessly write private applications, Aleo created a programming language, Leo, alongside Leo Playground, the world’s first IDE for zero-knowledge proofs. 

Leo abstracts low-level cryptography so any developer can easily write zero-knowledge logic to deploy private, scalable decentralized applications. 

Leo was influenced by programming languages like JavaScript and Rust to elicit a sense of familiarity for developers and to emphasize readability and ease of use. 

Accounts

An Aleo account is composed of an account private key, an account view key, and an account address. The private key is used to authorize a transaction which updates the global state of account records. The view key decrypts account records which are encrypted under the user’s account address.  

AleoBFT and Validator Nodes

AleoBFT is a consensus mechanism based on Narwhal/Bullshark.

Stakers lock up (delegate) Aleo Tokens to help validators participate in consensus and secure the network. Rewards are earned and distributed with respect to the proportion delegated. In addition, validator nodes include proofs from prover nodes when creating blocks. 

Proof of Succinct Work and Prover Nodes

Provers use specialized hardware to generate proofs and solve puzzles using Proof of Succinct Work to earn Aleo Tokens. You can consider provers "zk miners". 

Aleo Provers compete with each other to generate solutions to Coinbase puzzles. Once these puzzles (which are unrelated to Coinbase the company) are solved, the winning prover gets a reward, also known as a Coinbase. To solve these puzzles, Aleo Provers must generate SNARK proofs that will satisfy a difficulty threshold as determined by the Aleo network. The more efficient and effective the provers are at generating solutions to these puzzles, the higher the chance of earning Aleo Coinbase rewards. Multiple provers can earn a portion of the Coinbase reward in proportion to the number of valid puzzle solutions submitted. Provers provide 1/3rd of the Coinbase solution to validators to incentivize their inclusion and reward receipt.

Tokens, Rewards, and Staking Dynamics

The Aleo Token is the official token of the Aleo network and is used for staking as well as payments for fees.

Aleo is a delegated Proof of Stake (dPoS) protocol with a 10M Aleo Token stake minimum for the validator to be considered active and a 10K Aleo Token minimum to be a delegator. Rewards are distributed proportionally based on a stake weight in a non-custodial manner. It is important to note that slashing is not live at mainnet.

Governance

There's no concept of onchain governance. There are Aleo Request for Comment (ARCs) which are similar to EIPs or PIPs (Polygon).

Conclusion

Aleo is an L1 smart contract blockchain that focuses on enabling privacy in dapps using zero-knowledge proofs. Through the use of its core components, it enables private transaction processing so developers can quickly write private applications.

Coinbase is happy to support the growing ecosystem of protocols like Aleo and work closely with protocol communities to bring clients deep insights into each of our supported networks. Our performant staking infrastructure provides enterprise-grade security and a 99% uptime guarantee, so that your assets continue to earn rewards.*

Delegate to our validator or get in touch with our team to stake Aleo.

This material is the property of Coinbase, Inc., its parent and affiliates ("Coinbase"). This material is for informational purposes only, and is not (i) an offer, or solicitation of an offer, to invest in, or to buy or sell, any interests or shares, or to participate in any investment or trading strategy, (ii) intended to provide accounting, legal, tax advice, investment recommendations or other professional advice or (iii) an official statement of Coinbase. You should consult with a professional advisor before making any decisions based on this information. No representation or warranty is made, expressed or implied, with respect to the accuracy, completeness, reliability or suitability of this information or to the future performance of any digital asset, financial instrument, protocol, network, project or other market or economic measure.This information contained herein is believed to be current as of the date indicated and may not be updated or otherwise revised to reflect information that subsequently became available or a change in circumstances after the date of publication. The risk of loss in cryptocurrency, including staking, can be substantial and nothing herein is intended to be a guarantee against the possibility of loss. Coinbase may have financial interests in, or relationships with, some of the entities and/or publications discussed or otherwise referenced in the materials. Certain links that may be provided in the materials are provided for convenience and do not imply Coinbase's endorsement, or approval of any third-party websites or their content. The right to use any of Coinbase’s services and tools may be contingent on completion of Coinbase’s onboarding process and is subject to Coinbase’s sole discretion, including entrance into applicable legal documentation and will be, at all times, subject to and governed by Coinbase’s policies, including without limitation, any applicable terms of service and privacy policy, as may be amended from time to time. Coinbase, Inc. is not registered or licensed in any capacity with the U.S. Securities and Exchange Commission or the U.S. Commodity Futures Trading Commission. *Uptime guarantee subject to contractual requirements.