Difference between revisions of "Aptos (APT)"

From CryptoWiki

Line 67: Line 67:
==Competition==
==Competition==


* [[Layer One|Layer 1]] [[blockchains]] and [[Sui (SUI)|Sui]] in particular. From this Sui & Aptos [https://twitter.com/cryptoalvatar/status/1551878534926401537?s=21&t=UkAbX2-e_7BKPxU7tJzQFw comparison] thread (26-7-2022):
* [[Layer One|Layer 1]] [[blockchains]] and [[Sui (SUI)|Sui]] in particular. [[Solana (SOL)|Solana]] as well.
*[https://members.delphidigital.io/reports/finding-a-home-for-labs From] [[Delphi Digital]] (8-9-2022):
''"Both Aptos and Sui aim at maximising the throughput of the network at every node, similar to Solana but with a very different technical approach. One of the core ideas of the design seeks to optimise the [[mempool]] dissemination layer by distributing a [[Directed Acyclic Graph (DAG)|DAG]] of transactions and guaranteeing availability.''
 
''Both share the potential ability to scale beyond individual validator performance, via internal sharding of a validator and homogeneous state sharding. Internal sharding means that a validator won’t need to scale vertically, increasing its specs to match that of the network, but it can spawn other machines behind a load balancer and shard the state as if it were a single node. This is essentially addressing a concern with Solana that validator specs will bottleneck performance and elegantly achieve scalability."''
*From this Sui & Aptos [https://twitter.com/cryptoalvatar/status/1551878534926401537?s=21&t=UkAbX2-e_7BKPxU7tJzQFw comparison] thread (26-7-2022):
''"Sui's version of Move has introduced some modifications, the most visible being the ownership API. It is more clean and it exposes the blockchain design more clearly IMO. But the libraries feel a little bit less developed than Aptos'. Aptos uses BlockSTM, which is an [[evolution]] of the high-performance HotStuff algorithm, and introduces parallelization by dynamically detecting dependencies and scheduling execution tasks (taking its inspiration from Software Transactional Memory).  It's hard to tell which one will perform better in practice, but my bet is with Sui. Aptos has done already a very good job at optimizing their current design, whereas Sui seems to have more room. The two-paths of byzantine agreement give Sui an edge as well.''
''"Sui's version of Move has introduced some modifications, the most visible being the ownership API. It is more clean and it exposes the blockchain design more clearly IMO. But the libraries feel a little bit less developed than Aptos'. Aptos uses BlockSTM, which is an [[evolution]] of the high-performance HotStuff algorithm, and introduces parallelization by dynamically detecting dependencies and scheduling execution tasks (taking its inspiration from Software Transactional Memory).  It's hard to tell which one will perform better in practice, but my bet is with Sui. Aptos has done already a very good job at optimizing their current design, whereas Sui seems to have more room. The two-paths of byzantine agreement give Sui an edge as well.''



Revision as of 04:58, 12 September 2022

Aptos is a L1 blockchain built with Move, by the old Diem team

Basics

  • Based in:
  • Started in / Announced on: 24-2-2022 announced but started 'in the past few months' before it but also mentions having worked on their BFT engine for 3 years already. This is due to the team having worked on Diem before.
  • Testnet release: 15-3-2022devnet; "Later in Q2, there will be an incentivized testnet to help scale the network and stress test it as it marches toward mainnet."
  • Mainnet release: "We expect Mainnet to occur in Q3 2022" (15-3-2022)

History

  • Team comes from Diem, but moved on to build Aptos after government issues arose.

Audits & Exploits

Bugs/Exploits

Governance

Admin Keys

DAO

Treasury

Token

Launch

Token Allocation

Utility

Other Details

Stablecoin

Coin Distribution

Technology

  • Whitepaper or docs can be found [insert here].
  • Code can be viewed here.

Implementations

  • Programming language used: Move

Transaction Details

  • Capacity (TPS): "we achieve over 130k transactions per second with only 32 cores in our execution only benchmark." (15-3-2022). Later had a blog post titled "the path to 100k+ TPS (13-7-2022).
  • Latency:

How it works

"How is it safe ser? As discussed on the thread above, Move enables smart contracts interaction with validators to be deterministic, hermetic (state change is predictable; untainted) and metered (protection against DOS attacks). All can be verified by Move Prover. Aptos decouples the codependent execution and consensus layers through a parallel execution engine which synchronize eventually. The parallel execution layer leverages the design of Block-STM's that executes transactions optimistically then detects and manages conflicts before synchronizing and changing the state.

But ser, what about the detected conflicts? They are picked up by at most 1 thread in the parallel execution engine and re-executed based on the execution queue, and re-validated through a queue along with its subsequent txs. Abstractions are separated from trivial executions and validations. This is all possible due to preset orders with indexes that map transactions throughout the execution and validation cycle. Block-STM algorithms handles seamless operations.

With 32 threads working in parallel through the Block-STM design, complemented by its robust state synchronization mechanisms to reduce latency, Aptos would be able to boast up to 100k+ tps with sub-second finality."

  • From their blog (15-3-2022):

"Our team has developed a production-grade, low latency Byzantine Fault Tolerant (BFT) engine. We have implemented our fourth iteration of the protocol (the most advanced HotStuff derivative) over the past three years. During that time, we have upgraded the consensus protocol in a private mainnet environment with a diverse set of operators and zero downtime. Our first implementation of the BFT protocol added an active pacemaker that used timeouts to synchronize validators much more quickly than waiting for increasing timeouts. With our latest improvement to the protocol, blocks are committed in as few as two network round-trips, making sub-second finality the common case. Our novel reputation system analyzes the on-chain state and automatically updates leader rotations to adjust for non-responsive validators without any human intervention, making it well suited for decentralized environments. Furthermore, our protocol clearly separates liveness from safety. No matter if the network is unreachable or the non-safety core is compromised in some way, the chain will not fork as long as the BFT honesty guarantees are upheld. The safety of our consensus protocol has been both audited and formally verified."

Fees

Upgrades

Staking

Validator Stats

Liquidity Mining

Scaling

Interoperability

Other Details

Oracle Method

Compliance

Their Other Projects

Roadmap

  • Can be found [Insert link here].

Usage

Projects that use or built on it

Competition

"Both Aptos and Sui aim at maximising the throughput of the network at every node, similar to Solana but with a very different technical approach. One of the core ideas of the design seeks to optimise the mempool dissemination layer by distributing a DAG of transactions and guaranteeing availability.

Both share the potential ability to scale beyond individual validator performance, via internal sharding of a validator and homogeneous state sharding. Internal sharding means that a validator won’t need to scale vertically, increasing its specs to match that of the network, but it can spawn other machines behind a load balancer and shard the state as if it were a single node. This is essentially addressing a concern with Solana that validator specs will bottleneck performance and elegantly achieve scalability."

  • From this Sui & Aptos comparison thread (26-7-2022):

"Sui's version of Move has introduced some modifications, the most visible being the ownership API. It is more clean and it exposes the blockchain design more clearly IMO. But the libraries feel a little bit less developed than Aptos'. Aptos uses BlockSTM, which is an evolution of the high-performance HotStuff algorithm, and introduces parallelization by dynamically detecting dependencies and scheduling execution tasks (taking its inspiration from Software Transactional Memory). It's hard to tell which one will perform better in practice, but my bet is with Sui. Aptos has done already a very good job at optimizing their current design, whereas Sui seems to have more room. The two-paths of byzantine agreement give Sui an edge as well.

Sui tackles [state bloat] via efficient sharding of the store, focusing on horizontally scaling the resources. Aptos on the other hand puts more emphasis on supporting heterogeneous validators (contrained CPU and/or constrained storage). I like Sui's take on this.

They are both at a similar stage of development, with Aptos a bit ahead. It took me longer to set up the system than actually coding (I also happen to use NixOS). Learning the language and the environment involves some trial-and-error. Deploying to devnet is somewhat cumbersome in both as well. Fortunately, the unit test libraries are quite usable. The worst part has definitely been the obscure compiler errors, and devnet error responses that make no sense. These can be real time sinks."

Pros and Cons

Pros

Cons

Team, Funding and Partners

Team

  • Full team can be found [here].
  • AptosLabs, used to work on Diem.
  • "25+ members" (15-3-2022)
  • Took the Head of Marketing from Solana and made it Director of Ecosystem at Aptos (19-7-2022).
  • Mo Shaikh, the CEO and co-founder of Matonee, also known as Aptos Labs.

Funding

"Raised $150 million in a Series A funding round that was led by FTX Ventures, the venture capital arm of crypto exchange FTX, and Jump Crypto, according to a press release. The round included investments from Andreessen Horowitz, Multicoin Capital and Circle Ventures among other crypto firms."

  • From their blog (15-3-2022):

"Raised $200 million in a strategic round led by a16z crypto with participation from Multicoin Capital, Katie Haun, 3 Arrows Capital, ParaFi Capital, IRONGREY, Hashed, Variant, Tiger Global, BlockTower, FTX Ventures, Paxos and Coinbase Ventures, as well as a great supporting cast of other phenomenal firms, executives and angels across the Web2 and Web3 ecosystems."

Partners

(:

Knowledge empowers all and will help us get closer to the decentralized world we all want to live in!

Making these free wiki pages is fun but takes a lot of effort and time.

If you have enjoyed reading, tips are appreciated :) This will help us to keep expanding this archive of information.

ETH tip address: 0x83460bE5F218b1520B69D702cE60A1DE37dD8E31