- Start Ganache (GUI or CLI)
ganache-cli -p 7545 - compile and migrate contracts
#!/usr/bin/env bash truffle compile # compile contracts means generate build folder with contracts json files truffle migrate --reset # migrate contracts means deploy contracts to ganache-cli sleep 1 # wait for ganache-cli to start rm -rf ./src/build # remove build folder from src folder mv -f ./build ./src/build # move build folder to src folder so that react can access it - use
npm startto start the react app - use private key from ganache-cli to login to metamask
- use private key for service account
-
Notifications
You must be signed in to change notification settings - Fork 0
cs-hassan-ali/fyp
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published