Sui: Next-generation smart contract blockchain platform
A blockchain platform using Move programming language with parallel transaction processing and asset-oriented design.
Learn more about Sui
Sui is a smart contract platform that operates through a permissionless set of authorities similar to validators in other blockchain systems. The platform is built in Rust and uses the Move programming language for smart contracts that define assets and their ownership rules. Sui processes the majority of transactions in parallel rather than sequentially, bypassing traditional consensus mechanisms for common operations like payments and asset transfers. The platform uses a native SUI token for gas fees and delegated staking, with authorities reconfigured periodically based on stake delegation.
Parallel Processing
Processes most transactions in parallel rather than sequentially, avoiding consensus overhead for simple operations like payments and transfers.
Asset-Oriented Model
Uses Move programming language to define on-chain assets with explicit ownership rules and custom transfer operations.
Authority-Based Consensus
Operates through delegated stake authorities that are periodically reconfigured, maintaining Byzantine fault tolerance within each epoch.
// sources/counter.move
module counter::counter {
use sui::object::{Self, UID};
use sui::transfer;
use sui::tx_context::{Self, TxContext};
struct Counter has key {
id: UID,
value: u64,
}
public entry fun create_counter(ctx: &mut TxContext) {
let counter = Counter {
id: object::new(ctx),
value: 0,
};
transfer::share_object(counter);
}
public entry fun increment(counter: &mut Counter) {
counter.value = counter.value + 1;
}
public fun get_value(counter: &Counter): u64 {
counter.value
}
}This release contains a performance fix and does not require a protocol version bump
- –📕 Note: This release contains a performance fix and does not require a protocol version bump Protocol Sui Protocol Version in this release: `107` Restore the environment variable to enable write sync --- Full Log: https://github.com/MystenLabs/sui/commits/mainnet-v1.63.4
testnet-v1.64.0: Protocol Sui Protocol Version in this release: `108` `TxContext` arguments can now appear in any pos
- –Protocol Sui Protocol Version in this release: `108` `TxContext` arguments can now appear in any position and still be callable in the PTB layer
- –Signature check for entry functions is disabled
[consensus] improve direct finalization
- –New `--no-tree-shaking` flag allows offline dump-bytecode-as-base64
- –Bug fixes for `move-analyzer`
- –Improvements to the `test-publish` command: the `Pub.localnet.toml`
- –Added `test-upgrade` command
- –Added `test-publish --publish-unpublished-deps` command for
See how people are using Sui
Related Repositories
Discover similar tools and frameworks used by developers
Ethers.js
A TypeScript library for Ethereum blockchain interaction, providing wallet management, smart contract interfaces, and provider connections.
NEAR Core
Reference implementation of NEAR Protocol blockchain, providing infrastructure for smart contracts and applications.
Chainlink
Node software for operating in Chainlink's decentralized oracle network, connecting blockchain smart contracts to real-world data.
Uniswap v4 Core
Core smart contracts for Uniswap v4's extensible and customizable automated market maker pools.
Lotus
Go-based reference implementation of the Filecoin distributed storage network protocol.