What’s Sui? - Encode Club Sui Series #1

What’s Sui? - Encode Club Sui Series #1

Sui Foundation

Sui Foundation

Feb 10, 20234 min

Want to get started building on Sui? The Sui Foundation partnered with Encode Club for this video introduction to the network.

In the first of Encode Club’s Sui series, Shayan from The Sui Foundation explains Sui’s infrastructure and how it differs from other blockchains.

The Sui Foundation partnered with Encode Club to offer a series of six developer-focused videos. This series will range from the basics of Sui to tutorials about building smart contracts and working with objects in Sui Move.

Learning Highlights

Our introduction to Sui, hosted by Encode Club, includes fundamentals about Sui’s infrastructure. We cover the different types of transactions and how they increase scalability, the components of the consensus engine, and key Sui advantages.


Sui differentiates transactions into two categories: simple and complex.

For simple transactions, such as sending tokens from one account to another or minting an NFT, a transaction may bypass the consensus protocol. This makes Sui scalable and increases throughput on the blockchain by allowing unrelated assets to reach finality almost immediately, without having to go through the relatively longer and more expensive consensus process.

For complex transactions, such as a liquidity pool, orderbook, or any other myriad of DeFi use cases using shared objects, transactions go through Sui’s novel Narwhal and Bullshark directed acyclic graph (DAG)-based mempool and efficient Byzantine Fault Tolerant (BFT) consensus.

Due to Sui’s object-centric view, as well as Move’s strong ownership types, dependencies are explicitly encoded. As a result, Sui both agrees on and executes transactions on many objects in parallel.

Consensus Engine

Let’s hop into some of the terminology regarding Sui’s novel consensus engine.

A DAG is essentially a directed graph that never loops. It consists of edges and vertices, with each edge directed from one vertex to another, such that following those directions will never form a closed loop.

A directed acyclic graph (DAG) consists of linked edges and vertices arranged in such a way as to never form a closed loop.

Sui utilizes a DAG in the form of its mempool engine, Narwhal, which is decoupled from its consensus engine, Bullshark. By decoupling data availability from consensus, Sui is able to achieve much greater throughput at the cost of slightly higher latency.

Sui’s mempool engine, Narwhal, operates separately from its consensus engine, allowing simple transactions to bypass consensus.

Bullshark is a state-of-the-art consensus engine that, unlike its predecessors, allows for consistently high transactions-per-second regardless if there are weaker validators in the set or not.

Sui’s ability to separate simple and complex transactions gives it a performance edge over other blockchains.

Sui uses an object-oriented data model. Distinct objects on Sui include a coin balance, an NFT instance, and a smart contract. This data model allows smart contracts to express computation on objects. It also means transactions are naturally organized in groups based on the objects they are targeting.

Sui’s ability to execute transactions in parallel allows it to scale horizontally and avoid bottlenecks at the mempool level.

Sui Advantages

Through features such as horizontal scaling, composability, sparse replay, and on-chain storage, Sui’s architecture solves pain points common to first generation blockchains.

Horizontal Scaling

On the Sui network, each group of transactions process in parallel, as opposed to the bottlenecking that occurs in some earlier blockchains due to any lack of distinction between the various objects, resources, accounts, and other components.


In Sui, unlike most other blockchains, one can directly pass an asset (such as an NFT), directly into a function argument. Sui’s object-centric approach also allows for more esoteric data structures, and the ability to store assets inside such data structures, or in an asset itself.

Sparse Replay

Naturally, a blockchain provides a ledger of every single transaction. For a Sui-specific example, game builders don’t need to track transactions interacting with unrelated dApps. Because querying on-chain data can be expensive, products on Sui will be able to follow the evolution of the objects in this game, without digging out the data from the Merkle tree.

On-Chain Storage

Because assets are directly stored as objects on the Sui blockchain, they are never subject to Merkle tree indexing. Storing assets directly on-chain is used in tandem with conventional means, such as IPFS, to scale the problem of on-chain storage, as it is much cheaper to directly update assets on-chain.

Join Us at the Denver Builder House

Learn more about Sui and network with its founders and other developers! The Sui Foundation is hosting our next Builder House in Denver, Colorado, from February 28 to March 2, 2023. In addition to keynotes by Mysten Labs CPO Adeniyi Abodiun and chief cryptographer Kostas Chalkias, there will be educational presentations, a challenge featuring prizes, and other fun activities.

Register today before we hit capacity!

Sui Foundation © 2023


thanks for the interesting and useful information, keep going :heart:


yes it is useful :grinning: :heart: :+1:


To hope for the success of the development and community that supports this project and hopes that it will last long


Very useful information! Thanks!

1 Like

We can safely say that sui is an excellent layer 1 blockchain💧

so complex to understand

1 Like

It was easier to understand with pictures. thank you.

Very useful information thanks

1 Like