node
: 14.17npm
: 7.19truffle
: 5.3 or highersolidity
: 0.8.4
$ npm install
- Copy your BSC secret key into file .secret (remember not to commit it)
- Compile the project
$ truffle compile
- Deploy the project
$ truffle migrate --network NETWORK_NAME --compile-none
In this case, NETWORK_NAME
could be one of the following: mainnet, testnet, development.
Modify the scripts in the folder migrations to favoured contracts.