Sui Knowledge Base
Expert knowledge about Sui blockchain ecosystem. Use this skill to answer questions about Sui concepts, architecture, tokenomics, and ecosystem.
When to Use This Skill
Activate when users ask about:
- - What is Sui? How does it work?
- Sui vs Ethereum/Solana/other chains
- SUI token, tokenomics, staking
- Validators, consensus, transactions
- Sui ecosystem, projects, wallets
- Object model, ownership concepts
- Performance, TPS, finality
For Move programming questions → use sui-move skill instead
Setup References
CODEBLOCK0
This clones:
- - Sui official documentation
- Sui whitepaper and technical docs
Quick Search
CODEBLOCK1
Core Concepts
What is Sui?
Sui is a Layer 1 blockchain designed for high throughput and low latency. Key innovations:
- 1. Object-Centric Model: Unlike account-based chains, Sui treats everything as objects with unique IDs
- Parallel Execution: Independent transactions execute in parallel without global ordering
- Move Language: Safe, resource-oriented smart contract language
- Mysticeti Consensus: Fast finality (~390ms) for shared objects
Object Model
CODEBLOCK2
- - Every object has a unique
ObjectID (32 bytes) - Objects have
version that increments on mutation - Owned object transactions don't need consensus (fast path)
Transaction Types
| Type | Consensus | Speed | Use Case |
|---|
| Owned Object | No (fast path) | ~200ms | Transfers, simple ops |
| Shared Object |
Yes (Mysticeti) | ~390ms | DEX, auctions, games |
SUI Token
- - Ticker: SUI
- Total Supply: 10 billion SUI
- Uses: Gas fees, staking, governance
- Smallest Unit: MIST (1 SUI = 10^9 MIST)
Gas Model
- - Gas price in MIST per computation unit
- Storage rebates: Get gas back when deleting objects
- Sponsored transactions: Third party pays gas
Validators & Staking
- - Delegated Proof of Stake (DPoS)
- ~100+ active validators
- Stake SUI to validators to earn rewards
- Epoch: ~24 hours
Consensus: Mysticeti
- - DAG-based consensus protocol
- Sub-second finality for shared objects
- Replaces Narwhal/Bullshark (used previously)
Sui vs Other Chains
| Feature | Sui | Ethereum | Solana |
|---|
| Model | Object-centric | Account-based | Account-based |
| Language |
Move | Solidity | Rust |
| TPS | 100k+ | ~15 | ~65k |
| Finality | <1s | ~12min | ~400ms |
| Parallel Exec | Yes (objects) | Limited | Yes |
Ecosystem
Wallets
- - Sui Wallet (official)
- Suiet
- Ethos
- Martian
DEXs
- - Cetus
- Turbos
- DeepBook (order book)
NFT Marketplaces
- - BlueMove
- Clutchy
- Hyperspace
Developer Tools
- - Sui CLI
- Sui Explorer
- Move Analyzer (VSCode)
Common Questions
"Is Sui EVM compatible?"
No. Sui uses Move, not EVM. However, bridges exist to transfer assets from EVM chains.
"How fast is Sui?"
- - Owned object txs: ~200ms
- Shared object txs: ~390ms
- Theoretical TPS: 100,000+
"How do I stake SUI?"
- 1. Open Sui Wallet
- Go to Staking tab
- Choose a validator
- Enter amount and confirm
"What's the difference between Sui Move and Aptos Move?"
- - Sui uses object-centric storage
- Different standard library
- Sui has native object primitives
- Some syntax differences in Move 2024
Answering Workflow
- 1. Identify the question type:
- General knowledge → Answer from this skill
- Move programming → Refer to sui-move skill
- Specific API/code → Search references
- 2. Search if needed:
CODEBLOCK3
- 3. Provide clear answer with:
- Direct answer first
- Supporting details
- Links to official docs if relevant
Official Resources
- - Website: https://sui.io
- Docs: https://docs.sui.io
- GitHub: https://github.com/MystenLabs/sui
- Discord: https://discord.gg/sui
- Twitter: @SuiNetwork
Sui 知识库
关于 Sui 区块链生态系统的专业知识。使用此技能回答有关 Sui 概念、架构、代币经济学和生态系统的问题。
何时使用此技能
当用户询问以下内容时激活:
- - 什么是 Sui?它是如何工作的?
- Sui 与以太坊/Solana/其他链的比较
- SUI 代币、代币经济学、质押
- 验证节点、共识、交易
- Sui 生态系统、项目、钱包
- 对象模型、所有权概念
- 性能、TPS、最终性
关于 Move 编程问题 → 请使用 sui-move 技能
设置参考
bash
cd {baseDir}
chmod +x setup.sh && ./setup.sh
这将克隆:
快速搜索
bash
搜索 Sui 文档
rg -i 关键词 {baseDir}/references/sui-docs/ --type md -C 2
搜索特定概念
rg -i 对象|所有权|转移 {baseDir}/references/ --type md
核心概念
什么是 Sui?
Sui 是一个为高吞吐量和低延迟设计的 Layer 1 区块链。关键创新:
- 1. 以对象为中心的模型:与基于账户的链不同,Sui 将所有事物视为具有唯一 ID 的对象
- 并行执行:独立交易无需全局排序即可并行执行
- Move 语言:安全、面向资源的智能合约语言
- Mysticeti 共识:共享对象的快速最终性(约 390 毫秒)
对象模型
┌─────────────────────────────────────────┐
│ 对象类型 │
├─────────────────────────────────────────┤
│ 拥有对象 → 单一拥有者地址 │
│ 共享对象 → 多个可访问 │
│ 不可变对象 → 冻结,只读 │
│ 包装对象 → 嵌套在另一个对象中 │
└─────────────────────────────────────────┘
- - 每个对象都有唯一的 ObjectID(32 字节)
- 对象具有 version,在修改时递增
- 拥有对象交易不需要共识(快速路径)
交易类型
| 类型 | 共识 | 速度 | 用例 |
|---|
| 拥有对象 | 否(快速路径) | 约 200 毫秒 | 转账、简单操作 |
| 共享对象 |
是(Mysticeti) | 约 390 毫秒 | DEX、拍卖、游戏 |
SUI 代币
- - 代码:SUI
- 总供应量:100 亿 SUI
- 用途:Gas 费、质押、治理
- 最小单位:MIST(1 SUI = 10^9 MIST)
Gas 模型
- - Gas 价格以 MIST 为单位,按计算单元计费
- 存储回扣:删除对象时返还 Gas
- 赞助交易:第三方支付 Gas
验证节点与质押
- - 委托权益证明(DPoS)
- 约 100+ 个活跃验证节点
- 将 SUI 质押给验证节点以赚取奖励
- 周期:约 24 小时
共识:Mysticeti
- - 基于 DAG 的共识协议
- 共享对象的亚秒级最终性
- 取代 Narwhal/Bullshark(之前使用)
Sui 与其他链的比较
| 特性 | Sui | 以太坊 | Solana |
|---|
| 模型 | 以对象为中心 | 基于账户 | 基于账户 |
| 语言 |
Move | Solidity | Rust |
| TPS | 10 万+ | 约 15 | 约 6.5 万 |
| 最终性 | <1 秒 | 约 12 分钟 | 约 400 毫秒 |
| 并行执行 | 是(对象) | 有限 | 是 |
生态系统
钱包
- - Sui Wallet(官方)
- Suiet
- Ethos
- Martian
DEX
- - Cetus
- Turbos
- DeepBook(订单簿)
NFT 市场
- - BlueMove
- Clutchy
- Hyperspace
开发者工具
- - Sui CLI
- Sui Explorer
- Move Analyzer(VSCode)
常见问题
Sui 兼容 EVM 吗?
不兼容。Sui 使用 Move,而非 EVM。但存在桥接工具可将资产从 EVM 链转移过来。
Sui 有多快?
- - 拥有对象交易:约 200 毫秒
- 共享对象交易:约 390 毫秒
- 理论 TPS:100,000+
如何质押 SUI?
- 1. 打开 Sui Wallet
- 进入质押选项卡
- 选择一个验证节点
- 输入金额并确认
Sui Move 和 Aptos Move 有什么区别?
- - Sui 使用以对象为中心的存储
- 不同的标准库
- Sui 具有原生对象原语
- Move 2024 中存在一些语法差异
回答工作流程
- 1. 识别问题类型:
- 一般知识 → 从此技能回答
- Move 编程 → 参考 sui-move 技能
- 特定 API/代码 → 搜索参考资料
- 2. 如需搜索:
bash
rg -i 问题关键词 {baseDir}/references/
- 3. 提供清晰答案,包括:
- 直接回答优先
- 支持性细节
- 相关官方文档链接
官方资源
- - 网站:https://sui.io
- 文档:https://docs.sui.io
- GitHub:https://github.com/MystenLabs/sui
- Discord:https://discord.gg/sui
- Twitter:@SuiNetwork