Slide 11
Slide 11 text
@arpit
Workflow
● Create Contract in Solidity
● Move Contracts to /contracts directory
● Compile contract:
○ `truffle compile`
● Run Ganache (local test net)
● Deploy Contracts
○ `truffle migrate`
● Import Contract JavaScript stub in your clientside code
○ import MyContract from '../../../build/contracts/MyContract.json'
● Execute functions on Contract in JavaScript (at the right address)