This is a starter repository for creating your own, custom TRC20 compatible token on the TRON blockchain.
It already contains the base implementation of a TRC20, expressed in the interface: contracts/TRC20able.sol and implemented in the abstract contract: contracts/BaseCoin.sol.
First you need to set up your development environment by installing the tron-box: how to set up tronbox
Then you need a local tron node running. Ideally you can do this with the docker-tron-quickstart
After that you can just use your favorite IDE to start developing (e.g. Visual Studio Code or IntelliJ IDEA).
The main contract for your token is MyCoin.sol.
For the unit-tests there is already a class with complete tests that should cover the basic implementation and can be extended with the needs of your custom implementation: MyCoin.test.js.
For using tronbox to compile, migrate, deploy and run tests please check out tron-box-contract-deployment
- Florian Mitterbauer - Initial work - daflockinger
This project is licensed under the MIT License - see the LICENSE.md file for details