Skip to content

Instantly share code, notes, and snippets.

@hackingbeauty
Created December 3, 2024 12:50
Show Gist options
  • Save hackingbeauty/6e8c9dca82ac3a0dfa22ee1681c2ce26 to your computer and use it in GitHub Desktop.
Save hackingbeauty/6e8c9dca82ac3a0dfa22ee1681c2ce26 to your computer and use it in GitHub Desktop.
require("@nomiclabs/hardhat-ethers");
require("@nomiclabs/hardhat-etherscan");
require('dotenv').config();
const privateKey = process.env.PRIVATE_KEY;
const endpoint = process.env.URL;
const etherscanKey = process.env.ETHERSCAN_KEY;
module.exports = {
solidity: "0.8.28",
networks: {
sepolia: {
url: endpoint,
accounts: [`0x${privateKey}`]
}
},
etherscan: {
apiKey: etherscanKey
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment