Skip to content

Instantly share code, notes, and snippets.

@Shih-Yu
Last active August 30, 2021 17:09
Show Gist options
  • Save Shih-Yu/435138cf9ff52f68a2a27803ab139075 to your computer and use it in GitHub Desktop.
Save Shih-Yu/435138cf9ff52f68a2a27803ab139075 to your computer and use it in GitHub Desktop.
React Project Setup Using Hardhat & Truffle - part 2
networks: {
// Useful for testing. The `development` name is special - truffle uses it by default
// if it's defined here and no other network is specified at the command line.
// You should run a client (like ganache-cli, geth or parity) in a separate terminal
// tab if you use this network and you must also set the `host`, `port` and `network_id`
// options below to some value.
//
development: {
host: "127.0.0.1", // Localhost (default: none)
port: 8545, // Standard Ethereum port (default: none)
network_id: "*", // Any network (default: none)
// },
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment