hardhat-tron

📁 hairyf/blockchain-master 📅 1 day ago
1
总安装量
1
周安装量
#78706
全站排名
安装命令
npx skills add https://github.com/hairyf/blockchain-master --skill hardhat-tron

Agent 安装分布

mcpjam 1
claude-code 1
replit 1
junie 1
windsurf 1
zencoder 1

Skill 文档

The skill is based on the LayerZero Hardhat TRON example (layerzero-hardhat-tron), generated at 2026-02-25.

Use this skill when configuring Hardhat for TRON (Nile/mainnet), compiling Solidity with tronSolc, deploying with hardhat-deploy, or writing tests. Plugin: @layerzerolabs/hardhat-tron; deploy: @layerzerolabs/hardhat-deploy.

Dependencies & versions

  • Hardhat must be v2: @layerzerolabs/hardhat-tron requires Hardhat 2.x; Hardhat 3 is not supported.
  • Recommended versions (aligned with the example project):
    • hardhat: ^2.26.3
    • @layerzerolabs/hardhat-tron: ^3.0.124
    • @layerzerolabs/hardhat-deploy: ^0.11.45-lz.4
    • @nomicfoundation/hardhat-toolbox: ^6.1.0
    • dotenv: ^17.2.1

Core References

Topic Description Reference
Config Plugin, solidity/tronSolc alignment, networks (Nile), env (TRON_PRIVATE_KEY, TRON_PRO_API_KEY) core-config
Compilation tronSolc enable/filter/compilers, version match, remapping core-compilation

Features

Topic Description Reference
Deployment hardhat-deploy script pattern, deploy to Nile, tags features-deployment
Testing Mocha/Chai tests on local Hardhat network, ethers features-testing