Aptos

Aptos - is it the next 500x Ethereum killer?

4 minutes

Introduction

Aptos is the newest layer-1 blockchain in the crypto space that promises to deliver an easy-to-use, scalable, and high-performance blockchain. Originally, developers from the Aptos Labs have been working on Diem Meta's blockchain. After the project was abandoned, programmers decided to create Aptos. The network is using Move (which was developed for Diem) Rust-like programming language, that enforces safety and reliability. By parallelizing transactions execution, Aptos strive to dominate the competition.

Vision

The plan is simple - build a reliable, safe, and highly throughput blockchain that will be seamlessly and frequently upgradable without any outages and user interruptions. Moreover, the network will be fully governed by the Aptos token holders. By now, the idea behind impeccable network upgrades seems to work. In early 2020 the Diem main-net was deployed to node operators. At this time, developers successfully changed the consensus protocol and the core network without any downtimes for users.

System Design

The heart of the Aptos consists of validators that receive transactions from users using a byzantine fault-tolerant (BFT, it is just a system that proceeds working even if some of its nodes fail or act dishonestly), proof-of-stake consensus mechanism. Token holders are able to stake their tokens in the selected validator. The number of tokens that the validator locks up indicates the weight of its voting in the consensus. A few of the Aptos core principles:

  • simple smart contracts auditability
  • fast and secure programs execution
  • high throughput and low latency (batched, pipelined, and parallelized transaction processing)
  • stake-weight validators
  • seamless network upgrades,
  • sharding

All Aptos transactions have a gas unit price (specified in Aptos tokens) that allows validators to prioritize the highest value transactions in the network - the same mechanism is used in the Ethereum blockchain and it causes high transaction fees, BUT Aptos TPS will be so much higher than in Ethereum. For comparison, Ethereum ~13 TPS, Ethereum v2 up to 100k TPS, Solana ~50k TPS, Aptos ~160k TPS.

Aptos uses the new safe and flexible smart contract programming language - Move. The Move ecosystem contains a compiler, a virtual machine, and many other developer tools. Moreover, Move includes a formal verifier, that helps write more trusted code.

Aptos provides a way to continuously upgrade the ecosystem without any user interruptions. Thus, token holders will vote on-chain about the network improvements, for instance transitioning to a new quantum-resistant signature scheme. Aptos supports shared accounts - used by DAOs, for example.

Programs Execution Safety

Aptos blockchain provides something called: transaction pre-execution. Before signing, the transaction will be pre-executed and the outcome will appear in human-readable form. It will prevent users from executing malicious programs, that would withdraw all users' money. Moreover, wallets are able to constrain transactions during execution. Violating constraints will result in transactions being rejected.

Transaction Execution

Transaction execution has been broken down into three separate and independent stages: pipelining, batching, and parallel transaction processing. Validators group transactions into batches during transaction dissemination and those batches are included in blocks. Transactions that do not interfere with each other can be executed in parallel. Even when transactions modify the same set of on-chain values, much of the transaction execution process can still be parallelized. The Aptos uses Block-STM parallel execution engine, which detects and manages overlapping transactions.

Conclusion

Aptos is definitely an ecosystem with huge potential. The team promises to deliver reliable, safe, and highly throughput blockchain, but we still have to wait for the results. If everything goes smoothly, it definitely will be one of the biggest players in the crypto space.

This was just a brief overview about the Aptos blockchain. Please feel free to check out the resources section in order to learn more.

Resources

https://aptos.dev/assets/files/Aptos-Whitepaper-47099b4b907b432f81fc0effd34f3b6a.pdfhttps://medium.com/aptoslabs/block-stm-how-we-execute-over-160k-transactions-per-second-on-the-aptos-blockchain-3b003657e4ba
<-- Return to all articles

Latest Posts

5 minutes
advanced
08-26-2022

How does the signing transaction works in the bitcoin blockchain?

Bitcoin
Algorithms
-- Read --
6 minutes
intermediate
08-25-2022

What is the block consists of in the bitcoin blockchain?

Bitcoin
-- Read --