thruput

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Thruput

Thruput

Thruput is not EVM-compatible. Do not infer its execution, storage, account, transaction, gas, or ABI behavior from Ethereum, Solana, or another chain.
Thruput 与 EVM 不兼容。不要根据 Ethereum、Solana 或其他链推断其执行、存储、账户、交易、gas 或 ABI 行为。

Start here

从这里开始

  1. Read the project's
    AGENTS.md
    and manifests when present.
  2. Identify the task and read the relevant reference below.
  3. If the task uses the CLI, run
    thruput --version
    and the relevant command's
    --help
    . Use
    thruput status --json
    when local setup matters.
  4. Prefer public APIs, generated bindings, and current examples. Inspect
    node_modules
    , Cargo registry source, or Thruput implementation repositories only after those public surfaces are insufficient.
Application reads do not require a Rust toolchain, wallet, or local node. Use the dependencies and network selected by the project.
  1. 如果项目中存在
    AGENTS.md
    和 manifests,请先阅读它们。
  2. 明确任务,并阅读下方相关的参考文档。
  3. 如果任务使用 CLI,请运行
    thruput --version
    以及相关命令的
    --help
    。当本地环境配置很重要时,使用
    thruput status --json
    。
  4. 优先使用公共 API、生成的 bindings 和当前示例。只有在这些公开接口不足时,才检查
    node_modules
    、Cargo registry 源码或 Thruput 实现仓库。
应用读取操作不需要 Rust 工具链、wallet 或 local node。请使用项目指定的依赖和网络。

Choose a reference

选择参考文档

TaskReadCLI access
Contract logic, storage, native and RV32 testsContracts
thruput skill show contracts
Generated bindings, application reads, wallet execution, eventsTypeScript
thruput skill show typescript
React application state and readsReact
thruput skill show react
CLI setup, keys, wallets, deployment, local nodesCLI
thruput skill show cli
Errors, version disagreements, uncertain submissionsTroubleshooting
thruput skill show troubleshooting
Porting a Soroban contractSoroban
thruput skill show soroban
Read references as needed.
thruput skill list
lists the installed references, and
thruput skill show <topic>
prints one. No option prints every file.
thruput skill show
reads
.agents/skills/thruput
in the current directory, then in your home directory, and does not search parent directories. Run it from the directory where the project skill is installed, or add
--global
.
任务查阅CLI 访问方式
合约逻辑、存储、native 和 RV32 测试Contracts
thruput skill show contracts
生成的 bindings、应用读取、wallet 执行、事件TypeScript
thruput skill show typescript
React 应用状态和读取React
thruput skill show react
CLI 设置、密钥、wallet、部署、local nodeCLI
thruput skill show cli
错误、版本不一致、提交结果不确定故障排查
thruput skill show troubleshooting
移植 Soroban 合约Soroban
thruput skill show soroban
按需阅读参考文档。
thruput skill list
会列出已安装的参考文档,
thruput skill show <topic>
会打印指定文档。没有选项可以打印所有文件。
thruput skill show
会先读取当前目录中的
.agents/skills/thruput
,再读取用户主目录中的对应目录,并且不会搜索父目录。请在安装项目 skill 的目录中运行该命令,或者添加
--global
。

Shared rules

通用规则

  • A generated TypeScript binding describes a contract. It is not a connected contract instance and its methods are not direct RPC functions.
  • Application invocations normally execute as children of a wallet root invocation. Use the public client or CLI to prepare and submit transactions.
  • Submission, commitment, and successful execution are different states. After a timeout, follow transaction inspection.
  • Exchange and store addresses as base58. RPC responses, CLI JSON reports, and wallet sessions use base58. CLI 0.40.1 and later also accept a Thruput
    Z
    StrKey and reject Stellar
    C
    addresses. A
    G
    key identifies a signer, not an account address.
  • Gas meters computation. It has no token price and is not burned. Declared root gas reserves scheduling capacity against free native tokens; storage funding is separate.
  • Never print, log, or paste private signing material. Keep private keys in the wallet or designated key store. Persist signed transaction evidence before broadcast, as shown in the TypeScript example. Use public addresses, transaction hashes, and redacted configuration in reports.
  • 生成的 TypeScript binding 描述的是一个合约。它不是已连接的合约实例,其方法也不是直接的 RPC 函数。
  • 应用 invocation 通常作为 wallet root invocation 的子级执行。使用 public client 或 CLI 准备并提交交易。
  • 提交(submission)、入账承诺(commitment)和成功执行(successful execution)是不同状态。超时后,请按照交易检查中的说明操作。
  • 地址应始终以 base58 形式传递和存储。RPC responses、CLI JSON reports 和 wallet sessions 均使用 base58。CLI 0.40.1 及更高版本也接受 Thruput
    Z
    StrKey,并拒绝 Stellar
    C
    地址。
    G
    key 表示 signer,而不是账户地址。
  • Gas 用于计量计算资源。它没有 token 价格,也不会被销毁。声明的 root gas 会以 free native tokens 为限预留调度容量;storage funding 单独处理。
  • 绝不要打印、记录或粘贴私有签名材料。将 private keys 保存在 wallet 或指定的 key store 中。按照 TypeScript 示例,在 broadcast 前持久化已签名交易的证据。报告中仅使用 public addresses、transaction hashes 和经过脱敏的配置。

Documentation and versions

文档与版本

Start at https://thruput.network/docs/ for product documentation. The installed CLI's
thruput docs
serves its selected documentation snapshot locally.
The installed skill follows the latest maintained source independently of CLI releases. The project's installed API remains the authority. Each example names its dependency set. Start from that complete example, then check the project's installed declarations if its versions differ.
产品文档请从 https://thruput.network/docs/ 开始。已安装 CLI 的
thruput docs
命令会在本地提供其选定版本的文档快照。
已安装的 skill 会独立于 CLI 发布版本,跟随最新维护的源码。项目实际安装的 API 仍是权威依据。每个示例都会标明其依赖集。请先从完整示例入手;如果版本有所不同,再检查项目中已安装的声明。