- Nodejs
- Yarn
- Ganache
- Truffle -
npm install -g truffle
- Portis Account
- Metamask Account
- Infura Account - Only if deploying on the Official Testnet/Mainnet (e.g. Ropsten, Rinkeby, etc.)
- Navigate to the
migrations/2_deploy_erc20.js
file and replace the Address with the address that you own - In the
client/src/
folder add the Portis API key to thedefault.env
and rename the file to.env
Note: You must get Test Ether for the platform you are using in order to change contract data. use the Remote Test Node
Remote Test Node (https://sinelnikov.ca/ganache)
- Deploy the Contract using:
truffle deploy --network development
- In a seperate Terminal, start the client:
yarn start
, you should see a React Page launch
Note: You cannot send your Test ERC-20 Tokens until you add Test Ether to your account. To do that you must:
- Navigate to https://sinelnikov.ca/projects/faucet
- Paste in your address and click
Send Test Ether
You can now interact with the application. Read the Home Page for more details regarding the functionality of the ERC-20 Token Smart Contract
- Start the Ganache Server (see instructions on the Trufflesuite Website)
- In a separate Terminal, deploy the Contract to the Ganache Server:
truffle deploy --network development
- In a seperate Terminal, start the client:
yarn start
, you should see a React Page launch - Import a Generated Ganache Test account by the Private key into the MetaMask wallet
- Switch the network to be localhost:8545 (You should see the account contain about 100 Eth)
- Send the 1 Ether to your original account
- Switch to your original account
You can now interact with the application. Read the Home Page for more details regarding the functionality of the ERC-20 Token Smart Contract
- Add the
.secret
file and insert your mnemonic seed phrase - Add the
.infura
file and insert the link to your Infura project - In a separate Terminal, deploy the Contract to the Ganache Server:
truffle deploy --network ropsten
- In a seperate Terminal, start the client:
yarn start
, you should see a React Page launch - Go to the Ropsten Faucet and enter your address and click
Send me test Ether
You can now interact with the application. Read the Home Page for more details regarding the functionality of the ERC-20 Token Smart Contract