Skip to content

Template for creating a new TRC20 token on the TRON blockchain

License

Notifications You must be signed in to change notification settings

cookie-coin/TRC20-Coin-Starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TRC20-Coin-Starter

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.

Getting Started

Setup

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

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Releases

No releases published

Packages

No packages published