Skip to content

Commit

Permalink
Merge pull request #84 from gnosisguild/feat_introduce_lisk_sepolia
Browse files Browse the repository at this point in the history
feat: introduce lisk sepolia
  • Loading branch information
juliopavila authored Feb 14, 2025
2 parents 7a701dd + 966a2d3 commit 73490d3
Showing 1 changed file with 25 additions and 5 deletions.
30 changes: 25 additions & 5 deletions packages/contracts/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,6 @@ export default {
...sharedNetworkConfig,
url: `https://mainnet.infura.io/v3/${INFURA_KEY}`,
},
goerli: {
...sharedNetworkConfig,
url: `https://goerli.infura.io/v3/${INFURA_KEY}`,
},
gnosis: {
...sharedNetworkConfig,
url: "https://rpc.gnosischain.com",
Expand All @@ -58,6 +54,12 @@ export default {
...sharedNetworkConfig,
url: `https://sepolia.infura.io/v3/${INFURA_KEY}`,
},
"lisk-sepolia": {
...sharedNetworkConfig,
chainId: 4202,
url: "https://rpc.sepolia-api.lisk.com",
gasPrice: 1000000000,
},
},
namedAccounts: {
deployer: 0,
Expand All @@ -66,6 +68,24 @@ export default {
timeout: 2000000,
},
etherscan: {
apiKey: ETHERSCAN_API_KEY,
apiKey: {
mainnet: ETHERSCAN_API_KEY,
sepolia: ETHERSCAN_API_KEY,
// Use "ETHERSCAN_API_KEY" as a placeholder, because Blockscout doesn't need a real API key, and Hardhat will complain if this property isn't set.
"lisk-sepolia": ETHERSCAN_API_KEY,
} as Record<string, string>,
customChains: [
{
network: "lisk-sepolia",
chainId: 4202,
urls: {
apiURL: "https://sepolia-blockscout.lisk.com/api",
browserURL: "https://sepolia-blockscout.lisk.com",
},
},
],
},
sourcify: {
enabled: false,
},
};

0 comments on commit 73490d3

Please sign in to comment.