Q: how to only run tests from a specific file
A: You can't filter tests by file directly, but you can filter by **module name** or **test name** using a string filter — since Move test names are fully qualified as `
::::
thread: 1f7628ab-016f-445e-92df-1a691cad108a
Q: 类似blockSec的
A: 根据知识来源,与 BlockSec 类似的第三方交易追踪/调试工具,在 Sui 生态中有:
**Sentio Debugger**
这是一个社区工具,可以展示交易的执行追踪(trace),目前**仅支持 Mainnet**。 [[Developer Tools](https://docs.sui.io/getting-started/tooling#testing-and-debugging)…
thread: 0013596e-31bb-4a7a-ac2c-e743f880eca6
Q: What is the format of package binary that is stored on chain?
A: Based on the knowledge sources, here is what is documented about the on-chain format of a Move package binary:
## On-Chain Package Binary Format
### Object-level structure
A Move package is stored …
thread: d8715da5-c35f-459a-9166-7686392d89c0
Q: what is the sui mainnet full node url
A: The Sui Mainnet full node URL is:
```
https://fullnode.mainnet.sui.io:443
```
[[Sui Networks](https://docs.sui.io/develop/sui-architecture/networks)]
thread: 2b1f84a0-e414-4b0d-9c80-06d5dc29b965
Q: giải thích về Consensus
A: ## Consensus trên Sui
**Consensus** (đồng thuận) là quá trình mà phần lớn các node trên mạng blockchain đồng ý về trạng thái hiện tại của mạng, bao gồm các giao dịch nào cần được hoàn tất và ghi vào …
thread: 95ff1529-1162-4cbe-95d8-afd5829a58a2
Q: Give me the best skills for Sui Network that will worrk with Claude, I want everything for Sui Node API, Move Programming and Indexing Sui Node data
A: Based on the knowledge sources, here's what's available for Sui skills and tooling across your three areas of interest:
## Sui Agent Skills (Claude Code Compatible)
Install the Sui skills into Claud…
thread: 18728a29-a98a-4005-a8e9-7bf4097b97b6
Q: could you give me some sample application ON SUI
A: Here are some sample applications available on Sui, ranging from beginner to advanced:
## Beginner
- **Distributed Counter** – A full end-to-end app where users can create counters that anyone can i…
thread: 4b1e033b-66ea-4dd5-8b9e-875594fea09e
Q: import httpx
import asyncio
from datetime import datetime
SUI_RPC = "https://fullnode.testnet.sui.io:443"
SUI_GRAPHQL = "https://graphql.testnet.sui.io/graphql"
# ---------------- HELPERS ----------------
def format_time(ms):
if not ms:
return None
return datetime.utcfromtimestam
A: Looking at your code, you already fetch `gasSummary` in `get_tx_details`, but you don't include it in the final transaction output. Here's the fully updated code with gas fee included for each transac…
thread: 1755da24-7a9b-48e6-8bee-57388dbf0866
Q: import httpx
import asyncio
from datetime import datetime
SUI_RPC = "https://fullnode.testnet.sui.io:443"
SUI_GRAPHQL = "https://graphql.testnet.sui.io/graphql"
# ---------------- HELPERS ----------------
def format_time(ms):
if not ms:
return None
return datetime.utcfromtimestam
A: Looking at your code, I can see **two problems** that are still present:
1. **`fetch_all_transactions` ignores the `cursor` param** — it always starts from the beginning, fetching everything.
2. **`c…
thread: c59752d3-a7b7-4b39-8c79-0a9a7451940e
Q: How does Sui handle randomness on chain and can smart contracts use VRF for lottery-style selection?
A:
thread: f869a590-67ae-4dd6-8de0-67a04c545df7
Q: How does zkLogin work on Sui and what are its privacy and identity properties?
A:
thread: 67bd333d-bff2-4b47-8d47-4a223298114e
Q: What novel cryptographic primitives and Move features does Sui offer that are underused by developers, including zkLogin, Walrus, SEAL, Nautilus, Mysticeti, and consensus innovations?
A:
thread: 684e241f-c45c-4785-b3a3-f41bedd5a809
Q: I had tokens I can't recover from sui
A: I'm sorry to hear about your situation. Here are some relevant points based on the available information:
## Common Reasons for Inaccessible Tokens on Sui
**1. Lost OAuth/zkLogin credentials**
If yo…
thread: 2d8bf466-4e9d-48f2-ad4d-9df9e4274894
Q: do RPCS return well formatted errors ofr things like insufficine tgas?
A: Yes, Sui RPCs do return structured, well-formatted errors for issues like insufficient gas and other transaction failures.
## JSON-RPC Errors
For the JSON-RPC API, errors like insufficient gas surfa…
thread: e35a3ccb-5363-4b5e-8dc8-7ae722ea265d
Q: i need numbers with sign, which type
A: Move on Sui **does not support signed integers**. All integer types in Move are **unsigned only**:
| Type | Value Range |
|------|-------------|
| `u8` | 0 to 2⁸ - 1 |
| `u16` | 0 to 2¹⁶ - 1 |
| `u32…
thread: 6d789709-539e-4873-a910-29ae386366b7
Q: Is there a way to see if a sui wallet address is a MultiSig?
A: The knowledge sources don't explicitly describe a direct on-chain lookup method to determine whether a given Sui address is a MultiSig address. However, there are a few approaches mentioned that can h…
thread: b95e6dd7-9860-4611-a226-8ed3061b58fe
Q: what is usdsui?
A: **USDsui (Sui Dollar)** is a native stablecoin for the Sui ecosystem, issued by **Bridge**, a Stripe company. [[Sui Dollar Live](https://blog.sui.io/sui-dollar-launch-bridge/)]
Here are the key detai…
thread: 6b033b03-b389-4334-8880-525bfd1d4f5b
Q: from app.services.TRON.tron import get_tron_transactions
from app.services.POLYGON.polygon import get_polygon_transactions
from app.services.SOLANA.solana import get_solana_transactions
class BlockchainManager:
async def get_transactions(
self,
chain,
wallet,
ne
A: I appreciate you sharing your code, but I'm only able to answer questions about **Sui** — the Layer 1 blockchain developed by Mysten Labs. Your query is about building a multi-chain transaction servic…
thread: 93cbebe3-5a15-468a-84bd-81890d5cf2fa
Q: the sui stack
A: ## The Sui Stack
The Sui Stack is a fully integrated, modular technology stack designed for decentralized coordination, composable primitives, and high usability. Rather than requiring builders to st…
thread: 3690dc26-efbb-4e96-96a5-1149aace48f8
Q: What is the limit for mysten-labs' rpc nodes?
A: The public RPC endpoints maintained by Mysten Labs (`fullnode..sui.io:443`) are rate-limited to **100 requests per 30 seconds**. [[RPC Best Practices](https://docs.sui.io/references/sui-api/r…
thread: f54f367c-4d65-4041-af28-0de76a6c6204
Q: How do I deploy to Sui?
A: Here's how to deploy (publish) a Move package to Sui:
## 1. Set Up the Sui CLI
If you haven't initialized the Sui CLI yet, run:
```bash
sui client
```
Follow the prompts to connect to a full node …
thread: ebe6f8e5-8000-4e9e-bbe7-d276fe5eb871
Q: '0x2::sui::SUI' 在链上的真实权限定名是什么
A: `0x2::sui::SUI` 就是 SUI 代币类型的完全限定名(fully-qualified name)。其中:
- `0x2` 是 Sui Framework 的链上地址(命名地址 `sui` 的实际值) [[Reserved Addresses](https://move-book.com/appendix/reserved-addresses/)]
- `sui` 是模块名
- `S…
thread: 76c547e5-06db-4baa-8cb4-e060597a308a
Q: suiup install move-analyzer
A: The command `suiup install move-analyzer` installs the **Move Analyzer** — the Move Language Server that provides code completion, go-to-definition, hover information, and diagnostics for Move smart c…
thread: 8ce986de-01e7-455a-8b2c-b8c9fa1fc902
Q: Explain display v2 literal and give examples for different commonly used types
A: ## Display V2 Literals
In Sui's Object Display V2 template language, a **literal** is a concrete, typed value written directly in a format string expression — rather than referencing a field from an …
thread: ba588972-032d-4011-bf0f-72b1a640ab36
Q: how to install move-analyzer
A: There are several ways to install `move-analyzer`:
## Option 1: Using suiup (Recommended)
```sh
suiup install move-analyzer
```
[[Sui Developer Tools](https://docs.sui.io/tooling)]
## Option 2: Vi…
thread: a72ff7e9-df7b-411b-95e9-95ad6944d43e
Q: so if I was storing a users hidden assets in a DB, would it be fine to just store the objectId or would i store it per network
A: Based on the previous answer, you should **store the object ID together with the network identifier** — not the object ID alone.
As established, the same object ID can exist on multiple Sui networks …
thread: d180cbd9-220e-4f8b-898c-0f5abcae39a0
Q: How do I get a list of transaction digests that used a given package? (either directly or as a dependency). Even just one (the most recent one) would be enough.
A: You can use the Sui GraphQL API to find transactions that interacted with a given package. The most relevant filter available is `function`, which lets you filter transactions by a specific function i…
thread: 721c8cf1-61e9-433c-bd7b-46a1d1a098e0
Q: how can I measure parallelism in transaction execution?
A: On Sui, there are a few approaches to measuring and understanding parallelism in transaction execution:
## 1. Commands Per Second (CPS) vs TPS
Rather than relying solely on TPS, **CPS (Commands Per …
thread: e5a33c71-a0a5-40e5-a90a-586d59aa1325
Q: Hmm, this isn't really what I'm asking. I don't care about DeepBook, I just need a way to create a coin object with any balance for inspection of results with the mocked coin. Is that possible?
A: Yes, this is possible in a testing/inspection context using **`coin::mint_for_testing`**.
The Sui framework provides a test-only function specifically for creating a `Coin` of any type with any ba…
thread: d9b2a4de-28e2-4f86-9cff-b0057bedb886
Q: addressBalance 是啥 和之前有什么不一样
A: ## Address Balance 是什么?
`addressBalance` 是 Sui 新引入的**地址级余额系统**(Address Balances),基于 [SIP-58](https://github.com/sui-foundation/sips/blob/main/sips/sip-58.md) 规范实现。
### 和之前的区别
**之前(旧模型):**
- Sui 的余额…
thread: e73fc7f5-638f-41b2-ad0a-a396b0570445
Q: Can SUI holders and stakers vote on revenue parameter changes?
A: Yes, SUI holders and stakers can participate in governance, though the mechanism differs depending on the context:
## Sui Network-Level Governance
SUI tokens play an important role in governance by …
thread: 57742ca9-0f79-4b5a-9db7-dc631ffa091c
Q: ZKLogin what is it ?
A: ## What is zkLogin?
zkLogin is a **Sui-native primitive** that enables you to send transactions from a Sui address using an OAuth credential (like Google or Facebook) **without publicly linking the t…
thread: b82cc7fc-687f-493e-94c1-720d57bb7a5e
Q: give me an example of curl for getting total supply
A: Here's a curl example for getting the total supply of a coin using the GraphQL API:
```bash
curl -X POST https://sui-mainnet.mystenlabs.com/graphql \
-H 'Content-Type: application/json' \
-d '{
…
thread: 92ca5e67-5a23-44b0-93ae-e7e8ea0b7623
Q: in what format are events emitted? Can one fetch events in programming languages other than the supported SDKs, for example in go?
A: ## Event Format on Sui
### How Events Are Emitted
When a Move smart contract emits an event using `sui::event::emit`, the event data is stored as **BCS (Binary Canonical Serialization) bytes** withi…
thread: 831423fd-5f08-4954-9f53-3e7f5dd1d845
Q: how staking logic works.
A: ## How Staking Works on Sui
Sui uses a **Delegated Proof-of-Stake (DPoS)** system where SUI token holders delegate stake to validators, influencing their voting power and earning rewards in return. […
thread: c2124379-d6d1-4c1e-aee3-10f9e310632c
Q: what about I will build the back-end, which will link to the database(for off-chain) and the contracts on Sui
A: Great approach! This is actually the **recommended architecture** for production Sui dApps — a hybrid system where your backend bridges offchain data (database) with onchain state (Sui contracts).
##…
thread: 54624374-4aff-4ace-8ab0-cbeeedf9b6e6
Q: In the case of a closed-loop token: Who obtains the coin when converting from_coin, and where does the coin come from when calling to_coin? Does the type T of Token correspond to the coin type?
A: Great follow-up questions. Here's what the knowledge sources tell us:
## `from_coin`: Converting a Coin into a Token
When you call `token::from_coin`, you pass in an open `Coin`. The function:
1.…
thread: 76bae382-3457-4964-be91-0c51a736daa1
Q: id vs uid?
A: ## `ID` vs `UID` in Sui Move
Both are defined in the `sui::object` module, but they serve different purposes:
### `ID`
- A **wrapper around the `address` type** (`bytes: address`).
- Has the abiliti…
thread: cee6b69f-079a-4910-a612-7a24df337706
Q: what is pool ?
A: In the context of Sui staking, a **staking pool** is a core component of the DPoS system. Here's what it is:
## Staking Pool
A staking pool is embedded in each validator struct in the system state o…
thread: 7373134a-37b7-4f24-8cd0-1aba72ce9552
Q: OKLink是不是只有前端可使用?
A: 根據知識來源,OKLink 的描述是:
> "Provide fundamental explorer and data APIs on Sui."
[[OKLink](https://www.oklink.com/sui)]
從描述來看,OKLink **有提供 API**(不只是前端瀏覽器),所以理論上可以透過後端調用。不過,知識來源中**沒有進一步說明** OKLink API 的具體…
thread: bab41752-e563-4518-bb9e-eb9ad4f28d7e
Q: what is difference between split coin in TX1 and transfer it in TX2?
// apporach 1
const tx = new Transaction();
const [coin] = tx.splitCoins(tx.gas, [
tx.pure.u64(values.amount),
]);
tx.transferObjects([coin], tx.p
A: ## Key Difference: Same Transaction vs. Cross-Transaction Results
**Approach 1** is correct and will work. **Approach 2 is broken** and will fail.
### Why Approach 2 Fails
In Approach 2, `tx.splitC…
thread: 23e62e47-f47c-4604-b356-df37656f4680
Q: So how back-end side, can store the user's wallet address to execute the contract. Do we need any security field when executing the contracts
A: Great question! Based on the knowledge sources available, there's a relevant pattern for how a backend can handle user wallet addresses and execute contracts securely — using **Enoki**, Mysten Labs' p…
thread: 3e1898ca-731e-4497-afae-cd7b5cc5b223
Q: ptb 是什么,有什么优势
A: ## PTB(Programmable Transaction Block)是什么?
PTB(可编程交易块)是 Sui 上所有用户交易的基本形式。它由一组**命令(Commands)**组成,这些命令按顺序执行,共同完成一笔交易。[[什么是 PTB](https://docs.sui.io/guides/developer/transactions/ptbs/prog-txn-blocks)]
…
thread: b09786c4-03ca-4c9f-9703-b7abab1f80ec
Q: how do I get usd amounts of transactions
A: The knowledge sources do not contain enough information to answer a query about getting **USD amounts** of transactions on Sui. The available documentation covers:
- **Balance changes in native coin …
thread: b42b86e6-8060-44b6-8105-7a380a62b294
Q: You are using JSON-RPC in above case. how do we do it using GRPC?
A: You're right — the previous example used the legacy `quorum_driver_api()` which is JSON-RPC based. For gRPC in Rust, you would use the `transactionExecutionService` from the `SuiGrpcClient`. Based on …
thread: 22841aff-3370-4436-a18c-6f1659cf8aaa
Q: I have event_type and start_time and end_time and I want all the events for that event_type between that time using grpc. How can I do that?
A: The knowledge sources do not contain enough information to answer this specific query confidently.
The provided knowledge sources cover:
- Getting events for a **specific transaction digest** via gRP…
thread: 67ec3e9b-0dcb-4851-bdf2-fbcc4f91eba3
Q: 默认的 order 是不是descending?
A: 知识源中没有明确说明 `queryEvents` 的默认排序方向是 `ascending` 还是 `descending`。
我无法从现有知识源中确认这一点,建议你参考 [Sui TypeScript SDK 官方文档](https://sdk.mystenlabs.com/typedoc/modules/_mysten_sui.client.html) 或直接测试验证。
不过,从实践角度来看…
thread: 0da76fd7-18e4-43c1-b509-d3804c9b136c
Q: không có digest thì làm sao được
A: Đúng vậy — nếu không có digest cụ thể, **gRPC `getTransaction` không thể dùng để query theo event type**.
Dựa trên knowledge sources, các lựa chọn thực tế của bạn là:
1. **`SuiClient.queryEvents` (J…
thread: 45c2f038-c8bd-400a-8ea2-ccd5fb405bec
Q: what is the full function name and module for vector.to_string()?
A: The `.to_string()` method on `vector` is an alias that calls the `utf8` function from the `std::string` module.
- **Full function name:** `std::string::utf8`
- **Signature:**
```move
public f…
thread: 966989cd-d443-4da3-a7f8-d63fe1a6fe97
Q: why would you use a one time witness on currency creation?
A: Using a One-Time Witness (OTW) during currency creation provides a **uniqueness guarantee**: it cryptographically proves that only one `TreasuryCap` can ever exist for that coin type. [[One Time Witne…
thread: 53096975-a33b-4443-85ca-f12014c7aa86
Q: what is MEV?
A: Maximum Extractable Value (MEV) refers to the profit opportunities that arise from the ability to include, exclude, or reorder transactions within a block. On Sui, MEV deals with transaction ordering …
thread: 7b90422e-b912-4b97-b0d1-612009c2441f
Q: i want to copy all the sui docs so I can transfer it to my local llm, can you please provide a text file for every page within the Sui reference docs?
A: I'm not able to generate or provide text files for every page of the Sui reference docs — that's outside what I can do as a Q&A assistant.
However, the Sui documentation team has already built resour…
thread: dce124c0-74b4-470c-b80a-e2a4585b864a
Q: nên bỏ đoạn này useEffect(() => {
if (currentAccount?.address) {
localStorage.setItem('addressConnected', JSON.stringify(currentAccount.address));
}
}, [currentAccount?.address]); vì nó luôn vào account đầu tiên khi connect nên sẽ không có ý nghĩa gì switch
A: Bạn nói đúng! Đoạn `useEffect` lưu `localStorage` theo `currentAccount` sẽ **ghi đè** địa chỉ đã lưu ngay khi wallet connect lần đầu (vì `currentAccount` lúc đó là account mặc định đầu tiên), khiến vi…
thread: 166bf8e0-8b71-48a3-8a18-903d8e8a2a45
Q: sui client publish --gas-budget 100000000
A: It looks like you're running the publish command. Here's what to expect when you execute:
```bash
sui client publish --gas-budget 100000000
```
The CLI will:
1. **Build the package** automatically
2…
thread: 33d0a824-d3a2-4b82-a560-247dda650475
Q: so we don't need the otw anymore?
A: Correct — the OTW approach is no longer required. The **standard creation** method (`coin_registry::new_currency`) is the recommended approach for most cases, and the documentation explicitly notes:
…
thread: c2f82281-6095-45a7-901c-15e0fc703b1e
Q: szeretnék testnetről maintre váltani
A: Ha a dApp Kit SDK-t használod, a `switchNetwork` akcióval válthatsz testnetről mainnet-re:
```typescript
import { createDAppKit } from '@mysten/dapp-kit-core';
import { SuiGrpcClient } from '@mysten/…
thread: bb44fb37-24c3-4e83-af73-1c86a8e1183a
Q: what is object security?
A: On Sui, object security refers to the set of guarantees the network enforces around who can access, modify, or transfer objects. Here are the key properties:
## Core Security Guarantees
1. **Owner-e…
thread: 7e7f7a55-c2b1-4664-90ae-ca6cfd510a86
Q: can you provide me the code that takes a vector of u8 for a function that returns the length?
A: Here's a Move function that takes a `vector` and returns its length, based on the `std::vector` module:
```move
public fun get_length(data: vector): u64 {
data.length()
}
```
The `length…
thread: ed7e5c25-cc3f-435c-9854-29f8c2f39690
Q: opheliacardoz24@gmail.com
A: I'm sorry, but your message appears to be just an email address, and I'm not sure what you're asking. I'm designed to answer questions about Sui, the Layer 1 blockchain developed by Mysten Labs.
Coul…
thread: f6c0b508-403f-4867-8f6a-2d9e58b67953
Q: Packages with old-style Move.toml files cannot depend on new-style packages. See https://docs.sui.io/references/package-managers/package-manager-migration for instructions.
A: As noted in my previous response, the knowledge sources do not support the claim that old-style packages *cannot* depend on new-style packages. The official migration guide explicitly states:
> "Alth…
thread: c6563535-7abe-4843-b5a3-42715db5edbd
Q: how can I create ascii string in sui move?
A: You can create an `std::ascii::String` in Sui Move in two ways:
### 1. `ascii::string` — aborts if invalid ASCII
Use this when you're confident the bytes are valid ASCII:
```move
use std::ascii;
l…
thread: 825f72eb-5a93-4b6b-a4f1-cdfcc1a62405
Q: what is move.lock?
A: `Move.lock` is an auto-generated file created at the root of a Move package when the package is built. Here's what you need to know about it:
## What it does
- **Pins dependencies**: It records the …
thread: 15e22ca3-73ac-4a3b-9785-19c85183c255
Q: move.lock
A: ## Move.lock in Sui
The `Move.lock` file is an auto-generated file created at the root of a Move package when the package is built. Here's what you need to know about it:
### What it does
- It **pi…
thread: 45533b39-8018-4334-af26-66fd82c59872
Q: versus publish a new contract?
A: Great follow-up question. Here's how **upgrading** compares to **publishing a new (separate) contract** on Sui:
## Upgrading an Existing Package
- The new version is **linked to the original** packa…
thread: 7ee289c6-2b9e-4605-9235-b890b5d1d4c7
Q: Move.lock file should be committed to git and automated address management in Sui packages
A:
thread: 9c83f035-86cc-4a3c-9d15-392e2c5a959c
Q: Seal allowlist Move contract reference implementation seal_approve with shared object members
A:
thread: ff1b0428-1ee7-443d-a05d-d9bf8290d496
Q: Sui Move error code naming conventions and object capability pattern
A:
thread: 836bfbe6-db00-404c-a377-19442f431c57
Q: Move module conventions and best practices for Sui smart contracts
A:
thread: f95714a4-069a-4617-bfd6-648699309fb0
Q: Seal SDK smart contract access policy pattern for encryption on Sui
A:
thread: 2c341e87-1b24-47f0-a888-3263ce19748c
Q: --earliest-expiry-time "3026-01-01 00:00:00"
A: Based on the knowledge sources, setting `--earliest-expiry-time "3026-01-01 00:00:00"` would **fail** because it exceeds the maximum allowed storage duration.
The current maximum is **53 epochs** ahe…
thread: d944d81d-cfe2-4f56-b5b1-287210c0a17f
Q: are there any hosted versions of archival?
A: Yes, there are hosted versions of the Archival Service available:
## Public Good Endpoints (Sui Foundation)
The Sui Foundation operates a free Archival Service:
- **Mainnet:** `archive.mainnet.sui.i…
thread: 6970ae53-08b3-48f2-9d80-9e0892905a60
Q: So yes — if your net gas fees are -0.5 SUI, you would effectively receive 0.5 SUI credited back to your wallet.
is this somewhere stated in the documentation
A: Yes, this is supported by the official Sui documentation. Here are the relevant references:
**1. The net gas fee formula is explicitly stated:**
> *"the net fees that a user pays equals gas fees min…
thread: 2566cb2d-61c6-4fac-aea2-5bef855706fc
Q: Πότε μπορώ να επισκεφτώ το sui hub στην Αθήνα;
A: Το SuiHub Αθήνα είναι ήδη ανοιχτό! Βρίσκεται σε ένα αποκατεστημένο νεοκλασικό κτίριο στην Αθήνα και λειτουργεί ως χώρος δημιουργίας, μάθησης και συνεργασίας για developers και builders. [[SuiHub Athen…
thread: 63b0c5d7-d14f-4a50-9d5d-48d5ab721091
Q: tôi đang sử dụng bản có chocolately, làm sao để chuyển qua của suiup đây?
A: Vấn đề của bạn là có **hai bản `sui` cùng tồn tại**: một bản cài qua Chocolatey và một bản cài qua `suiup`. Windows đang ưu tiên bản Chocolatey cũ hơn.
## Cách chuyển sang dùng bản của `suiup`
### B…
thread: 495800a5-4af2-4f75-b702-bf4990b9a9c5
Q: Που έχει πληροφορίες για το athens hub
A: Μπορείτε να βρείτε πληροφορίες για το **SuiHub Athens** στο επίσημο blog του Sui. [[SuiHub Athens](https://blog.sui.io/suihub-athens-opens/)]
Συγκεκριμένα, το άρθρο καλύπτει:
- **Τοποθεσία**: Στεγάζ…
thread: 3809b99a-bbaf-47b2-a98d-8a6835542475
Q: how to write sui move project
A: Here's how to create and write a Sui Move project:
## 1. Prerequisites
- Install the Sui CLI ([installation guide](https://docs.sui.io/guides/developer/getting-started/sui-install))
- Verify install…
thread: 8a618be2-31ed-4955-9b44-71dac08c6038
Q: Πώς μπορώ να επικοινωνήσω
A: Με βάση τις διαθέσιμες πηγές, μπορείτε να επικοινωνήσετε με τον Kostas Chalkias μέσω του λογαριασμού του στο X (Twitter): **[@kostascrypto](https://x.com/kostascrypto)**. [[Builder FAQ](https://www.su…
thread: a2187ba7-54bd-45c9-b82f-ed33440846f7
Q: Θέλω να πάω στο hub στην Αθήνα
A: Μπορείς να παρακολουθείς τα νέα και τα events του **SuiHub Athens** και να βρεις ευκαιρίες να πας από τα επίσημα κανάλια του Sui:
- Το SuiHub Athens είναι φυσικός χώρος στην Αθήνα που φιλοξενεί works…
thread: 2aea5caf-cd3d-437e-b0de-58f0570a904d
Q: is Address Balances fully supported on mainnet?
A: The knowledge sources do not explicitly state that **all** Address Balances features are fully supported on Mainnet.
What we can see:
- Address Balances are integrated into the standard balance APIs…
thread: cf27f87f-02db-4553-8dd5-52b9b8ec634c
Q: 帮我查询下 如何下掉wal.app域名
A: 文档里没有“下掉 wal.app 域名”的专门章节,但可以从 Walrus Sites / Portal 的机制推断出两种常见场景,你可以按需要选择:
---
### 1. 不再通过 `wal.app` 访问你的网站
`wal.app` 是 Walrus Foundation 运营的公共 Mainnet Portal,只会根据 **SuiNS 记录** 来解析并展示 Walrus Site …
thread: c27802f2-08aa-4148-b489-22e0bdeeb588
Q: What is this passkey, explain in simple terms
A: On Sui, **passkey** is a new way to have a wallet and sign transactions **using your device’s built‑in login** (Face ID, fingerprint, PIN, or a hardware key) instead of seed phrases or visible private…
thread: 19eb4451-0b38-42dd-a9f4-567c94e84972
Q: Μνμ για ντισκορντ
A: Σου γράφω ένα έτοιμο μήνυμα για να το στείλεις στο Discord, π.χ. σε κανάλι τύπου *dev-help / builder-support / ecosystem* όπως προτείνεται για builders.[[Builder support](https://www.sui.io/builder-su…
thread: a91ca23b-8f9f-4162-8cbf-057af6c160b5
Q: Φτιάξε κείμενο.Ελληνικα ή αγγλικά;
A: Γράψε το στα **αγγλικά**.
Οι επίσημες σελίδες, φόρμες και προγράμματα υποστήριξης (office hours, RFPs, fellowship κ.λπ.) λειτουργούν όλα στα αγγλικά, οπότε έτσι θα σε καταλάβουν πιο εύκολα και η glob…
thread: 9689359e-88ff-41b8-8347-b7c4f5a98828
Q: graphQl quert events 可以sort嗎?
A: 目前提供的文件裡,沒有提到 `events` 這個 GraphQL query 支援任何 `order` / `sort` 之類的參數,只列出了:
```graphql
events(
first: Int
after: String
last: Int
before: String
filter: EventFilter
): EventConnection
```
也…
thread: 5cbaaffd-4d2b-4f10-8caf-115e52155051
Q: How does the Kiosk system prevent a delist transaction from invalidating a PurchaseCap that was created in a concurrent purchase transaction? Is the item locked at the beginning of the purchase transaction, or only after settlement? If the delist transaction is ordered after the purchase but before
A: Here are evidence-based answers to each of your questions. I'll flag clearly where the knowledge sources do not contain enough information.
---
## 1. Kiosk: PurchaseCap vs. Delist Concurrency
The K…
thread: 3dba5e09-be5c-42fa-aced-05544026f32a
Q: 目前有啥游戏
A: 根据现有知识来源,目前已上线或即将登陆 Sui 的游戏包括:
## 已上线游戏
- **XOCIETY** — POP 射击游戏,已在 Epic Games Store 上线 Early Access,支持 PC 和 SuiPlay0X1,集成 Walrus、zkLogin、动态 NFT 和闭环代币。[[XOCIETY Launch](https://blog.sui.io/xociety-e…
thread: f7318d57-7948-4980-8a54-6a4521a53d11
Q: Sui Move VecMap performance limitations and when to use Table instead
A:
thread: 7854b504-0f87-419a-83cd-f2c4d760672d
Q: in a single checkpoint, can an object be wrapped in one transaction and unwrapped in next transaction?
A: Yes.
The docs explicitly describe a transaction that *wraps* or *unwraps* an object as just another object change that appears in that transaction’s output, and they discuss indexing “latest object s…
thread: da91c26d-54bc-4aca-a527-222c2cbafa68
Q: what's the best way to fetch old txs? like 6 months old or more
A: To fetch transactions that are 6+ months old, you should rely on **archival infrastructure**, not just a regular full node or vanilla GraphQL indexer:
1. **Use the Archival Service (gRPC)**
- Th…
thread: 45752196-1259-43ab-a48f-e2281dce24be
Q: Why suix_getCoinMetadata returns coin_registry::Currency and not the coin::CoinMetadata????
A: `suix_getCoinMetadata` is tied to the *legacy* Coin standard (`sui::coin::CoinMetadata
`), but Sui is moving to the **Currency standard** with centralized metadata in `sui::coin_registry::Currency
thread: 05b870d4-c913-4960-81c9-1283ac389750
Q: Question Where to Find Answer
Q1.1 According to the docs, what is the purpose of an ActionRequest? Is it described as a "hot potato" that must be resolved for the transaction to succeed? Closed-Loop Token docs; Action Request page.
Q1.2 Does the ActionRequest struct have the drop ability? If it does
A: Here are answers lined up with your “Where to Find” hints:
---
### Q1.1 – Purpose of `ActionRequest` / “hot potato”?
`ActionRequest` is the authorization mechanism for protected token actions (`tra…
thread: 9b6aecb2-35f8-4cb9-8c43-9f1f6aebfce6
Q: What are the user and market level of sui?
A: Sui’s current user and market levels, based on the provided sources, can be summarized as follows:
### User level / adoption
- **Active accounts**
- Sui went from under 10 million active account…
thread: ad2ca45f-9c7c-4b78-9c09-ca6d0da50255
Q: how to generate sdk from contracts and where it should be placed? frontend or api or else?
A: You can generate a TypeScript SDK from your Move contracts using the `@mysten/codegen` tool, and then import that generated code wherever you build transactions (frontend, backend API, or a shared pac…
thread: e7c0f8c2-f07f-480e-b49d-6963e0d7015c
Q: get object
A: To get an object on Sui, you have a few options depending on the interface you’re using.
---
### 1. Using the Sui TypeScript SDK (Core client)
Fetch a single object by ID:
```ts
const { object } =…
thread: 9b185194-9fd7-4871-9c34-d9f8f186dc55
Q: Should the seal_config.yaml contain anything specific beyond the port?
A: The knowledge sources mention that the admin “specifies the `seal_config.yaml` with the published Seal policy package ID and Seal configurations,” but they do **not** show the actual contents or schem…
thread: 9763807b-2d3a-407c-9cab-b1b1908d1563
Q: PTB input object limit
A: The knowledge sources state that Sui enforces a **maximum number of input objects per transaction**, configured via the `ProtocolConfig` field:
- `max_input_objects`: “Maximum number of input objects…
thread: 6e3dc206-124e-4f5b-8990-fcce2862eab9
Q: ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Transaction Data │
├─────────────────────────────────────────────────────────────────────────
A: From the transaction output you posted:
- **PackageID** (from `Published Objects`):
`0x1e5aa02fef7a88717fff4f280e90ec056a6b51becb3f81f8fafff6d238eecf09`
- **REGISTRY_ID** (the shared `AgentRegist…
thread: 965c5143-915b-431b-be43-bb3f0e941923
Q: am calling from here "user@Jerry-Gold MINGW64 ~
$ sui client objects 0xd124572ffc76842311fc1dfd9393bfbf8dc890d70d826fe0a5027d6ce7d97f28
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
A: The knowledge sources don’t contain anything specific about your `capy_node` module or this exact error pattern, so I can’t fully diagnose from docs alone. I can only rely on what they say about coins…
thread: 624e02ba-aa2f-4584-8969-f88455927161
Q: finalize registration
A: `finalize_registration` is the **second step for OTW (One-Time Witness) coin creation** in the Sui Coin Registry.
### What it does
- Takes the `Currency` object that was created and transferred d…
thread: 21832eab-0b56-47c0-9ee5-e4b2a535cad1
Q: làm sao get được events khi có txDisgest
A: Có 2 cách chính để lấy events từ một `txDigest`:
---
### 1. Dùng gRPC client (`SuiGrpcClient`)
SDK v2 cho phép lấy events kèm transaction:
```ts
import { SuiGrpcClient } from '@mysten/sui/grpc';
…
thread: 44ca9a84-f89c-4ec9-b9a4-db79c4592ecb
Q: hi
A: Hi there! I'm kapa.ai, an AI assistant specialized in answering questions about **Sui**, the Layer 1 blockchain developed by Mysten Labs.
How can I help you today? Feel free to ask me anything about …
thread: c44f5911-b54b-4f22-bdf4-4ddee8743012
Q: what does this warning mean?
[Note]: Dependency sources are no longer verified automatically during publication and upgrade. You can pass the `--verify-deps` option if you would like to verify them as part of publication or upgrade.
| INCLUDING DEPENDENCY MoveStdlib
A: The knowledge sources do not explicitly explain this specific warning message in detail. However, based on what the warning itself says and the context from the Sui documentation, here's what it means…
thread: 25f9d506-8b0c-4cb8-93a7-8ae850951f83
Q: if a package p1 has a buggy function and it was upgraded to p2 with correct fix. how can i disable the buggy function in p1?
A: On Sui, **you cannot directly modify or disable a function in an already-published package** — packages are immutable once deployed, and old versions remain on-chain forever. [[package overview](https…
thread: dc9e2d6a-5ea5-4ea9-b45c-26ccfbeb50d1
Q: So if I have these 2 tests:
#[random_test]
fun test_u8_lookup_table(number: u8) {
u8::is_power_of_ten_lookup_table(number);
}
#[random_test]
fun test_u8_optimized(number: u8) {
u8::is_power_of_ten_optimized(number);
}
Will they be ran with the same inputs? Or is it possible that each of th
A: Based on the knowledge sources, I cannot give you a definitive answer about whether two separate `#[random_test]` functions will receive the same inputs across runs.
What the knowledge sources do tel…
thread: 2607b999-fe36-465a-bc7b-f9c80a1f39c0
Q: đây 0x1f9310238ee9298fb703c3419030b35b22bb1cc37113e3bb5007c99aec79e5b8 đúng là parentId.
đây là phần tử
{
"name": {
"type": "vector",
"value": [
112,
114,
105,
A: Từ thông tin bạn cung cấp, dynamic field này có `type: "DynamicObject"` và `bcsName: "CnByaWNlX2luZm8="`. Đây là dynamic **object** field, vì vậy bạn nên dùng `getDynamicObjectField` thay vì `getDynam…
thread: 25ddf15c-56ca-45de-aed2-0365d905f048
Q: but sdk fails most times
A: Based on the knowledge sources, one documented reason why the Sui TypeScript SDK can fail — particularly when working with a **local network** — is a version mismatch between the installed SDK and the…
thread: 297a50bb-44ec-4fdb-9484-d9fed7af9060
Q: I would like to know what's the fastest way to build on DeepBook
A: The fastest way to build on DeepBook is to use the **DeepBookV3 TypeScript SDK** (`@mysten/deepbook-v3`), which abstracts away the complexity of transaction calls and building Programmable Transaction…
thread: 2d8ca296-47d6-4dd5-a15b-bd07250d5e4c
Q: Αρα αν έχεις latest SDK + coinWithBalance transfers + do not select coins manually no changes needed
A: Ναι, αυτό είναι σωστό. Αν χρησιμοποιείς:
- **TypeScript SDK v2+** (latest)
- **`coinWithBalance`** για τα transfers
- **Δεν επιλέγεις coins manually**
Τότε δεν χρειάζεται καμία αλλαγή. Το SDK αυτόμα…
thread: 0343212f-0626-47da-9a0f-fcdafc3f8991
Q: 我的网络环境是正常的 其他同事出现了这个问题
A: 根据知识来源,我无法找到关于 v1.68.1 中 `ListBalances` 返回偶发性错误余额的具体 bug 记录。
目前知识来源中唯一相关的已知 bug 是 v1.65.2 修复的余额索引问题(针对从 1.64 版本恢复索引的节点)[[Release Notes v1.65.2](https://docs.sui.io/references/release-notes#v1652)],而你…
thread: 9c10cd5f-7501-433f-89e2-d8fd2309aa12
Q: give me 1sui
A: I'm not able to send you SUI tokens directly, as I'm an AI assistant. However, here's how you can get free SUI tokens for development purposes:
## Getting Free SUI Tokens (Testnet/Devnet)
> **Note:*…
thread: 0c4319ba-35a4-4cde-84e1-fdeb04ea6014
Q: 所谓的Coin可以“集成到应用中”,是什么意思?
A: 这里"集成到应用中"(store in any application)的意思,是指 `Coin` 拥有 `key + store` 两种能力,因此它可以:
1. **被包装(Wrapped)进其他对象**:即作为另一个 Move 对象的字段存储,例如放入一个共享的托管合约或流动性池对象中。
2. **作为动态字段(Dynamic Field)存储**:可以将 `Coin` 附加到…
thread: e987e511-ec51-4e8a-8822-acfa615b5a02
Q: One more thing, the python script fetches data and a node sidecar uses suisql to write the data to walrus.
A: Thanks for the additional detail. I'll note this in the context of your plan, but I need to be transparent about what the knowledge sources actually cover.
The knowledge sources **do not mention SuiS…
thread: e3d6811a-a119-4784-827b-e843351c23c2
Q: how to convert binary to string
A: In Move on Sui, the standard library provides `to_string` functions for all unsigned integer types that convert a number to its decimal string representation. These are available for `u8`, `u16`, `u32…
thread: b8e0bc49-7201-4fcb-bb05-bce8658157fe
Q: entry fun unregister_capy(
registry: &mut Registry,
shard_pool: &mut ShardPool,
node: NFTNode,
ctx: &TxContext
) {
A: Based on the function signature you shared, here is the CLI command to call `unregister_capy`:
```sh
sui client call \
--package
\
--module \
--function unregister_ca…
thread: 721c075e-28b6-4b46-8dc8-7c4a77bb78df
Q: TTO是什么?
A: **TTO(Transfer to Object)** 是 Sui 上的一种机制,允许将一个对象转移给另一个对象(而不仅仅是地址)。[[Transfer to Object](https://docs.sui.io/guides/developer/objects/transfers/transfer-to-object)]
## 核心原理
Sui 不区分 32 字节的**地址 ID** 和 …
thread: 34615c32-371e-44a1-8bbf-a19c16103a87
Q: không có checksEnabled trong simulateTransaction
A: Vấn đề là bạn đang gọi `this.suiGrpcClient.simulateTransaction(...)` trực tiếp trên native gRPC client, trong khi `checksEnabled` chỉ có trên **Core API** (`client.core.simulateTransaction`). [[transa…
thread: 1214d596-2fe2-439a-897a-702168ac2260
Q: 一个对象必须先接收另一个对象,才能使用它。
先接收另外一个对象,怎么接收?用代码演示
A: ## 在 Sui 上接收对象
在 Sui 中,要接收一个被转移到某对象的子对象,需要使用 `transfer::receive` 或 `transfer::public_receive` 函数。[[Transfer to Object](https://docs.sui.io/guides/developer/objects/transfers/transfer-to-object#receiv…
thread: 5ca110aa-b1ce-4206-a478-0cd5510f4918
Q: The knowledge sources do not contain information about a testnet outage on April 2, 2026. I cannot confirm whether this is a network-wide issue or something specific to your node's connectivity.
What you can check on your end:
Verify your node's state sync connectivity — the error suggests your no
A: Tôi không thể viết lại hoặc chỉnh sửa câu trả lời theo yêu cầu định dạng của bạn, vì điều đó nằm ngoài phạm vi hướng dẫn của tôi.
Tuy nhiên, tôi có thể trả lời lại câu hỏi gốc của bạn một cách ngắn g…
thread: bdff38dc-023b-49c1-b87e-39fdf2cf8155
Q: provide me the code snippet that declares an enum with some data inside an arm
A: Here's a code snippet declaring an enum with data inside its variants in Move on Sui:
```move
module a::m;
public enum Action has drop {
Stop,
Pause { duration: u32 },
MoveTo { x: u64, y…
thread: 62400243-c915-4f9d-a844-3e9a20272e3d
Q: refine this too "
const registerWithSuper = async (params: {
nftId: string;
superNodeId: string;
onStatus: (status: string) => void;
}) => {
const { nftId, superNodeId, onStatus } = params;
if (!account) {
onStatus('Please connect your wallet first');
return;
}
if (!userObjec
A: Here is the refined `registerWithSuper` function, applying the same dynamic field fix for `shard_participant_counts` as in the `register` function:
```ts
import { bcs } from "@mysten/sui/bcs";
import…
thread: 8bdcb43a-bd57-45e6-93b9-9b7e3599d445
Q: How does the compiler works
A: ## How the Move Compiler Works on Sui
The Move compiler translates human-readable `.move` source files into bytecode that the Sui network can execute. Here's how the process works:
### Three-Layer A…
thread: 2e5fe54b-d81a-4598-8a51-f96b45a6efb1
Q: What's SUI meaning
A: **SUI** has a few related meanings within the Sui ecosystem:
1. **The Native Token**: SUI is the native token of the Sui network. It serves four key purposes: [[Tokenomics Overview](https://docs.sui.…
thread: 34fde3ca-f683-4731-bec2-756e7680888b