Completed Inbox project exercise from Udemy course Ethereum and Solidity: The Complete Developer's Guide.
- Node 14
- Solidity 0.8.x
- Truffle (HDWallet)
- Ganache CLI
- Web3
- Mocha
node compile
npm test
To deploy the Inbox contract to the Rinkeby testnet:
- Create a
.env
file in the project root. - Add entries for MNEMONIC and PROVIDER_URL. e.g.
MNEMONIC="alpha ... lima"
PROVIDER_URL="https://rinkeby.infura.io/v3/<PROJECT_ID>"
- Run
node deploy