Skip to content

Instantly share code, notes, and snippets.

@italosantana
Last active March 4, 2022 11:52
Show Gist options
  • Save italosantana/ccbd8ab2e16516713baf76ddddfa8f45 to your computer and use it in GitHub Desktop.
Save italosantana/ccbd8ab2e16516713baf76ddddfa8f45 to your computer and use it in GitHub Desktop.
hardhat.config.js
/**
* @type import('hardhat/config').HardhatUserConfig
*/
module.exports = {
solidity: "0.8.7",
paths: {
artifacts: './src/artifacts',
},
networks: {
hardhat: {
chainId: 1337
}
}
}
// rinkeby
module.exports = {
solidity: "0.8.7",
networks: {
rinkeby: {
url: "https://rinkeby.infura.io/v3/<key>", //Infura url with projectId
accounts: [""] // add the account that will deploy the contract (private key)
},
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment