We will be using the Truffle framework and the Ganache blockchain for this project:
- Begin by creating a quickstart blockchain using Ganache.
- Copy and paste the USD and Gold contract files to the contract folder in your Truffle workspace.
- Now, bring the Truffle console online. Navigate to the path containing your truffle—config.js.
- Enter truffle console on the Terminal window in order to access the Truffle console.
- Compile both the contracts by entering the compile command in the Truffle command line.
- Provided there are no errors, your contracts should now be compiled and ready to migrate. Hold the compiled builds for now.
- We'll be migrating and deploying these contracts, along with our orderbook smart contract. ...