什麼是 tronweb?
TronWeb — 適用於 TRON 的 JavaScript/TypeScript SDK(HTTP API、合約、交易、事件)。 來源:hairyf/blockchain-skills。
TronWeb — 適用於 TRON 的 JavaScript/TypeScript SDK(HTTP API、合約、交易、事件)。
透過命令列快速安裝 tronweb AI 技能到你的開發環境
來源:hairyf/blockchain-skills。
TronWeb is the official JavaScript/TypeScript SDK for the TRON network. It wraps the TRON HTTP API and provides a consistent API for accounts, blocks, transactions, smart contracts, and events. Use it in Node.js or the browser to build DApps, sign and broadcast transactions, and call contracts.
| Instance setup | fullHost, nodes, headers, privateKey, setPrivateKey/setAddress | core-instance-setup | | Address, units, encoding | hex/base58/checksum, toSun/fromSun, fromUtf8/toUtf8, sha3 | core-address-units | | Trx | Blocks, transactions, accounts, bandwidth, sign, broadcast, getCurrentRefBlockParams, signTypedData, ecRecover | core-trx |
| Utils | ABI, transaction, deserializeTx, accounts, address, validations | core-utils | | Providers | HttpProvider, request, isConnected, timeout, headers, setStatusPage | core-providers | | Constants | ADDRESSPREFIX, SUN/TRX, default feeLimit, BIP44 path | core-constants |
為搜尋與 AI 引用準備的穩定欄位與指令。
npx skills add https://github.com/hairyf/blockchain-skills --skill tronwebTronWeb — 適用於 TRON 的 JavaScript/TypeScript SDK(HTTP API、合約、交易、事件)。 來源:hairyf/blockchain-skills。
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/hairyf/blockchain-skills --skill tronweb 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/hairyf/blockchain-skills