thruput
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseThruput
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
从这里开始
- Read the project's and manifests when present.
AGENTS.md - Identify the task and read the relevant reference below.
- If the task uses the CLI, run and the relevant command's
thruput --version. Use--helpwhen local setup matters.thruput status --json - Prefer public APIs, generated bindings, and current examples. Inspect
, Cargo registry source, or Thruput implementation repositories only after those public surfaces are insufficient.
node_modules
Application reads do not require a Rust toolchain, wallet, or local node.
Use the dependencies and network selected by the project.
- 如果项目中存在 和 manifests,请先阅读它们。
AGENTS.md - 明确任务,并阅读下方相关的参考文档。
- 如果任务使用 CLI,请运行 以及相关命令的
thruput --version。当本地环境配置很重要时,使用--help。thruput status --json - 优先使用公共 API、生成的 bindings 和当前示例。只有在这些公开接口不足时,才检查 、Cargo registry 源码或 Thruput 实现仓库。
node_modules
应用读取操作不需要 Rust 工具链、wallet 或 local node。请使用项目指定的依赖和网络。
Choose a reference
选择参考文档
| Task | Read | CLI access |
|---|---|---|
| Contract logic, storage, native and RV32 tests | Contracts | |
| Generated bindings, application reads, wallet execution, events | TypeScript | |
| React application state and reads | React | |
| CLI setup, keys, wallets, deployment, local nodes | CLI | |
| Errors, version disagreements, uncertain submissions | Troubleshooting | |
| Porting a Soroban contract | Soroban | |
Read references as needed. lists the installed
references, and prints one. No option prints every
file. reads 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
.
thruput skill listthruput skill show <topic>thruput skill show.agents/skills/thruput--global| 任务 | 查阅 | CLI 访问方式 |
|---|---|---|
| 合约逻辑、存储、native 和 RV32 测试 | Contracts | |
| 生成的 bindings、应用读取、wallet 执行、事件 | TypeScript | |
| React 应用状态和读取 | React | |
| CLI 设置、密钥、wallet、部署、local node | CLI | |
| 错误、版本不一致、提交结果不确定 | 故障排查 | |
| 移植 Soroban 合约 | Soroban | |
按需阅读参考文档。 会列出已安装的参考文档, 会打印指定文档。没有选项可以打印所有文件。 会先读取当前目录中的 ,再读取用户主目录中的对应目录,并且不会搜索父目录。请在安装项目 skill 的目录中运行该命令,或者添加 。
thruput skill listthruput skill show <topic>thruput skill show.agents/skills/thruput--globalShared 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 StrKey and reject Stellar
Zaddresses. ACkey identifies a signer, not an account address.G - 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 StrKey,并拒绝 Stellar
Z地址。Ckey 表示 signer,而不是账户地址。G - 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 serves its selected documentation snapshot locally.
thruput docsThe 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 仍是权威依据。每个示例都会标明其依赖集。请先从完整示例入手;如果版本有所不同,再检查项目中已安装的声明。