Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertoSnap committed Jan 15, 2021
2 parents aa5f694 + b67ce92 commit 03a6625
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ It runs up a Hardhat node, compile contracts, generates typescript interfaces, c
4. Open up a new terminal
5. `cd frontend`
6. Install deps with yarn `yarn` or npm `npm install`
7. Start React app with yarn `yarn start` or npm `npm start`

The frontend should start up at http://localhost:3000/.
7. Import seed phrase in Metamask. The default mnemonic currently used by hardhat is `test test test test test test test test test test test junk`
8. Ensure Metamask RPC is set to `http://localhost:8545` and chainID `31337`.
9. Start React app with yarn `yarn start` or npm `npm start`. The frontend should start up at http://localhost:3000/.

Because of this default hardhat.config.ts it will first try to connect with an injected provider like Metamask (web3modal package does this).

Expand All @@ -29,12 +29,6 @@ const config: HardhatUserConfig = {
};
```

The default mnemonic currently used by hardhat is `test test test test test test test test test test test junk`

# FAQ

## Metamask

Ensure you are useing RPC to http://localhost:8545.

You may also need to set the chainID to 31337 if you are useing Hardhat blockchain development node.
Expand Down

0 comments on commit 03a6625

Please sign in to comment.