AgentSkillsCN

Sunhat TRON Development

Sunhat工具套件官方详尽指南,助您高效开发、测试、部署并审计TRON智能合约。

SKILL.md
--- frontmatter
name: Sunhat TRON Development
description: The official detailed guide for developing, testing, deploying, and auditing TRON smart contracts using the Sunhat toolkit.

Sunhat TRON Development Skill

This skill enables you to develop, test, and deploy smart contracts on the TRON network.

Rule: Do not memorize the details of every task. Only read the specific workflow file relevant to your current objective.

Capabilities

ObjectiveWorkflow FileDescription
Initialize Projectsunhat-init.mdSetup new project structure, config, and env.
Compile Contractssunhat-compile.mdCompile Solidity/Vyper with TRON settings.
Run Testssunhat-test.mdRun Foundry (Solidity) or Hardhat (JS) tests.
Security Auditsunhat-audit.mdWhite Hat Analyze, Exploit (PoC), and Report.
Deploy to Networksunhat-deploy.mdDeploy contracts to Mainnet/Nile/Shasta.

Quick Reference

  • CLI Tool: sunhat (implicitly wraps Hardhat)
  • Config: hardhat.config.ts
  • Networks: tron (alias for configured TRON network)