Skip to content

Instantly share code, notes, and snippets.

@Karkunow
Last active June 27, 2023 16:06
Show Gist options
  • Select an option

  • Save Karkunow/fa0e9a6616b119f19e65ce4e931a561b to your computer and use it in GitHub Desktop.

Select an option

Save Karkunow/fa0e9a6616b119f19e65ce4e931a561b to your computer and use it in GitHub Desktop.
require("@nomicfoundation/hardhat-toolbox");
/** @type import('hardhat/config').HardhatUserConfig */
require('dotenv').config();
const AURORA_PRIVATE_KEY = process.env.AURORA_PRIVATE_KEY;
const AURORA_PLUS_KEY = process.env.AURORA_PLUS_KEY;
module.exports = {
solidity: "0.8.9",
networks: {
mainnet: {
url: `https://mainnet.aurora.dev/${AURORA_PLUS_KEY}`,
accounts: [`0x${AURORA_PRIVATE_KEY}`],
chainId: 1313161554,
},
testnet: {
url: `https://testnet.aurora.dev/${AURORA_PLUS_KEY}`,
accounts: [`0x${AURORA_PRIVATE_KEY}`],
chainId: 1313161555,
},
local: {
url: 'http://localhost:8545',
accounts: [`0x${AURORA_PRIVATE_KEY}`],
chainId: 1313161555,
gasPrice: 120 * 1000000000
},
},
etherscan: {
apiKey: "adsfasdfasfasdfsdfdf",
customChains: [
{
network: "testnet",
chainId: 1313161555,
urls: {
apiURL: "https://explorer.testnet.aurora.dev/api",
browserURL: "https://explorer.testnet.aurora.dev/"
}
},
]
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment