Truffle
Truffle: Deploy ERC20 Contract
Step 1. Enter smart-contract-example/truffle
folder
smart-contract-example/truffle
folderStep 2. Run npm install
inside the folder
npm install
inside the folderStep 3. Make a copy of .env.example
to .env
.env.example
to .env
Step 4. Modify .env
and fill ONE of the fields
.env
and fill ONE of the fieldsStep 5. Review Migration Script at
Step 6. Endpoints setting
By default, the script will be using your local host "127.0.0.1"
- If you are not running a localhost, you may leverage the public endpoint http://13.213.36.146:6868
by making changes to networks in truffle-config.js
, for example:
Step 7. Deploy Contract
Last updated