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: wen object v2 will release on testnet and mainnet
A: Based on the knowledge sources, **Object Display V2** was introduced in **Sui v1.68**, which has already been released on **Mainnet** (v1.68.1 is confirmed as a Mainnet release at Protocol Version 118…
thread: 4ede09a9-b1af-4bfc-997a-25b0cd9102fd
Q: automated address management
A: ## Automated Address Management in Sui
Automated address management tracks your package's on-chain address (package ID) in the `Move.lock` file whenever you publish or upgrade a package — no manual r…
thread: 74dc7649-77db-4da2-a4fb-750d79a320c3
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: how can i get a sui address from a public key
A: A Sui address is derived by hashing the **signature scheme flag byte concatenated with the public key bytes** (`flag || pubkey`) using the **BLAKE2b** (256-bit output) hashing function. The result is …
thread: d06e8437-cda3-46d9-b498-9bd27d218fec
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: why to create balance manager
A: The `BalanceManager` is a core component of DeepBook V3. Here's why you need one:
- **Holds all your trading assets:** It's a shared object that holds all balances for different assets (base, quote, …
thread: 861aacd6-c774-44a8-84a4-84a5bb574a69
Q: best sui wallets
A: Here's an overview of the most popular wallets in the Sui ecosystem:
## Official Wallet
- **[Slush](https://slush.app/)** – Built by Mysten Labs, it's the official Sui wallet. Available as a Chrome …
thread: 3e7a82d3-e242-47e6-8a78-557fe30fdbc6
Q: What causes the FeatureNotYetSupported error in a Sui upgrade transaction command 1?
A:
thread: bd863823-5e36-4440-a5d7-4ae49f1ce178
Q: On-chain reputation system and identity score for DeFi lending on Sui
A:
thread: f400d32f-494c-492c-9955-1e031e6dc5eb
Q: How do I query dynamic fields and owned objects using Sui gRPC from a TypeScript client?
A:
thread: 3b403c5f-fb5a-4d8b-b654-bc71b4c74dab
Q: Is Sui JSON-RPC being deprecated and what is the recommended modern replacement, gRPC or GraphQL?
A:
thread: bb4b58a2-67e5-4514-bab6-81140dde4a9b
Q: Does Sui allow parallel execution of transactions that read from the same shared object with an immutable reference without going through consensus?
A:
thread: 983df239-381f-47fe-ab1e-350331db92f2
Q: Is there a performance difference on Sui between accessing a shared object with an immutable reference versus a mutable reference, in terms of consensus and parallelism?
A:
thread: c7d32c3b-3909-41a9-a307-73f78534cde8
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: i got this error frequently when i use zklogin account. how often does google or zklogin rotate their key?
"message": "Verification failed: Signature is not valid: Signature is not valid: General cryptographic error: JWK not found (https://accounts.google.com - cce4e024a51aa0c1c41c1a45
A: ## JWK Rotation and the "JWK not found" Error
The error you're seeing means that the `kid` (Key ID) referenced in the JWT — `cce4e024a51aa0c1c41c1a4515a41dd7e961936b` — is no longer present in the se…
thread: a655da02-8f0a-4a97-96a1-f0fd2a74ec5a
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: what is an example of an event in sui
A: An **event** in Sui Move is a struct with `copy` and `drop` abilities that you emit to notify off-chain services (indexers, apps) when something happens on-chain. Events are not stored on-chain but ar…
thread: 6b68a132-e840-4b1f-b24e-2a2526eb6f3f
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: 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: ca549742-8121-4029-bf8b-53600fc54c42
Q: what's the equivalent of suix_getStakesByIds (from RPC), when using gRPC?
A: Based on the knowledge sources, `getStakesByIds` does **not** have a direct gRPC equivalent. It falls under the category of methods that require using **GraphQL** instead.
The recommended replacement…
thread: 54aca353-75e6-4d5c-a650-f2195d0c1a33
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: How does coinWithBalance resolve SUI coins when fundsInAddressBalance is zero? What causes "Invalid withdraw reservation" errors?
A:
thread: 1f50b2f5-b0a0-4330-b8de-bd1f8ad23992
Q: def _fetch_cids_from_sui(nft_ids: list[str], stdout):
"""Same as your original method (extracted)"""
try:
config = SuiConfig(rpc_url="https://fullnode.testnet.sui.io:443")
client = SyncClient(config)
object_ids = [ObjectID(nft_id) for nft_id in nft_ids]
resu
A: The knowledge sources provided do not contain information about the **pysui** Python SDK (`SuiConfig`, `SyncClient`, `GetMultipleObjects`, etc.), so I cannot provide specific guidance on fixing the py…
thread: a485a335-4b62-45e8-8460-75217fea04ef
Q: how much are in circulation now
A: The knowledge sources do not contain the exact current circulating supply figure. However, they do provide a way for you to retrieve up-to-date circulation data directly via the official Sui circulati…
thread: 6fce3fea-5054-476b-8958-32b48622434b
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: what's the max object size
A: The maximum size of a Move object on Sui is **256 KB**. [[Object Size Limits](https://move-book.com/guides/building-against-limits/)]
This limit applies to the `contents` part of an object and is enf…
thread: 3e82dbfb-f347-41c3-8602-f9d2cb7cd5aa
Q: do address balances hold all of my rwas? for example raw a and b?
A: No — **Address Balances don't hold your different RWA types together in one place**. Let me clarify how this works:
## How balances are stored in PAS
Each address can have **one address balance per …
thread: cb6246c1-b78b-44d0-ab4c-d4f982d764bd
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: 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: Next.js app router dApp Kit QueryClientProvider WalletProvider QueryClient set no query client set legacy @mysten/dapp-kit-react
A:
thread: 47706e07-f139-4469-9992-911b0497d7c7
Q: @mysten/dapp-kit QueryClientProvider No QueryClient set use QueryClientProvider provider order React Query WalletProvider
A:
thread: 51d17849-93be-4fc1-9f6a-c92ee4098611
Q: 给下使用 GraphQL 查询使用方式
A: 以下是使用 `SuiGraphQLClient` 查询币种精度的完整示例:
```typescript
import { SuiGraphQLClient } from '@mysten/sui/graphql';
import { graphql } from '@mysten/sui/graphql/schema';
const gqlClient = new SuiGraphQLClie…
thread: 5b955096-cf7e-4f0c-94c8-837d6637a064
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: hi
A: Hi there! How can I help you with Sui today? Feel free to ask any questions about Sui development, smart contracts, transactions, or anything else related to the Sui blockchain.
thread: 41c4492e-8088-4f05-9a10-0a8c550c2666
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: could you give me the flow when I build the front-end and contract in testnet of Sui environment. How I sync my wallet into the frontend, and do I need zkLogin for this step
A: ## Building a Sui Frontend + Contract on Testnet
Here's the general flow for connecting a frontend to a Move package on Sui Testnet:
---
### 1. Deploy Your Move Package
Before building the fronten…
thread: 2dd2f584-6d70-419e-8a8e-ee5b6a8ad28b
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: Cannot find name 's'. [2304]
2. Cannot find name 's'. [2304]
3. Unreachable code detected. [7027]
4. Unreachable code detected. [7027
A: 根據你上一則程式碼,這些錯誤來自這行:
```typescript
const dWalletCapId = /* 從 result.objectChanges 裡解析 */ '0x...';
```
這行裡的註解 `/* 從 result.objectChanges 裡解析 */` 是**佔位符**,你還沒有實際實作解析邏輯,TypeScript 可能因此產生語法或型別錯誤。
---
#…
thread: c0e4493a-8d06-4adf-9824-8ee941bbf3db
Q: What are programmable transaction blocks (PTBs)?
A: ## Programmable Transaction Blocks (PTBs)
Programmable Transaction Blocks (PTBs) are the standard way all user transactions are executed on Sui. They are groups of commands that execute on inputs to …
thread: 41856e5e-2640-4c40-a5f1-f9850f8510ff
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: the limitation of borrow reads in option.move?
A: In Move's `std::option` module, the borrow-based read functions have a key limitation related to **abilities**:
### `borrow` and `borrow_mut`
```move
public fun borrow(t: &Option):…
thread: 4fe5628b-bcb6-44d3-ae10-d94bf3852705
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: 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: could you give me the flow of system when student pay fee for that teacher what front end ,backend , sui do?
A: Here's the end-to-end flow when a student pays a fee to a teacher on your platform, based on what the Sui Payment Kit and Sui transaction lifecycle support:
---
## Payment Flow: Student → Teacher Fe…
thread: 40f3ce05-5431-4704-8aa3-0ef68aba7494
Q: could you give me API key for using your SUI MCP server
A: I'm sorry, but I'm not able to provide API keys — I'm an AI assistant designed to answer questions about Sui, and I don't have access to any API key management systems or the ability to generate crede…
thread: 8761f59c-7edd-44bf-9db6-5b6c54061b7f
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: get struct by id for test purpose
A: Based on the conversation history, you're asking how to retrieve a struct (object) by its ID in a test context in Sui Move.
## Getting a Struct by ID in Tests
In Sui Move tests, you use `test_scenar…
thread: a9cf67dc-9896-405a-bf96-097cec5948b1
Q: Okay i am using json true but can i not be even more specific than that
A: Yes! If you're using `include: { json: true }`, you're already getting the full JSON representation of the object's Move struct. But if you want to be more specific about **which fields** are returned…
thread: 38a6c504-6c1a-4144-b96f-cabd2b09a028
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: how to enable grpc on full node and on what port does it run?
A: ## Enabling gRPC on a Sui Full Node
### How to Enable gRPC
Add the following to your `fullnode.yaml` configuration file:
```yaml
rpc:
enable-indexing: true
```
This enables gRPC indexing on your…
thread: a6906da6-8a24-4cb3-87b2-fde37bdae3d0
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: 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: 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: what is sui security
A: ## Sui Security
Sui is designed to provide high security guarantees to asset owners. Here's an overview of its key security properties and features:
### Core Security Guarantees
Sui's security mode…
thread: 22683341-2f08-4a65-b0e2-86419571b15a
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: 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: 8100d0fb-7a9b-4eae-98c1-c757b917401f
Q: where is stated that nonce is againts replay attacks
A: Several places in the knowledge sources mention that nonces serve as protection against replay attacks in the context of Sui:
1. **Object versioning on Sui**: The object model documentation states th…
thread: eeea3153-6bd6-4d8f-b2f4-64beb6ff4ffc
Q: is there anywhere in the doc the definition of ehpmeral key
A: Yes, the Sui documentation defines the **ephemeral key** in the zkLogin terminology section. Here is the definition:
> `(eph_sk, eph_pk)`: The private and public key pair used to produce ephemeral si…
thread: 1ce6b54c-8d11-4b6d-b88e-4bc1c4865754
Q: can you destroy the struct on limit == some(0)? public(package) fun set_limit_destroy_on_zero(
claim_share_coins_cap: &mut ClaimShareCoinsCap,
limit: Option,
) {
if (limit == some(0))
claim_share_coins_cap.limit
A: Looking at your code, you want to destroy `ClaimShareCoinsCap` when `limit == some(0)`. However, your current function takes `claim_share_coins_cap` **by mutable reference** (`&mut`), which means you …
thread: dd581697-3715-4a69-a4f7-efce653e315e
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: 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: vậy đúng ko import { blake2b256 } from '@mysten/sui/utils';
A: Không, cách import đó **không đúng**.
`blake2b256` không được export từ `@mysten/sui/utils`. Theo tài liệu, package `@mysten/sui/utils` chỉ cung cấp các tiện ích như `fromHex`, `toHex`, `fromBase64`,…
thread: 706f766f-c186-4ce8-a595-3b0143bfc03d
Q: sui-groups PermissionedGroup Move contract membership permissions actor pattern MystenLabs
A:
thread: 41bfcaec-76ca-4998-83a0-86c8095995b6
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: sui move new smart_contract_test
A: The `sui move new` command creates a new Move package with the necessary directory structure and files. Here's what happens when you run it:
```bash
sui move new smart_contract_test
```
This creates…
thread: c8524e24-f4c9-4410-811c-b8a842f65f27
Q: Whe I iwll se the port? after indexing?
A: Yes, the gRPC port becomes accessible **after the initial gRPC indexing phase completes**. As noted in the full node documentation:
> "During the initial gRPC indexing phase, your full node may not b…
thread: 587de4a6-8833-44cd-88ac-ca1e7ba55bec
Q: public struct TOKEN_TEMPLATE has drop {}
fun init(otw: TOKEN_TEMPLATE, ctx: &mut TxContext) {
let (cap, deny_cap, metadata_cap) = init_treasury(otw, ctx);
// Transfer caps to deployer. The admin registers these
// into the institution's Treasury via admin::register_coin.
transfer::
A: No, you cannot return values from a Move `init` function.
The `init` function has strict rules: it must be **private**, have **no return values**, and takes only one or two arguments (an optional One…
thread: 303e3af8-7694-448a-abcc-da22eb503583
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: Φτιάξε κείμενο.Ελληνικα ή αγγλικά;
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: the whole goal of this function is to introduce new nft type to the game through superNode creation. but only the direct owned is working as intended. the move signature takes the new nft type as immutable reference. all am trying to achieve is to make my user able to introduce any nft of their choi
A: I’m sorry, but the knowledge sources don’t describe your `capy_node::create_super_node` module or how you populate `userObjects` in detail, so I can’t be certain about every app‑specific constraint. I…
thread: 391ea83a-7de3-4bbb-b52b-dbe00e7bad41
Q: Sui Move package upgrade compatibility rules and versioned shared objects
A:
thread: 1e4301e2-fa07-49cf-9c5a-bc43c86b716e
Q: Sui Move VecMap performance limitations and when to use Table instead
A:
thread: 7854b504-0f87-419a-83cd-f2c4d760672d
Q: Sui Move object ownership patterns shared objects transfer restrictions
A:
thread: c3d9d0ce-0a7f-4f72-b485-80aa8d9765fc
Q: Sui Move smart contract security best practices and common vulnerabilities
A:
thread: bb6b6730-a0ce-4c6f-9964-643b742303a2
Q: Question Where to Find Answer
Q3.1 Does the DeepBook V1 documentation specify that self-trades are prevented? DeepBook V1 design docs (if available).
Q3.2 Is the self_matching_prevention field in the Order struct actually enforced during order matching? clob.move code (order matching function).
Q3.3
A: ### Finding Q3: DeepBook and self‑trading
**Q3.1 – Does DeepBook V1 documentation specify that self‑trades are prevented?**
The provided knowledge only includes:
- The original `deepbook::clob` (so…
thread: 49d07578-4960-4eb0-a965-4c8183a6d3a2
Q: Question Where to Find Answer
Q2.1 What defines ownership of a kiosk? Is it the KioskOwnerCap or the kiosk object itself? Kiosk documentation, "Ownership of a kiosk is determined by the owner of the KioskOwnerCap".
Q2.2 When you transfer the KioskOwnerCap to another address, who becomes the owner of
A: **Q2.1 – What defines ownership of a kiosk?**
Ownership of a kiosk is defined by who owns the `KioskOwnerCap`, not by the `Kiosk` object itself. The docs state:
> “Ownership of a kiosk is determin…
thread: 59f1492a-68e9-485b-ab69-5519c0747bc4
Q: compatibility coin reservations
A: I’m sorry, but the provided knowledge sources don’t mention anything about “compatibility coin reservations” (or any similarly named feature), so I can’t give a precise answer.
The closest related to…
thread: 3a05a8ce-5e89-40c3-aa93-8810ce0568f1
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: What is Mysticeti?
A: Mysticeti is Sui’s consensus protocol: a high-throughput, Byzantine Fault Tolerant system based on a directed acyclic graph (DAG) that orders and finalizes transactions on the network.[\[Glossary\]](h…
thread: 6be83f00-194a-4775-ae0d-66bca6671249
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: 把phase1.5做的事放進phase2,維持三個phase就好。再幫我依前述需求生成程式碼
A: 我必須先說明:上游知識來源只涵蓋 Sui 標準庫與一些教學範例,沒有你這個 `backend::launchpad` 模組或「拍賣 + 普惠質押」的官方實作,因此下面程式碼是依你原始程式與 Sui Move/`Table`/`Coin` 的標準用法推導出的合理重構,而不是官方範本。`Table` 的基本操作(`new/add/borrow/contains/remove`)與 `Coin` 的 `…
thread: 0634f78a-4905-4403-8d43-a781df20d37b
Q: suisytem
A: It looks like you might be referring to the `sui_system` modules on Sui.
On Sui, `sui_system` is the on-chain framework crate that defines the core system state and validator/staking logic. Its main …
thread: f54bd69b-0d69-49b3-a1db-a98244260884
Q: 继续介绍Sui的Coin 和 Token的异同点。各自使用的场景?是否可以全部用Token来替代Coin?Coin除了SUI币,主网有没有其他的广泛使用的案例?
A: ## Sui 上的 `Coin` 与 `Token` 对比
### 核心异同点
| 对比维度 | `Coin` | `Token` |
|---|---|---|
| **Abilities** | `key + store` | 仅 `key` |
| **可包装(Wrappable)** | ✅ 支持 | ❌ 不支持 |
| **可自由转账** | ✅ 默认支持 |…
thread: 1d8b1f13-9a99-4c5b-8bed-bb02629200c6
Q: thanks for this clarification, since the superNode are created by users and they can introduce any nft of their choice which can be in kiosk or not, make the function to accept nft both in kiosk and direct owned
A: Good approach. You can handle both cases by checking the NFT's ownership before building the transaction, then branching the logic accordingly.
Here's the refined `createSuperNodeWithNft` that handle…
thread: fbaa5805-1231-455b-89ec-a1047eccc58a
Q: 0x533b0c215b6267cb3fecd47b83a9f8e7051bcf5da657b6953bacffd41dd81ffe
A: The string you've provided (`0x533b0c215b6267cb3fecd47b83a9f8e7051bcf5da657b6953bacffd41dd81ffe`) appears to be a transaction digest or object ID on Sui. However, I'm not able to look up live on-chain…
thread: b372729c-f48b-4cc1-9458-619c09e5cf48
Q: make me pls
A: Based on our conversation, it seems you want to publish your Move package to get a Package ID. Here are the exact commands to run, step by step:
### Step 1: Build
```bash
sui move build
```
### Step…
thread: c7aff49b-5590-407c-b4a3-706ddfe299cf
Q: Provide me the code snippet that accepts as input a vector of u8 and return the third element ensring that. the length is greater than or equal to 3
A: Here's a Move code snippet that accepts a `vector` as input and returns the third element, aborting if the length is less than 3:
```move
public fun get_third_element(v: &vector): u8 {
as…
thread: b08da41b-ed35-46e0-8a03-c0e5e1d1dcaf
Q: i want to create a sui move file to practice code but i forgot the file need dot what like practice.move right ? or something else
A: Yes, you're correct! Sui Move source files use the `.move` extension. So your file would be named something like `practice.move`. [[Hello, World!](https://move-book.com/your-first-move/hello-world/#di…
thread: e904abe7-1c65-47d0-a238-ed324e5fc653
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: where's an example of using nautilus with seal
A: The official example of using Nautilus with Seal is the **Seal-Nautilus pattern** for secure secret management in enclave applications. Here's a summary of where to find it and how it works:
## Sourc…
thread: b6b24e8b-b0cf-4b0e-911d-57aac78ced33
Q: If they are in the same checkpoint, is it guaranteed the second transaction is ordered after the first?
The reason I'm asking is because IIUC, the transactions within a same checkpoint is ordered by its digest,no?
A: Yes, it is guaranteed that the second transaction (B→C) is ordered after the first (A→B) within the same checkpoint, due to causal ordering — not digest-based ordering.
Regarding your assumption abou…
thread: 227a957f-66af-4750-9e47-e3e5b4d06f4d
Q: lỗi từ getDynamicField rồi và module 0x8d97f1cd6ac663735be08d1d2b6d02a159e711586461306ce60a2b7a6a565a9e::price_identifier {
struct PriceIdentifier has copy, drop, store {
bytes: vector,
}
public fun from_byte_vec(arg0: vector) : PriceIdentifier {
assert!(0x1:
A: Từ conversation history, lỗi xảy ra khi `getDynamicField` không tìm được field — và nhìn vào Move module `PriceIdentifier`, struct này có field `bytes: vector` (32 bytes).
Vấn đề BCS serializatio…
thread: 49cd7667-af16-4a8e-9608-c82a418fb855
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: how to check if the one I was using is hidding somewhere
A: Based on the conversation context, you want to find where the previous `site-builder.exe` might be hiding on your Windows system. Here are some PowerShell commands to search for it:
**Search your ent…
thread: 3b196dfd-97c2-436c-ad6b-8dfb66e0cdf6
Q: so for a non valdiating nodes, no public inbound ports need to be configured?
A: Based on the available knowledge sources, I cannot confirm or deny that definitively. The documentation does not explicitly specify which inbound ports (if any) need to be publicly open for a Sui full…
thread: 71650836-38cb-4121-8271-ce52553038c2
Q: HOT是什么概念?
A: # Hot Potato(热土豆)模式
在 Sui 的 Move 语言中,**Hot Potato** 是指一个**没有任何能力(abilities)的结构体**。具体来说,它没有 `copy`、`drop`、`key` 或 `store` 这四种能力中的任何一种。[[Hot Potato Pattern](https://move-book.com/programmability/hot-po…
thread: 5873e6de-9b71-4043-96c3-39c4f46d4e05
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: 并不是落后checkpoint,而是同步后和链上状态不一致,那么我觉得应该是某个接受的checkpoint数据有问题,那么怎么快速恢复呢
A: 你的判断很有道理——如果节点已经同步到最新 checkpoint,但本地状态与链上不一致,很可能是某个 checkpoint 数据在接收或执行时出现了问题,导致本地数据库处于不一致状态。
根据知识库中的信息,**最快的恢复方式仍然是从快照重建**,因为这可以绕过有问题的本地数据库状态,直接恢复到一个经过协议验证的干净状态。
## 推荐:使用 Formal Snapshot 恢复
Formal…
thread: ba8d90b6-f04d-406e-8271-0a073e31d5a8
Q: TTO 支持以下类型的父对象有上面说的4种,那不支持的类型有哪些?
A: 根据知识来源,TTO 机制对父对象的限制如下:
**不支持作为父对象的类型:**
- **Immutable(不可变对象)**:不可变对象无法作为父对象接收子对象。即使你将一个对象转移给不可变对象的 ID,也**无法访问**该子对象。 [[Owner enum](https://github.com/MystenLabs/sui/blob/main/crates/sui-types/src/o…
thread: fa3d7628-8989-4974-a330-207f6eb579f1
Q: enable-index-processing: false
enable-event-processing: true
2개 옵션차이?
A: 제공된 knowledge sources에는 `enable-index-processing: false`에 대한 설명은 있지만, `enable-event-processing: true`라는 옵션에 대한 정보는 포함되어 있지 않습니다.
알려드릴 수 있는 내용은 다음과 같습니다:
### `enable-index-processing: false`
이 옵션은 S…
thread: abacdab6-4f42-465c-a0d4-4360e12e3cfc
Q: gas sponsorship
A: ## Gas Sponsorship on Sui
Sponsored transactions on Sui let a **sponsor** pay gas fees on behalf of a user, removing the need for users to own SUI or understand gas mechanics. [[Sponsored Transaction…
thread: 4036aa3a-08db-4d0c-abc2-12b58fb1987d
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: Sorry that was the wrong link, heres the correct one, it is a sui project https://bolt-5.gitbook.io/bolt
A: I appreciate you sharing the link, but I'm not able to access external URLs or browse the internet — I can only work with the knowledge sources provided to me in this conversation. So I'm unable to re…
thread: 2e5fd7da-31e6-464d-81da-deb2cfaa58cc
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
Q: Yes. Here are the exact questions to ask:
---
**Question 1 — Honeypot detection (most important)**
> On Sui, is there a reliable way to simulate a token sell transaction without actually executing it, to detect if a token is a honeypot? Specifically: does the Sui RPC have a `dryRunTransactionBloc
A: I'll answer each question based on what the knowledge sources directly support, and clearly flag where the sources don't provide enough information.
---
## Question 1 — Honeypot Detection via Transa…
thread: 2548c19d-f21b-4b19-b055-705f4066c398
Q: Can a move function establish a synchronous connection to a target address and/or send a message to that address?
A: No. Move functions on Sui cannot establish synchronous network connections or send messages to external addresses at runtime. Move is a smart contract language that executes deterministically on-chain…
thread: 8e2c43b3-6253-4f97-a669-f1e367be0cc5
Q: usdc bridge link
A: Here are the relevant links for bridging to native USDC on Sui:
- **Access USDC on Sui (Circle):** [circle.com/multi-chain-usdc/sui](https://www.circle.com/multi-chain-usdc/sui)
- **Bridge to Native …
thread: b6af840b-fc81-40d9-a7cc-4cef6f0791b2
Q: Cloudflare Workers WASM WebAssembly support bundling esbuild
A:
thread: 42407d01-2003-4b69-b95b-edfa627b4082
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: 2c0ac14e-a822-4b4c-be8a-1e7a8e7f7722
Q: sui_getTransactionBlock
A: The `sui_getTransactionBlock` is a JSON-RPC method used to fetch a transaction by its digest from a Sui full node.
## Usage
It is a **direct lookup** RPC call that doesn't depend on additional index…
thread: e56d5198-336e-4153-b9eb-8b69c8432025
Q: In Grpc how do i access an object's fields?
A: To access an object's fields via gRPC on Sui, you use the **`LedgerService/GetObject`** method (or `StateService` for listing). Here's how:
## 1. Using `grpcurl` (command line)
```shell
grpcurl -d '…
thread: 9da8d501-cbc0-4812-9cd2-c3676af6c26d
Q: Those tips are for the standalone indexer framework (sui-indexer-alt), not the built-in JSON-RPC indexer running inside your sui-node process
A: You're correct. The tips I provided in my previous answer are specifically for the standalone indexer framework (`sui-indexer-alt` / `sui-kvstore-alt`), not for the built-in indexer that runs inside t…
thread: 1d2870c0-d43c-4396-b0a0-724da91592f9
Q: can an nft be object owned ?
A: Yes, an NFT (or any object with the `key` ability) can be object-owned on Sui. This is a supported ownership model where one object is transferred to another object's ID.
## How it works
You use the…
thread: 174d1926-e785-437d-ab11-ad5698050bc5
Q: ): Coin {
assert!(pad.phase ==斷了接下去不要重複
A: ```move
): Coin {
assert!(pad.phase == PHASE_SETTLEMENT, EWrongPhase);
let amount = balance::value(&pad.usdc_pool);
coin::take(&mut pad.usdc_pool, amount, ctx)
}
// === View Fun…
thread: 1f33d387-4f1c-4b19-b831-8381a248cb36
Q: Transaction Digest: 2d8QXWxSqCzgrkZb3HFGcfgeJhLUQ6tW4Dzpy17XUwsw
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Transaction Data │
├────────
A: Based on the transaction output you provided, here are the details:
**Package ID:**
`0x0776b85e8b6ae49d1b8bdd510e15aa4ec5720510774ca0195310532a8601c2ef`
This is the published `agent` module, listed …
thread: c4f24c6e-73c1-466c-9b81-45bf81f0a3a4
Q: also the REGISTRY_OBJECT_ID
A: From the transaction output you shared, the **Registry Object ID** is found in the **Created Objects** section:
```
REGISTRY_ID=0x34231405ff87b7b25e9919bebf072e7aa0d61db8d89f20e5670e42faf09d53ef
```
…
thread: b7f87186-fd64-4812-a798-7d45c826cd63
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: 62cd5e2d-ae57-406d-bc47-bc05436eefb3
Q: What about webRTC?
A: The knowledge sources do not contain any information about WebRTC in the context of Sui's data pipeline or live streaming architecture. Neither the gRPC documentation, the indexing framework docs, nor…
thread: d20de0f3-476f-476b-8c61-3be9b5df4ee5
Q: create a complete typescript sample to retrieve multiple checkpoints with graphql or grpc.
i need a boilerplate that i can run directly
i need to retrieve all informations present in a checkpoint
A: Here are two complete TypeScript boilerplates — one using **GraphQL** and one using **gRPC** — to retrieve multiple checkpoints with all available fields.
---
## Option 1: GraphQL (using `SuiGraphQL…
thread: 4637b276-a231-4cff-88c1-0c9ff1024599
Q: What are object ownership types for Sui Move?
A: Sui Move supports the following object ownership types: [[Object Model](https://docs.sui.io/guides/developer/objects/object-model#object-ownership)]
## 1. Address-Owned
An object owned by a specific …
thread: 44bcd483-65ce-4720-b604-15908d27b580
Q: [sui-node-0:bash* "vmi3147298" 16:58 03-Apr-26
g checkpoint
root@vmi3147298:~/node# cd ..
root@vmi3147298:~# ./sui-tool download-formal-snapshot --latest --genesis genesis.blob --path db_new --no-sign-request
-bash: ./sui-too
A: Le téléchargement échoue lors de l'étape **"transaction digest backfill"**, qui consiste à récupérer des checkpoints depuis `https://checkpoints.mainnet.sui.io`. L'erreur est :
```
Failed to fetch ch…
thread: 0c4a6d74-605f-4fb5-8fc2-cbc364350194
Q: how do i read out the value and strategies of a wallet
A: ## Reading Wallet Balances and Strategies on Sui
### Reading Wallet Balances
You can query wallet balances using the Sui TypeScript SDK's core client methods:
**Get balance for a specific coin type…
thread: 10226008-4c77-4624-bbb8-6cced0677988
Q: maximelavail@Maximes-MacBook-Pro ~ % grpcurl fullnode.mainnet.sui.io:443 sui.rpc.v2.LedgerService/GetServiceInfo
{
"chainId": "4btiuiMPvEENsttpZC7CZ53DruC3MAgfznDbASZ7DR6S",
"chain": "mainnet",
"epoch": "1086",
"checkpointHeight": "261102664",
"timestamp": "2026-04-03T14:55:32.074Z",
"lo
A: Oui, exactement ! En comparant les deux réponses, votre nœud n'est pas encore synchronisé :
| | Nœud public (mainnet) | Votre nœud |
|---|---|---|
| **Epoch** | 1086 | 1079 |
| **Checkpoint height** …
thread: 2c99fae9-a4dd-4e6d-8923-4bbc55814667
Q: How can I modify the css style of React components ConnectButton and ConnectModal and also select the wallets to be listed on ConnectModel?
A: ## Styling and Configuring `ConnectButton` & `ConnectModal` in React
### CSS Styling
dApp Kit uses a theming system compatible with [shadcn/ui](https://ui.shadcn.com/docs/theming), based on CSS cust…
thread: cc4d4e82-4db7-44ec-bc9b-5d3b16825d17
Q: how to deploy my website to walrus
A: Here's how to deploy your website to Walrus Sites:
## Prerequisites
1. Install and configure Sui
2. Install and configure Walrus
3. Obtain Testnet SUI and WAL tokens (or Mainnet tokens for productio…
thread: 6773e821-17aa-4e81-a47d-0548340aaacb
Q: how can I get the private key of the current active address so I can add this address to Phantom wallet?
A: To export the private key of your current active address, you can use the `sui keytool export` command. Here's how:
**Step 1: Find your active address**
```sh
$ sui client active-address
```
**Step …
thread: 3a6224cd-d0d7-40cd-950f-b0b049828a7e
Q: if I want to fetch the full event/tx history for an object, can I do that with the sui RPC? it should give me everything, so i can trace the movements of the object through time
A: Yes, you can query the transaction and event history for an object, but there are important **retention limits** to be aware of if you want the *complete* history.
## Querying via GraphQL
The recomm…
thread: 5e61f084-4a40-44d4-8256-c6dac5031b1e
Q: 如何设置默认名称?
A: 根据现有知识源,关于如何设置 SuiNS 默认名称的具体操作步骤,知识源中没有直接说明设置"默认名称"的方法。
不过,知识源中提到了以下相关信息:
- 在 SuiNS 门户([suins.io](https://suins.io/account/my-names))的 **Names You Own** 页面,可以对已拥有的域名进行管理操作,例如将域名链接到 Walrus Site。[[Sui…
thread: d4d0cc3a-e4da-4e0c-a9d8-84a2c117132f
Q: https://github.com/verichains/sui-revela/commit/a4b8b2145678e0105a3c5cf85fd8f44126edb2d5
你知道这个仓库吗
A: 根据我所掌握的知识来源,我无法确认该具体 GitHub 仓库(`https://github.com/verichains/sui-revela/commit/a4b8b2145678e0105a3c5cf85fd8f44126edb2d5`)的详细内容。
我的知识来源中只提到了 **Revela** 这个工具,其官方网址为 `https://revela.verichains.io/`,由 V…
thread: fa0d93be-fd28-4ce6-9070-1220b106fb52
Q: 有哪些 testnet 的 grpc node provider
A: 根据知识来源,Sui Testnet 的 gRPC 节点提供者包括以下几类:
## 官方公共端点
Mysten Labs 提供的官方 Testnet gRPC 端点:
```
https://fullnode.testnet.sui.io:443
```
[[Sui Networks](https://docs.sui.io/concepts/sui-architecture/networ…
thread: 815b08c6-faf5-4058-9cc8-4b092a557071
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 Client CLI yet, run:
```bash
sui client
```
Follow the prompts — leave the full no…
thread: 07d5175d-0beb-4995-b469-f111b8468c4f
Q: how can rust write sui programming lang, and sui lang use it to create a blockchain and the ecosystem
A: Great question! Here's how Rust and the Move language work together to power Sui:
## How Rust Builds the Sui Blockchain
Sui itself — the blockchain infrastructure — is **written in Rust**. This incl…
thread: 988bb058-d9b7-45d4-9ffe-7262d622d64d
Q: is there no way to delegate the merge and split to wallets?
A: Based on the knowledge sources available, the TypeScript SDK itself handles this automatically — you don't need to delegate it to the wallet manually.
When you use `coinWithBalance`, the SDK resolves…
thread: 5ca8d084-060a-4aa5-8cc6-19477b69de09
Q: czy 10^77 miesci sie w u256
A: Tak, 10^77 mieści się w typie `u256`.
Z dokumentacji wynika, że maksymalna wartość `u256` to 2^256 - 1, co wynosi: [[max_value u256](https://github.com/MystenLabs/sui/blob/main/external-crates/move/c…
thread: c712f215-325f-40b5-b2c8-96d1b67e7d07
Q: sui move build --lint --path math/fixed_point
Your active environment `local` is not present in `Move.toml`, so you cannot publish to `local`.
- If you want to create a temporary publication on `local` and record the addresses in an ephemeral file, use the `test-publish` command instead
A: The error is because your active CLI environment is `local`, which isn't defined in your `Move.toml`. For just building and testing (not publishing), you need to tell the CLI which environment's depen…
thread: 1b8798d1-1a59-4ab1-acac-fcda61688761
Q: can any node operator change the zklogin protocol config max epoch?
A: Based on the knowledge sources, the answer is **no** — individual node operators cannot unilaterally change the zkLogin protocol config `max_epoch` setting. Here's what the sources do and don't say:
…
thread: ffcac2a4-1a27-4610-b293-082d548a48c4
Q: Sui BCS event deserialization normalized Move modules layout struct fields runtime decoding eventType string getNormalizedMoveModule or layout for Move struct.
A:
thread: 980c589d-25e5-482f-b158-5a4e14d311d5
Q: Sui SDK parse Move struct bytes dynamically from type tag or on-chain package metadata without generated source code. Event contents bytes decoding strategy.
A:
thread: a0d11de5-77ee-43ba-95fe-d4ef1fd81ca1
Q: how can i deserialize contentJson in event?
Sample:
{
"packageId": "0x08d13929817c5f2ebff56c60432725f669b83ad496f955581c2d6c1118af8fac",
"_packageId": "packageId",
"module": "periphery_pool",
"_module": "module",
"sender": "0x0a
A: Looking at your sample, the `contents.value` field contains raw BCS-serialized bytes of the Move event struct. You need to define the matching struct layout and parse those bytes using the `@mysten/su…
thread: 2d4f3db0-4538-45fb-80a7-153bda39686f
Q: does anyone know if theres any UI we can check for what is the status of the sui bridge global limiter, ie how much is currently available on the bridge limits?
A: The knowledge sources don't explicitly mention a dedicated UI for checking the real-time status of the Sui Bridge global limiter (i.e., how much of the limit has been consumed vs. remains available).
…
thread: 99894330-1cf6-4288-a8cd-8f90b9a35e88
Q: so once I have published an object and I have it's address can I create a single URL to return the machine readable object?
A: Based on the knowledge sources provided, there isn't a single REST-style URL you can construct to return a machine-readable object directly. However, the closest options are:
**1. GraphQL endpoint (s…
thread: a714a8d5-ccb1-4d76-b6d5-f956b041e9e0
Q: So which one does walrus use
A: The knowledge sources don't explicitly mention which model (coin objects vs. address balances) Walrus uses internally for its storage payments and WAL token transactions.
What the Walrus documentatio…
thread: 63a27e97-aa7b-4468-be08-707546d16d08
Q: now I switched to another wallet and it shows the old balance, when added more gas coin it still show only the old balace "$ sui client gas
╭────────────────────────────────────────────────────────────────────┬────────────────────┬──────────────────╮
│ gasCoinId
A: The knowledge sources I have don't directly cover CLI caching or balance refresh issues, but based on what you're describing — the CLI showing a stale balance even after adding more gas coins — here a…
thread: 29171024-7bbe-4ec3-a2e8-0f70cc140d35
Q: non-defining modules can mint other's objects?
A: No. In Sui Move, non-defining modules **cannot** create (mint) objects of a type they don't define.
This is enforced by Move's **privileged struct operations** rule:
> Struct types can only be creat…
thread: d40af26c-1660-473c-85c0-80ee4ed43578
Q: what can one build with deepbook
A: DeepBook on Sui is a shared central limit order book (CLOB) infrastructure layer that builders can integrate to power a wide range of financial applications. Here's what you can build with it:
## Tra…
thread: 2aefad7d-3727-4d65-926b-8b51f1217896
Q: 使用json-rpc老的方案能不能做到?
A: 根据知识库中的信息,JSON-RPC 方案**无法直接获取交易时间戳**(`timestamp`)作为查询字段返回。
`suix_queryTransactionBlocks` 可以查询某地址的交易列表并返回 `digest`,但如果需要获取每笔交易的时间,需要再用 `sui_getTransactionBlock` 单独查询每个 digest 的详情(带 `showEffects: true`…
thread: 5402d821-88c5-43d6-9c0d-c29b3d69bc8f
Q: Do you have a gas profiler?
A: Yes, Sui provides several gas profiling tools:
## 1. Test Statistics (Quick Measurement)
Run `sui move test` with the `-s` or `--statistics` flag to see gas consumption per test:
```
sui move test …
thread: d3e32ada-bbab-4987-b6bc-9c22c2cb7d2c
Q: Nautilus configure_enclave.sh script EC2 instance setup nitro-cli build-enclave EIF image reproducible build Makefile
A:
thread: 4703383d-6ccb-4261-a79a-67fc76c86fdf
Q: Nautilus complete step by step guide from scratch including Rust server mod.rs process_data implementation with custom logic
A:
thread: f407f22b-c2da-4ce2-a4bb-0afeaf3f86db
Q: Can I create a zklogin wallet with iPhone Face ID?
A: zkLogin specifically uses **OAuth credentials** (like Google, Apple, Facebook, etc.) — not device biometrics like Face ID. So you cannot create a zkLogin wallet directly with iPhone Face ID.
However,…
thread: 7698df13-387c-4a52-b184-820a1756799c
Q: 如果我不知道某个已知交易的检查点呢,能不能直接通过时间戳筛选
A: 很遗憾,根据文档中 `EventFilter` 的定义,**目前不支持直接通过时间戳筛选事件**。
[[EventFilter](https://docs.sui.io/references/sui-api/sui-graphql/beta/reference/types/inputs/event-filter)]
`EventFilter` 支持的字段只有:
| 字段 | 说明 |
|--…
thread: e856dc79-932d-4e0f-afa5-7c4fda267be1
Q: this is a very bad design choice. this makes upgrade extremely difficult to manage
A: The concern is understandable, and the Sui documentation does acknowledge these challenges. Here are some patterns and tools the ecosystem provides to help manage this complexity:
## Mitigations Sui …
thread: 19415883-606c-48d4-98d8-bd1084b19def
Q: 1774839570801 check this timeastamp
A: The number `1774839570801` appears to be a Unix timestamp in milliseconds. However, checking or converting arbitrary timestamps is outside the scope of what I can help with — I'm designed to answer qu…
thread: b971ba91-c68f-4ccb-b260-ee1789cd938b
Q: how can i check the linear upgrade history? ideally from SUI CLI
A: The knowledge sources do not contain enough information to answer this query directly. The provided documents cover how package versioning works and how to upgrade packages, but they don't describe a …
thread: e22b3c02-08bb-4c46-9c25-b43b0466a60c
Q: how does address generated
A: ## How Sui Addresses Are Generated
A Sui address is a **32-byte (256-bit) unique identifier** derived from a public key using a cryptographic hash function.
### Derivation Process
For standard key-…
thread: d3018920-5b51-42bf-8386-ce94a188d32f
Q: if i have a package A and it has package B as its dependency. now package B is upgraded to B v2. how should do upgrade A to use B v2?
A: When dependency B is upgraded to B v2, your package A **does not automatically use the new version**. You must explicitly upgrade package A to point to the new dependency. [[Upgrading Packages](https:…
thread: 4f847ca9-2f9b-4c5c-a8f1-7da40db5be04
Q: tell me about address balance
A: ## Address Balances on Sui
Address balances introduce a canonical balance system for fungible assets tied directly to Sui addresses. They replace the UTXO-style `Coin` model, where balances were p…
thread: 0e4e7e50-9fbf-4dff-88d3-1c322650f94d
Q: check it for me, after that create a short summary to explain what have be implemented : 'use client';
import { useCallback, useState } from 'react';
import { EncryptedObject } from '@mysten/seal';
import { env } from '@/lib/config/env';
import { enokiClient } from '@/lib/enoki';
import { getSealCl
A: Your code looks **correct and well-structured**. Here are my observations:
## ✅ What's Good
1. **`useSignPersonalMessage` is called correctly** — inside the React custom hook, not at module level. T…
thread: de525673-f351-42a6-9255-44064fc9a86e
Q: correct it and return the full corrected version " public fun create_pool(
app_uid: ID,
_: &AdminCap,
ctx: &mut TxContext
) {
let pool = MinerPool {
id: object::new(ctx),
start_time: 0,
reward_balance: zero(),
app_uid,
};
transfer::share
A: Here is the corrected full version with `version` and `admin` fields added:
```move
public fun create_pool(
app_uid: ID,
cap: &AdminCap,
ctx: &mut TxContext
) {
let pool = MinerPool {…
thread: b6f5bf71-e934-4d05-bafb-1cd920194d26
Q: you know fedora de
A: It seems like your message may be incomplete — it looks like you might be asking about Fedora's package manager (`dnf`) in the context of installing Sui.
As I mentioned in my previous answer, the off…
thread: 5dcc8b38-aa14-4a5b-9d8e-80757f0e94bd
Q: can the sui node use env parmeters for the key management refrence
A: The knowledge sources provided do not contain enough information to directly answer whether `sui-node` itself supports environment variable references for key management configuration (e.g., pointing …
thread: 7d389e73-08b1-4c1a-b15f-b5fddb42ec9d
Q: Explain it a bit simpler for me to understand
A: Sure! Let me simplify the security risks that come with Sui's parallel design.
---
## 🔑 The Core Problem: Parallel = New Risks
Because Sui runs transactions at the same time, it needs to carefully …
thread: 8b5c468a-40ab-4f66-9a84-8ae0aaa5ea9b
Q: So the DenyCapV2 is controlled by a single person?
A: Based on the knowledge sources, `DenyCapV2` is a single object with `key` and `store` abilities, meaning it is owned by one address at a time and is transferable. [[DenyCapV2 capability](https://docs.…
thread: 93b99b9b-1d12-41c5-a7b1-b02510ddcbb5
Q: I have a plain HTML website (no React, no npm, no bundler).
I want to detect ALL installed Sui wallets including Slush
browser extension using the Wallet Standard.
What is the exact CDN script URL I should load? And after
loading it, what exact JavaScript code do I call to get all
installed wa
A: ## Detecting Sui Wallets in Plain HTML/JS
### CDN Script URL
The knowledge sources do not provide a CDN URL for `@mysten/wallet-standard`. The documentation assumes a Node.js/npm/bundler environment…
thread: aeaa9a5e-6488-4c09-8270-44c7eb487d67
Q: can you do one more thing here can you sort this using the time stamp and also add the etxra time stamp which is converted to proper date time
A: Here is the fully updated `sui_service.py` with:
1. **Sorting by `timestamp`** (oldest → newest) instead of checkpoint/lamport
2. **`timestamp_utc`** — a human-readable ISO 8601 datetime string deriv…
thread: 6450768e-5ca5-4d7f-a35c-80dcd6f309b5
Q: What are programmable transaction blocks (PTBs)?
A: ## Programmable Transaction Blocks (PTBs)
Programmable Transaction Blocks (PTBs) are the fundamental unit of user transactions on Sui. They consist of groups of commands that execute on inputs to def…
thread: 30759e47-5522-4530-a2bb-6d4d739a90c2
Q: Can I get the digest of a package with Move on chain?
A: The knowledge sources mention the `ticket_digest` function in the `sui::package` module, which allows you to retrieve the digest from an `UpgradeTicket` on-chain:
```move
public fun ticket_digest(tic…
thread: a983605a-5a89-4085-a03d-ef5e68a85c7a
Q: who are Accumulator
A: Based on the knowledge sources, here is what the `sui::accumulator` module is about:
## `sui::accumulator` in Sui Move
The `sui::accumulator` module is a **Sui framework module** that provides infra…
thread: 110d6d6a-2275-4804-9df6-383822142288
Q: is there a blink for sui?
A: The knowledge sources provided don't contain any information about a "Blink" feature or equivalent on Sui.
For context, "Blinks" (Blockchain Links) are a concept popularized on Solana that allow bloc…
thread: 46d273c2-ca6b-444f-8683-e1d59047b0a2
Q: I don't see the documentation related to kv_objects pipeline
A: You're right to notice that. The knowledge sources do not contain a dedicated documentation page or section specifically for the `kv_objects` pipeline configuration. Here's what the sources do tell us…
thread: d0261aa7-aac9-4ad2-bcc1-00a35fd9aa5f
Q: but i have updated my package but my Published.toml is messed up
A: If your `Published.toml` has incorrect or inconsistent data after an upgrade, here are some things to consider based on the available documentation:
## If You're on the New Package System (Sui CLI v1…
thread: f8f1f0d3-8052-4de4-ad15-b355b6760e44
Q: Seal package ID for testnet ?
A: The Seal package ID for **Testnet** is:
`0x927a54e9ae803f82ebf480136a9bcfe45101ccbe28b13f433c89f5181069d682`
[[Key Servers](https://github.com/MystenLabs/sui-move-bootcamp/blob/main/K5/05_key_server…
thread: 49603d46-536f-4978-8654-077e8498d297
Q: error when I tried to publish: `Error executing transaction 'HL45jgjdvtn5Q8rrnQ7SUERtKHaqADNF9rqJzDgZkHLG': VMVerificationOrDeserializationError in command 0`
A: This is the same `VMVerificationOrDeserializationError in command 0` error we discussed previously, occurring during package publish. Here's a focused checklist to debug it:
### Common causes
| Erro…
thread: de4d887c-b50e-44a3-aa7d-bb0ac3d2d0d2
Q: Explain this party thing well I dont understand
A: ## Party Objects in Sui — Explained Simply
Think of a **Party object** as a special type of object ownership that sits between two existing types you may already know:
---
### The Two Existing Type…
thread: 3341e3ab-3cc2-491e-9cf8-12f725dcade5
Q: rpc
A: ## Sui RPC Overview
Sui provides multiple RPC interfaces for accessing blockchain data:
### Available Interfaces
1. **gRPC API** (recommended) — A high-performance, type-safe interface using Protoc…
thread: 2f3e0406-f7e6-4670-9825-861f1c019f28
Q: copy "C:\Users\PC\Downloads\bot.mjs" "C:\Users\PC\agent-tg-bot\bot.mjs"
cd C:\Users\PC\agent-tg-bot
git remote set-url origin https://github.com/ibraheemmjafar-netizen/agenttraderbot.git
git add bot.mjs
git commit -m "fix trades - old pool only, clean buy/sell"
git push
```
---
**For Slush detecti
A: I'll skip the unrelated shell/git commands and focus on your Sui-related questions.
## 1. Registering Slush Wallet on a Plain HTML Site (No React/dApp Kit)
Install the SDK and call `registerSlushWal…
thread: 466ee7b5-996f-40ee-b342-6353e5639131
Q: How to get ether and bridge to sui
A: ## Bridging ETH to Sui
To bridge Ether (ETH) to Sui, you have several options depending on your needs:
---
### Option 1: Sui Bridge (Native Bridge)
Sui Bridge is the native bridge built into the S…
thread: 8cd16a50-5687-4127-8890-9d9e0c923b81
Q: Can a single PTB containing multiple claim_token commands,
be use
A: Your query appears to be incomplete — it seems like it was cut off before finishing the question. Could you please complete your query? For example, are you asking something like:
> "Can a single PTB…
thread: 9f870cbb-7725-4e8e-82b8-5a2e9b7a0fd4
Q: 基本的なmoduleの分け方をおしえて
A: Sui の Move における基本的なモジュールの分け方について説明します。
## モジュールの基本原則
**1オブジェクト・1データ構造につき1モジュール**を設計の基本とします。バリアント構造体がある場合も、複雑さやバグを避けるために独自のモジュールを持つべきです。 [[Move Best Practices](https://docs.sui.io/guides/developer/mo…
thread: 1df9a273-5026-46ad-b156-d8972a5828d2
Q: Can a while loop be used in a Sui ptb?
A: No, a `while` loop (or any loop construct) cannot be used directly in a Sui Programmable Transaction Block (PTB). PTBs do not support intricate programming patterns such as loops. As the documentation…
thread: 013b20c5-4a7f-4fbc-bd63-d5915773aefa
Q: where are the right docs for address balances
A: The official documentation for address balances on Sui is the **Address Balances Migration Guide**. You can find it here:
[[Address Balances Migration Guide](https://docs.sui.io/guides/developer/addr…
thread: e5d59402-af47-4b84-bfdc-4766c3e7cbac
Q: Sui transaction deferral consensus handler randomness limit deferral rounds congestion control
A:
thread: 8c9dbd48-8e00-451a-827c-9f443d8cc1b4
Q: where is sui signing personal message listed
A: Personal message signing on Sui is documented in several places across the knowledge sources:
1. **Wallet Standard** – `sui:signPersonalMessage` is listed as a required wallet feature that wallets sh…
thread: 5574f7c8-2d96-432d-90d0-d6451360b6b3
Q: this is what i have
[package]
name = "alliance_protocol"
edition = "2024" # edition = "legacy" to use legacy (pre-2024) Move
# license = "" # e.g., "MIT", "GPL", "Apache 2.0"
# authors = ["..."] # e.g., ["Joe Smith (joesmith@noemail.com)", "John Snow (johnsnow@noemail.com)"]
A: Looking at your `Move.toml`, the structure looks mostly correct for the new-style format. However, there are a couple of things to address:
## Issues to Fix
### 1. The `rev = "main"` for your git de…
thread: a99a8862-6efb-4714-ae20-0f80ebb7b3a6
Q: What's ray math?
A: The knowledge sources do not contain enough information to answer a query about "ray math" in the context of Sui. The available documents cover topics like DeepBook Margin risk ratios, Move integer ar…
thread: a73ccd45-0cab-4239-9050-5785aacc1df1
Q: public fun get_limit_file(): u64 {
FILE_LIMIT
}
how to read:
const tx = new Transaction()
tx.moveCall({
})
utilsSui.getSuiClient.simulateTransaction({
transaction: "",
});
return get_limit_file;
A: Looking at your code, you want to call a Move function `get_limit_file()` that returns a `u64`, simulate the transaction, and read the return value. Here's how to do it correctly using the Sui TypeScr…
thread: 33e2674d-d277-472d-8741-28bcd2267032
Q: does this command " sui move new" creating and deploying the project? or just creating
A: The `sui move new` command **only creates** the project — it does not deploy it.
Specifically, `sui move new
` creates: [[Move CLI](https://docs.sui.io/references/cli/move#examples)]
- …
thread: 43def3d2-2f24-43db-bbbf-d762bfb481c3
Q: ┌─[cabel@parrot]─[~]
└──╼ $curl -sSfL \
https://raw.githubusercontent.com/Mystenlabs/suiup/main/install.sh \
| sh
suiup installer script
This script will install the suiup binary to your system.
Detected OS: linux
Detected architecture: x86_64
Latest version: v0.0.10
Download URL: https://github
A: The installer is warning you that a `sui` binary already exists on your system (likely installed via a package manager), which could conflict with the `suiup`-managed version. Here's what to do:
## S…
thread: d511e593-5abe-403a-bf96-65edef824c22
Q: in zklogin we had set maxepoch, so the jwk should be valid unitil this maxepoch expire, right? there's no way onchain jwt might remove the value
A: There's an important distinction to clarify here between two separate concepts:
## `maxEpoch` vs. JWK validity
**`maxEpoch`** controls how long the **ephemeral key pair and ZK proof** are valid — it…
thread: 6e824604-5134-4c05-b286-620bcc7fd1d7
Q: testnet rpc nodes
A: Here are the Sui Testnet RPC endpoints:
- **Full node RPC URL:** `https://fullnode.testnet.sui.io:443` [[Sui Networks](https://docs.sui.io/concepts/sui-architecture/networks)]
This endpoint can be u…
thread: 4fdb94a4-9efa-4496-af92-62ed32c565e5
Q: 我的 签名方法时这样的const { mutateAsync: signAndExecuteTransaction } = useMutation({
mutationFn: (tx: { transaction: Transaction }) =>
dAppKit.signAndExecuteTransaction(tx),
});,是2.6版本的,请问在调用签名时,我想知道balance变化,该怎么用?
A: 根据知识来源,您使用的是 `dAppKit.signAndExecuteTransaction`(dApp Kit Actions 方式),该方法的返回值结构如下:
```typescript
type TransactionResult =
| { $kind: 'Transaction'; Transaction: Transaction }
| { $kind: 'FailedTr…
thread: 9c71f829-5a83-458c-904a-c818079cb97f
Q: Archival Service 裡面查詢的到 events 嗎?
A: 根據現有的知識來源,Archival Service 主要支援以下資料的點查詢(point lookups):
- **交易(transactions)**
- **檢查點(checkpoints)**
- **物件(objects)**
- **Epoch 資料**
[[Archival Store concepts](https://github.com/MystenLabs/sui/bl…
thread: 4b44fb18-8b1b-41c7-bf76-6f3fc55cd31a
Q: sui上使用反编译的工具
A: 在 Sui 上,有以下几款反编译工具可供使用:
## 官方/主流工具
- **sui replay**:可以本地重新执行任意历史链上交易,并对比其执行效果。使用 `--trace` 标志可生成执行追踪,供 Move 调试器使用。[[Sui Replay CLI](https://docs.sui.io/references/cli/replay)]
```sh
sui replay …
thread: 4eb19b27-43a6-46c6-8dea-340232487383
Q: How do I deploy to Sui?
A: Here's how to deploy (publish) a Move package to Sui:
## 1. Set Up the Sui Client CLI
If you haven't initialized the CLI yet, run `sui client` in your terminal. If prompted, enter `y` to connect to …
thread: b8b21fb2-8f8d-475d-97ad-32c74703553e
Q: is there any korean docs page?
A: Based on the knowledge sources, there isn't a dedicated Korean documentation site for Sui. However, here's what is available:
- **Sui documentation localization**: The Sui docs can be translated into…
thread: 0601b61a-2b47-4914-9532-a9154067e9ce
Q: how to send sui from one address to another using sui client CLI
A: You can send SUI from one address to another using the `sui client pay-sui` command, which is the recommended approach as it handles gas automatically using the same input coin:
```sh
sui client pay-…
thread: 860da602-014f-4325-92c8-f9260037e05d
Q: explain the typed witness pattern
A: ## The Witness Pattern in Move (Sui)
The **witness pattern** is a way to prove a certain property at the type level by constructing a proof value. In Move on Sui, a module proves ownership of a type …
thread: 9d9533a3-53c0-44e4-8d4d-189cf195f056
Q: Can a effect certificate used as a proof for the tx?
A: Yes, an effects certificate can be used as proof of a transaction on Sui. Here's what the documentation says:
- **An effects certificate guarantees transaction finality.** Once you or a full node obs…
thread: 0b408414-6012-4d30-9d9d-b2a241370aa1
Q: Is there any que on sui side when I bridge from ethereum
A: When you bridge from Ethereum to Sui, there isn't a traditional "queue" in the sense of a waiting line. Instead, the process follows a structured approval-then-claim flow:
### How it works (Ethereum …
thread: 49033284-7966-4442-930a-70266ca1d49c
Q: continue
A: It seems your message may have been cut off — could you clarify what you'd like to continue with? For example:
- Do you have a follow-up question about your `Move.toml` setup?
- Are you still seeing …
thread: 532687ce-36f6-4393-b93b-cfce0cf0f1b3
Q: ~ » sui external-keys list-keys ledger-signer
Keystore is not configured for external signer
----------
Getting above error when trying to lisst-keys for ledger. Do you have any idea about this?
A: The knowledge sources provided do not contain enough information to answer your query about the `sui external-keys list-keys ledger-signer` command or the "Keystore is not configured for external sign…
thread: a7d3d868-7b9f-45b2-a251-a29b0fad6f37
Q: How fast is a sui confirmation
A: Sui transaction confirmation speed depends on the type of transaction:
- **Owned object transactions** (no shared objects): Finality is reached in **under 0.5 seconds**. The sender receives a validat…
thread: e196e0ce-048b-44cd-b468-fbc7c65ab28e
Q: How do I deploy to Sui?
A: Here's how to deploy (publish) a Move package to Sui:
## 1. Set Up the Sui Client CLI
If you haven't initialized the CLI yet, run `sui client` in your terminal. If prompted, enter `y` to connect to …
thread: 469d002a-1fb0-4138-868e-153e40d0e6c6
Q: can you give me graphql queryt o fethc digest all query evrytdetails
4WxctB9ENQMy567x8FzXbT7wTx3VvFXbaWKg5c2bWi7o
A: Here's a GraphQL query to fetch full details for the transaction digest `4WxctB9ENQMy567x8FzXbT7wTx3VvFXbaWKg5c2bWi7o`:
```graphql
query {
transaction(digest: "4WxctB9ENQMy567x8FzXbT7wTx3VvFXbaWKg5…
thread: b656b9e6-26ad-4a7c-8f4b-c04d2273e602
Q: Okay, I get it. I can only use address balances and my frontend and stuff. I could then create a P2B and convert them all within the same user experience. They won't know really what's going on. Will this increase scalability and speeds?
A: Yes, using a PTB (Programmable Transaction Block) on the frontend to handle the address balance conversion transparently to the user is a valid approach, and the knowledge sources do confirm scalabili…
thread: c8560920-2483-4292-b133-2fd5e879d0b1
Q: what's a computation bucket?
A: Sui uses a **bucketing mechanism** to calculate computation gas costs. Rather than charging the exact number of computation units a transaction uses, Sui groups transactions into predefined ranges (bu…
thread: 91bfdbd2-193a-4e0c-834a-a59680bee637
Q: What is Mysticeti?
A: Mysticeti is the consensus protocol that powers the Sui blockchain. It is a high-throughput, Byzantine Fault Tolerant (BFT) protocol based on a **Directed Acyclic Graph (DAG)** architecture. [[Sui Glo…
thread: 8520017a-cb53-4824-a97d-9b2ad3fb12fe
Q: so in this error response, it means my signature is invalid or i have to update my sdk dependency
A: Looking at your error response again:
```json
{
"data": null,
"errors": [
{
"message": "Unknown field \"error\" on type \"ZkLoginVerifyResult\".",
"extensions": { "code": "GRAPHQL…
thread: 059c9feb-4d6b-46bd-949c-fb13e7da590a
Q: const sessionKey = await SessionKey.create({
address: owner,
packageId: this.config.zing.ZING_STUDIO_V0_PACKAGE_ADDRESS,
ttlMin: 10,
suiClient: this.suiGraphQLClient,
});
const message = sessionKey.getPersonalMessage();
const { zkLoginSignature } = a
A: Looking at your code and the zkLogin signature, a few observations based on what the knowledge sources cover:
## What the SDK Does for zkLogin Verification
zkLogin signatures **cannot be verified pu…
thread: 1dfcfdc1-cb7a-4e53-a9ae-fcceacb6abf1
Q: which wallet does SUI uses?
A: Sui supports several wallet types and specific wallet products:
## Wallet Types on Sui
1. **Slush** – The official wallet built and maintained by Mysten Labs. Available as a Chrome browser extension…
thread: 60f9583b-89b9-4dc2-bbef-d790cb186bb6
Q: Hi, for the last few days I can't relist my NFTs and it shows Error submitting transaction
If the issue persists, please create a support ticket
Discord Support Ticket
Report w/ Userback, I can unlist them. My wallet address is 0x2d6a0e137dc443bda02fa95dc51ec04b29fd5fa119b9250662efde4a619bf3b7, on S
A: I'm sorry to hear you're having trouble relisting your NFTs. However, I'm not able to look up specific wallet addresses or investigate account-specific issues — I'm a documentation assistant focused o…
thread: 349a33c2-4e83-40db-bd05-9dc1d8b724a8
Q: how to deposit funds into this type of wallet ?
A: Based on the conversation history, you're asking about depositing funds into a **zkLogin wallet** on Sui.
There are two approaches:
## 1. Traditional Coin Transfer (Object-based)
Send a coin object…
thread: 99c5063e-25aa-4064-92e0-b6b9eeec4100
Q: but if i really really want it in the client, how can i do it
A: The knowledge sources do not contain any information about running the ZK proof generation directly in the browser/client side. The documentation only describes two supported options:
1. **Calling th…
thread: 40f737bf-91d4-4b77-907a-1df279d0c48b
Q: this was actually very eye openeing concept now I understand that the permission is baked in so the way to do it is to make objects, is there anything else in move/sui that is like eye opening like this
A: Great that it clicked! Based on the knowledge sources available, here are a few more "aha moment" concepts in Sui/Move:
## 1. No Global Storage — Inputs Must Be Declared Upfront
In Ethereum/Solidity…
thread: 56a675db-d816-40b7-b3a9-7cb448cc6f06
Q: What are object ownership types for Sui Move?
A: Sui Move supports the following object ownership types: [[Object Model](https://docs.sui.io/guides/developer/objects/object-model#object-ownership)]
## 1. Address-Owned
An object owned by a specific …
thread: 67f169d9-d99b-458a-a507-ad3bdfb293fb
Q: based on this my configuration, if 1000 users play the game a day, what is the estimated winners ? "const BASE_DIFFICULTY_FACTOR: u64 = 1000;
const DIFFICULTY_STEP_PER_USER: u64 = 1;
const MAX_DIFFICULTY_FACTOR: u64 = 100_000 * 1000;
A: I'm sorry, but the knowledge sources provided do not contain information about the code snippet you've shared (involving `BASE_DIFFICULTY_FACTOR`, `DIFFICULTY_STEP_PER_USER`, `MAX_DIFFICULTY_FACTOR`, …
thread: e4a2e118-e679-4def-8905-f426c4afda3d
Q: npm error code 1
npm error path \\wsl.localhost\Ubuntu\home\administrator\DEVCONSUI_MoveCodeCamp2026_Level1_Castro\portfolio_frontend\node_modules\esbuild
npm error command failed
npm error command C:\Windows\system32\cmd.exe /d /s /c node install.js
npm error '\\wsl.localhost\Ubuntu\home\administra
A: This error is caused by a known incompatibility between WSL (Windows Subsystem for Linux) file paths (UNC paths like `\\wsl.localhost\...`) and Windows-native tools. Specifically, `CMD.EXE` cannot han…
thread: 9998f379-4b18-44f6-b46a-66a6b428af3f