Token smart contract for Celeb Plus platform
- First uncomment the deployer function corresponds to the contract you want to deploy and comment out all the others in
migrations/2_celebplustoken.js
file. - If the project folder includes
build
folder, first delete it - Compile the corresponding contract as follows;
truffle compile
- Make a '.env' file
// Set mnemonic words for deployer
MNEMONICS=
// Set your infura project secret key
INFURA_API_KEY=
- Finally deploy the contract on the network you desire
NETWORK=<network_name> npm run deploy
- In order to run the whole tests
truffle test
- In order to run only specific test file