Template project that ICE workshop attendees can use
- Enter the deployed token contract addresses in
.env
file. - Tested with node version v16.14.0
$ npm install
$ npm start
- Create a
.secret
file in the root directory and enter your wallet private key. This wallet will be used for deployment and contract interactions with truffle. - Currently, only deployment in localhost:8545 and arctic testnet are supported. That can be modified from
truffle.config.js
file. - Compiling contracts inside
contracts
dir:
$ truffle compile
- Deploying contracts to local blockchain:
$ truffle deploy
-
If you ever get the error message
Transaction is temporarily banned
while deploying contract, it means that a transaction with the same hash was either:- Part of recently mined block
- Detected as invalid during block production and removed from the pool
-
A transaction is only temporarily banned because it will be removed from the blacklist when either:
- 30 minutes pass
- There are more than 4,000 transactions on the blacklist