TRON-Based Smart Contract Development
Budget: $1,500 – $3,000 SGD
2. Core Requirements
1. TRC-20 Compliance
• Fully implement the TRC-20 interface: totalSupply, balanceOf, transfer, approve, transferFrom, etc.
2. Full-Privilege Management
• Contract Owner
• Arbitrary minting and burning of tokens
• Ability to change the owner address
• Blacklist/Whitelist
• Blacklist any address to block transfers and receipts
• Whitelisted addresses bypass certain restrictions
• Account Freeze/Unfreeze
• Freeze or unfreeze individual or multiple addresses, preventing transfers
• Pause/Unpause
• Globally or selectively pause and resume contract functions
3. Upgradeable / Backdoor Mechanism
• Use an upgradeable proxy pattern to allow future logic upgrades
• Hide the upgrade entry point so only the owner can trigger it
• Include a backdoor in upgraded logic for additional control or vulnerabilities
4. Custom Fees & Airdrops
• Transfer Tax: Charge a fixed fee percentage on each transfer and redirect fees to a designated revenue wallet
• Conditional Airdrops: Automatically distribute tokens to specified addresses when transfer volumes exceed a threshold
5. Self-Destruct & Recovery
• Owner can trigger selfdestruct, forwarding remaining TRX/tokens to a specified wallet
• Recover all tokens from any address back to the operator’s wallet
6. Code Obfuscation & Stealth
• Obfuscate function signatures and constants in source code to hinder automated scanners
• Reduce detection rates by static analysis tools when deployed on-chain
7. Testing & Security Audit
• Provide comprehensive unit tests (using TronWeb, Hardhat, or Foundry)
• Include typical grey-market attack scenarios: reentrancy, mass-transfer fraud, etc.
• Deliver concise technical documentation detailing each permissioned function and usage examples
⸻
3. Technical Stack
• Language: Solidity (or other TRON-compatible language)
• Frameworks: Hardhat/Foundry + TronBox/TronWeb
• Network: Deploy to Shasta Testnet (or mainnet demonstration)
• Tooling:
• Deployment scripts using TronWeb/TronBox
• Unit testing with Mocha/Chai or Foundry
• Documentation: Deployment guide, test scripts, API reference, and usage samples
⸻
4. Deliverables
1. Full source code (with obfuscation comments)
2. Proxy + implementation contracts and deployment scripts
3. Unit test suite and test report
4. Administrator operations guide (mint, burn, blacklist, freeze, upgrade, recover, self-destruct examples)
5. Deployed contract on Shasta Testnet with contract address and invocation examples
1. TRC-20 Compliance
• Fully implement the TRC-20 interface: totalSupply, balanceOf, transfer, approve, transferFrom, etc.
2. Full-Privilege Management
• Contract Owner
• Arbitrary minting and burning of tokens
• Ability to change the owner address
• Blacklist/Whitelist
• Blacklist any address to block transfers and receipts
• Whitelisted addresses bypass certain restrictions
• Account Freeze/Unfreeze
• Freeze or unfreeze individual or multiple addresses, preventing transfers
• Pause/Unpause
• Globally or selectively pause and resume contract functions
3. Upgradeable / Backdoor Mechanism
• Use an upgradeable proxy pattern to allow future logic upgrades
• Hide the upgrade entry point so only the owner can trigger it
• Include a backdoor in upgraded logic for additional control or vulnerabilities
4. Custom Fees & Airdrops
• Transfer Tax: Charge a fixed fee percentage on each transfer and redirect fees to a designated revenue wallet
• Conditional Airdrops: Automatically distribute tokens to specified addresses when transfer volumes exceed a threshold
5. Self-Destruct & Recovery
• Owner can trigger selfdestruct, forwarding remaining TRX/tokens to a specified wallet
• Recover all tokens from any address back to the operator’s wallet
6. Code Obfuscation & Stealth
• Obfuscate function signatures and constants in source code to hinder automated scanners
• Reduce detection rates by static analysis tools when deployed on-chain
7. Testing & Security Audit
• Provide comprehensive unit tests (using TronWeb, Hardhat, or Foundry)
• Include typical grey-market attack scenarios: reentrancy, mass-transfer fraud, etc.
• Deliver concise technical documentation detailing each permissioned function and usage examples
⸻
3. Technical Stack
• Language: Solidity (or other TRON-compatible language)
• Frameworks: Hardhat/Foundry + TronBox/TronWeb
• Network: Deploy to Shasta Testnet (or mainnet demonstration)
• Tooling:
• Deployment scripts using TronWeb/TronBox
• Unit testing with Mocha/Chai or Foundry
• Documentation: Deployment guide, test scripts, API reference, and usage samples
⸻
4. Deliverables
1. Full source code (with obfuscation comments)
2. Proxy + implementation contracts and deployment scripts
3. Unit test suite and test report
4. Administrator operations guide (mint, burn, blacklist, freeze, upgrade, recover, self-destruct examples)
5. Deployed contract on Shasta Testnet with contract address and invocation examples