Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update about-sui.md #871

Merged
merged 2 commits into from
Mar 17, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
79 changes: 45 additions & 34 deletions doc/src/learn/about-sui.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,55 +2,66 @@
title: About Sui
---

Sui is a high performance, horizontally-scalable blockchain with no theoretical limits utilizing extremely low computation resources per
transaction. It is designed from the ground up to facilitate immediate settlement, delivering the high throughput, low latency, and low cost
needed to power applications for billions of users.
Sui is the first permissionless Layer 1 blockchain designed from the ground up to enable creators and developers to build experiences that cater to the next billion users in web3. Sui is horizontally scalable to support a wide range of application development with unrivaled speed at low cost.

With existing platforms, users pay a huge tax as network usage increases due to limited throughput. This results in terrible user experiences:
## Parallel agreement - a breakthrough in system design

* Games become more expensive to play or entirely unplayable
* Investors lose funds due to inability to liquidate undercollateralized loans in DeFi
* High NFT minting costs
* Only high-value use cases can be experienced (not coupons and other valuable, mass market consumer use cases)
Sui scales horizontally with no upper bound to meet application demand while maintaining extremely low operating costs per transaction. Its system design breakthrough eliminates a critical bottleneck in existing blockchains: the need to achieve global consensus on a total-ordered list of transactions. This computation is wasteful given most transactions are not contending for the same resource against other transactions.

Sui takes a significant leap in scalability by enabling parallel agreement on causally independent transactions. Sui authorities commit such transactions using Byzantine consistent broadcast, eliminating global consensus's overhead without sacrificing safety and liveness guarantees.

This breakthrough is possible only with Sui's novel data model. Thanks to its object-centric view and Move’s strong ownership types, dependencies are explicitly encoded. As a result, Sui both agrees on and executes transactions on most objects in parallel, while a minority of transactions that affect shared state are ordered via Byzantine fault tolerant consensus and executed in parallel.

### Highlights

* Unmatched scalability, instant settlement
* A safe smart contract language accessible to mainstream developers
* Ability to define rich and composable on-chain assets
* Better user experience for web3 apps

Sui is the only blockchain today that can scale with the growth of web3 while achieving industry-leading performance, cost, programmability, and usability. As we push towards mainnet launch, we will demonstrate capacity beyond the transaction processing capabilities of established systems – traditional and blockchain alike. We see Sui as the first internet-scale programmable blockchain platform, a foundational layer for web3.

## Unparalleled scalability, immediate settlement

Sui scales horizontally as the demands of Dapps increase. Authorities (nodes) can add more workers to increase the networking, storage
and compute capacity of the network. We are proud to say that Sui is the first proof of stake, decentralized blockchain that scales
beyond the transaction processing capacities of established rails such as VISA & SWIFT while executing safe, turing complete smart contracts.
Today, users of existing blockchains pay a considerable tax as network usage increases due to limited throughput. In addition, high latency limits the responsiveness of applications. These factors contribute to the bad user experiences that are all too common in web3:

For example, a network of authorities each running an Apple Macbook Pro worker achieves 30,000 TPS with sub second finality. Sui’s linear
scalability means authorities increase network throughput by adding more workers to meet network demands. This results in low gas fees even
during periods of high network traffic because the network is able to increase capacity to meet demand. This type of scalability is in sharp
contrast to how blockchains are typically designed.
* Games are slow and prohibitively expensive to play
* Investors lose funds when they can’t liquidate undercollateralized loans in Decentralized Finance (DeFi)
* High-volume, low-value, per-transaction mass-market services like micropayments and coupons are priced out of the network
* Artificially high floor prices on assets due to high gas prices

Additionally with Sui, you can process in batch at extremely low cost. (e.g. massive airdrop with a single transaction for coupons or other
valuable, mass market consumer use cases).
Sui scales horizontally to meet the demands of applications. Network capacity grows in proportion to the increase in Sui authorities' processing power by adding workers, resulting in low gas fees even during high network traffic. This scalability characteristic is in sharp contrast to other blockchains with rigid bottlenecks.

## A language for developers
By design, Sui authorities (nodes) can effectively scale the network throughput infinitely to meet the demand of builders and creators. We believe Sui can do for web3 what broadband internet did for web2.

Sui smart contracts are written in the Move language. Move is safe and expressive, and its type system and data model naturally support the
parallel agreement/execution strategies that make Sui scalable.
Note: As of Mar 12, 2022, an unoptimized single-worker Sui authority running on an 8-core M1 Macbook Pro can process 17,500 token transfer transactions per second (TPS). Performance scales linearly with the number of cores–the same machine processes 3,000 TPS in a single core configuration and increases by about 2,000 TPS with each additional core. .

Move is an open-source programming language for building smart contracts originally developed at Facebook for the Diem blockchain. The language is
platform-agnostic, and in addition to being adopted by Sui, it has been gaining popularity on other platforms (e.g., 0L, StarCoin).
We will publish a full performance report for optimized Sui networks of various sizes when our testnet is released.

Move is naturally immune from [reentrancy](https://en.wikipedia.org/wiki/Reentrancy_(computing)), a critical flaw that attackers have leveraged to
steal millions from Dapps. For developers transitioning from web2 to web3, Move is a much more natural platform to build on without having to
understand the underlying complexities of infrastructure.
## A safe smart contract language accessible to mainstream developers

With these extensive properties and benefits, we are confident that Move will become the native execution environment for smart contracts in web3.
Move smart contracts power Sui applications. Move is a programming language initially developed at Facebook for writing safe smart contracts. It is a platform-agnostic language that enables shared libraries, tooling, and developer communities across blockchains.

## Ability to define richer on-chain assets
Move's design prevents issues such as [reentrancy](https://en.wikipedia.org/wiki/Reentrancy_(computing)) vulnerabilities, [poison tokens](https://www.theblockcrypto.com/post/112339/creative-attacker-steals-76000-in-rune-by-giving-out-free-tokens)), and [spoofed token approvals](https://www.theverge.com/2022/2/20/22943228/opensea-phishing-hack-smart-contract-bug-stolen-nft)) that attackers have leveraged to steal millions on other platforms. Its emphasis on safety and expressivity makes it easier for developers to transition from web2 to web3 without understanding the intricacies of the underlying infrastructure.

Sui permits storage of large objects on-chain, enabling developers to define more complex assets with richer attributes. Additionally, the low-cost
properties of Sui enable developers to move more of their logic and metadata on-chain, increasing composability and transparency for Dapps.
We are confident that Move is well-positioned to become the de-facto execution environment not only for Sui but for every next-generation smart contract platform.

This enables developers to define richer economies that go beyond scarcity for price discovery. Developers can build evolving and dynamic NFTs to
unlock/upgrade and bundle depending on the game and other conditions, such as achieving badges.
## Ability to define rich and composable on-chain assets

Sui’s scalability is not limited to transaction processing. Storage is also low-cost and horizontally scalable. This enables developers to define complex assets with rich attributes that live directly on-chain instead of introducing layers of indirection into off-chain storage to save on gas fees. Moving attributes on-chain unlocks the ability to implement application logic that uses these attributes in smart contracts, increasing composability and transparency for applications.

Rich on-chain assets will enable new applications and economies based on utility without relying solely on artificial scarcity. Developers can implement dynamic NFTs that can be upgraded, bundled, and grouped in an application-specific manner, such as changes in avatars and customizable items based on gameplay. This capability delivers stronger in-game economies as NFT behavior gets fully reflected on-chain, making NFTs more valuable and delivering more engaging feedback loops.

## Better user experience for web3 apps

We want to make Sui the most accessible smart contracts platform, empowering developers to create great user experiences in web3. To usher in the next
billion users, developers will need tools to take advantage of the power of the Sui blockchain. The Sui Development Kit (SDK) will enable developers to
build without boundaries.
We want to make Sui the most accessible smart contract platform, empowering developers to create great user experiences in web3. To usher in the next billion users, we will empower developers with various tools to take advantage of the power of the Sui blockchain. The Sui Development Kit (SDK) will enable developers to build without boundaries.

## Build cool stuff

Here are some cool things you can do now and some applications that will become possible over the next few weeks and months. Sui enables developers to define and build:

* On-chain DeFi and Traditional Finance (TradFi) primitives: enabling real-time, low latency on-chain trading
* Reward and loyalty programs: deploying mass airdrops that reach millions of people through low-cost transactions
* Complex games and business logic: implementing on-chain logic transparently, extending the functionality of assets, and delivering value beyond pure scarcity
* Asset tokenization services: making ownership of everything from property deeds to collectibles to medical and educational records perform seamlessly at scale
* Decentralized social media networks: empowering creator-owned media, posts, likes, and networks with privacy and interoperability in mind