Decentralize App (Dapp) for trading Dai token to get product. Metamask's API in 2021.
The following assumes the use of node@>=10
.
truflle
v5.4.2 - a development framework for EthereumGanache
- ONE CLICK BLOCKCHAIN"@openzeppelin/contracts": "^4.3.3"
yarn
truffle compile
Open the Ganache app and click quick-start. Easy right?
truffle migrate --network development --reset
cd backend/
node server.js
cd frontend/
yarn start