hairyf/blockchain-skills

tronweb

TronWeb — JavaScript/TypeScript SDK for TRON (HTTP API, contracts, transactions, events).

First seen Feb 25, 2026

Installation

$ npx skills add hairyf/blockchain-skills --skill tronweb

Also in this package

Other skills from hairyf/blockchain-skills · top by installs.

npx skills add hairyf/blockchain-skills

Browse all from hairyf/blockchain-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 4
License LICENSE.md
Default branch main
Open issues 1
Status Active

Skill metadata

Parsed from SKILL.md frontmatter.

Version2026.1.1
More metadata
author
Hairy
version
2026.1.1
source
Generated from https://github.com/tronprotocol/tronweb, scripts located at https://github.com/antfu/skills

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 3,641 B
  • docs SUMMARY.md 106 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 8 installs

SKILL.md

Skill is based on TronWeb v6.2.0, generated at 2026-02-25.

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.

Core References

Topic Description Reference
Instance setup fullHost, nodes, headers, privateKey, setPrivateKey/setAddress [core-instance-setup](references/core-instance-setup.md)
Address, units, encoding hex/base58/checksum, toSun/fromSun, fromUtf8/toUtf8, sha3 [core-address-units](references/core-address-units.md)
Trx Blocks, transactions, accounts, bandwidth, sign, broadcast, getCurrentRefBlockParams, signTypedData, ecRecover [core-trx](references/core-trx.md)
Utils ABI, transaction, deserializeTx, accounts, address, validations [core-utils](references/core-utils.md)
Providers HttpProvider, request, isConnected, timeout, headers, setStatusPage [core-providers](references/core-providers.md)
Constants ADDRESS_PREFIX, SUN/TRX, default feeLimit, BIP44 path [core-constants](references/core-constants.md)

Features

Transactions and contracts

Topic Description Reference
TransactionBuilder sendTrx, sendToken, freeze/unfreeze, triggerSmartContract, createSmartContract, deployConstantContract [features-transaction-builder](references/features-transaction-builder.md)
Contract contract(abi, address), methods.call/send, decodeInput, new(), at() [features-contract](references/features-contract.md)
Events getEventsByContractAddress, getEventsByTransactionID, getEventsByBlockNumber, setServer [features-events](references/features-events.md)
Plugin register(PluginClass), pluginInterface (requires, components, fullClass) [features-plugin](references/features-plugin.md)
Message and typed data signMessage/verifyMessage, signTypedData/verifyTypedData, EIP-712 TypedDataEncoder [features-message-typed-data](references/features-message-typed-data.md)
Connection and version isConnected(), fullnodeSatisfies(version), getFullnodeVersion() [features-connection-version](references/features-connection-version.md)
Trx tokens and chain getTokenFromID, getTokensIssuedByAddress, getAccountResources, getChainParameters [features-trx-tokens-resources](references/features-trx-tokens-resources.md)

Best practices

Topic Description Reference
Errors and typing Error instances (e.message), ABI as const for contract inference [best-practices-errors-typing](references/best-practices-errors-typing.md)
Param validation Validator, notValid(params), param types (address, integer, resource, url, hex, etc.) [best-practices-param-validation](references/best-practices-param-validation.md)
Multi-signature getSignWeight, getApprovedList, multiSign, permissionId [best-practices-multisig](references/best-practices-multisig.md)
Transaction lifecycle Sign → broadcast → getTransactionInfo, handling receipt and FAILED [best-practices-transaction-lifecycle](references/best-practices-transaction-lifecycle.md)