How to run the Dapp front end in Udacity Decentralized Star Notary project
1 min readJan 29, 2019
- Compile the project:
truffle compile
Make sure that the build folder exists, because it is used to get the information of the address of the contract in the test network.
2a. Make sure that StarNotary.json
file in build
has the code to connect to the contract with Rinkeby. Like this:
2b. Make sure that StarNotary.json
file in build
has the code to connect to the contract with Ganache local network. Like this:
3. Connect to metamask
4. Run npm run dev