ETH Hackathon -- NFT, DAO, Layer-2, Defi@Beijing 1 Grant
-
Install Truffle globally.
npm install -g truffle
-
Run the development console.
truffle develop
-
Compile and migrate the smart contracts. Note inside the development console we don't preface commands with
truffle
.compile migrate
-
In the
client
directory, we run the React app. Smart contract changes must be manually recompiled and migrated.// in another terminal (i.e. not in the truffle develop prompt) cd client yarn yarn start