The CPE494 Blockchain Technology term project.
- node (12.18.4+)
- npm (6.14.6+)
- Ganace
- Metamask Extension
- Truffle
$ npm install -g truffle
- Clone this repository
- Open
Ganance
to create local ethereum network - Cd into the cloned repository folder
- Intall library
$ npm install
- Deploy Smart contract
$ truffle migrate
- Run frontend local development
$ npm run serve
├ contracts
│ ├ DEX.sol
│ ├ SlotMachine.sol
│ └ WTFERC20.sol
│
├ migrations
│ └ 2_deploy_contract.js
│
└ src
├ views
├ components
├ contracts
├ utils
│ └ web3.js
└ main.js
/contracts
is the solidity source code folder
/migrations
is the migration script folder
/src
is the frontend source code folder
/src/contracts
is the built smart contract source code folder