Contract verification
Configuration
module.exports = {
// ...rest of the config...
etherscan: {
apiKey: `ANY_STRING_WILL_DO`,
customChains: [
{
network: "swisstronik",
chainId: 1291,
urls: {
apiURL: "https://explorer-evm.testnet.swisstronik.com/api",
browserURL: "https://explorer-evm.testnet.swisstronik.com",
},
},
],
},
};Verify contract
Using Hardhat CLI
Using script
Last updated