GrapeBaBa / sui

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Logo

Sui

Welcome to Sui, a next-generation smart contract platform with high throughput, low latency, and an asset-oriented programming model.
Explore more about Sui »

Community · Docs


Welcome to Sui, a next-generation smart contract platform with high throughput, low latency, and an asset-oriented programming model powered by the Move programming language! Find everything you need within the Sui Developer Guides and supporting materials below. sui_icon

Documentation (main)

Quick links

Highlights

Sui offers:

  • 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.

Architecture

flowchart LR
    CC(CLI Client) --> ClientService
    RC(Rest Client) --> ClientService
    RPCC(RPC Client) --> ClientService
    ClientService --> AuthorityAggregator
    AuthorityAggregator --> AC1[AuthorityClient] & AC2[AuthorityClient]
    subgraph Authority1
      AS[AuthorityState]
    end
    subgraph Authority2
      AS2[AuthorityState]
    end
    AC1 <==>|Network TCP| Authority1
    AC2 <==>|Network TCP| Authority2

Overview

Sui is a smart contract platform maintained by a permissionless set of authorities that play a role similar to validators or miners in other blockchain systems.

Sui offers scalability and unprecedented low-latency for common use cases. Sui makes the vast majority of transactions processable in parallel, which makes better use of processing resources, and offers the option to increase throughput with more resources. Sui forgoes consensus to instead use simpler and lower-latency primitives for common use cases, such as payment transactions and asset transfers. This is unprecedented in the blockchain world and enables a number of new latency-sensitive distributed applications, ranging from gaming to retail payment at physical points of sale.

Sui is written in Rust and supports smart contracts written in the Move programming language to define assets that may have an owner. Move programs define operations on these assets including custom rules for their creation, the transfer of these assets to new owners, and operations that mutate assets.

Sui has a native token called SUI, with a fixed supply. The SUI token is used to pay for gas, and is also used as delegated stake on authorities within an epoch. The voting power of authorities within this epoch is a function of this delegated stake. Authorities are periodically reconfigured according to the stake delegated to them. In any epoch, the set of authorities is Byzantine fault tolerant. At the end of the epoch, fees collected through all transactions processed are distributed to authorities according to their contribution to the operation of the system. Authorities can in turn share some of the fees as rewards to users that delegated stakes to them.

Sui is backed by a number of state-of-the-art peer-reviewed works and years of open source development.

About

License:Apache License 2.0


Languages

Language:Rust 62.2%Language:TypeScript 19.8%Language:Move 14.6%Language:Python 1.5%Language:SCSS 0.9%Language:Shell 0.3%Language:JavaScript 0.2%Language:CSS 0.2%Language:Dockerfile 0.1%Language:Boogie 0.0%Language:HTML 0.0%Language:PLpgSQL 0.0%