/erc20-generator

A simple Smart Contract for a Standard, Mintable, Burnable, Payable ERC20 Token with Minter Role.

Primary LanguageJavaScriptMIT LicenseMIT

ERC20 Token Generator

Try it

https://vittominacori.github.io/erc20-generator

Development

Install dependencies

npm install

Usage (using Truffle)

Open the Truffle console

npm run console

Compile

npm run compile

Test

npm run test

Usage (using Buidler)

Open the Buidler console

npm run buidler:console

Compile

npm run buidler:compile

Test

npm run buidler:test

Code Coverage

npm run coverage

Linter

Use Solhint

npm run lint:sol

Use ESLint

npm run lint:js

Use ESLint and fix

npm run lint:fix

Flattener

This allow to flatten the code into a single file

Edit scripts/flat.sh to add your contracts

npm run flat