Skip to content

Commit

Permalink
[Common] add networks ro hh config
Browse files Browse the repository at this point in the history
  • Loading branch information
IliaAzhel committed Mar 7, 2024
1 parent 9586fda commit 80234bb
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 4 deletions.
52 changes: 48 additions & 4 deletions hardhat.base.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,31 @@ export default {
chainId: 5000,
accounts: [`0x${MNEMONIC || '1000000000000000000000000000000000000000000000000000000000000000'}`],
},
seiTestnet: {
url: `https://evm-rpc.arctic-1.seinetwork.io`,
chainId: 713715,
accounts: [`0x${MNEMONIC || '1000000000000000000000000000000000000000000000000000000000000000'}`],
},
mode: {
url: `https://mainnet.mode.network/`,
chainId: 34443,
accounts: [`0x${MNEMONIC || '1000000000000000000000000000000000000000000000000000000000000000'}`],
},
blastTestnet: {
url: `https://blast-sepolia.blockpi.network/v1/rpc/public`,
chainId: 168587773,
accounts: [`0x${MNEMONIC || '1000000000000000000000000000000000000000000000000000000000000000'}`],
},
telosTestnet: {
url: `https://testnet.telos.net/evm`,
chainId: 41,
accounts: [`0x${MNEMONIC || '1000000000000000000000000000000000000000000000000000000000000000'}`],
},
beraTestnet: {
url: `https://artio.rpc.berachain.com/`,
chainId: 80085,
accounts: [`0x${MNEMONIC || '1000000000000000000000000000000000000000000000000000000000000000'}`],
},
maticMainnet: {
url: `https://rpc-mainnet.matic.quiknode.pro`,
chainId: 137,
Expand All @@ -85,11 +105,27 @@ export default {
apiKey: `${POLYGONSCAN_API_KEY}`,
customChains: [
{
network: 'mantleTestnet',
chainId: 5001,
network: 'seiTestnet',
chainId: 713715,
urls: {
apiURL: 'https://seitrace.com/api',
browserURL: 'https://seitrace.com/',
},
},
{
network: 'mode',
chainId: 34443,
urls: {
apiURL: 'https://explorer.mode.network/api',
browserURL: 'https://explorer.mode.network/',
},
},
{
network: 'blastTestnet',
chainId: 168587773,
urls: {
apiURL: 'https://explorer.testnet.mantle.xyz/api',
browserURL: 'https://explorer.testnet.mantle.xyz/',
apiURL: 'https://api-sepolia.blastscan.io/api',
browserURL: 'https://sepolia.blastscan.io/',
},
},
{
Expand All @@ -100,6 +136,14 @@ export default {
browserURL: 'https://explorer.mantle.xyz/',
},
},
{
network: 'beraTestnet',
chainId: 80085,
urls: {
apiURL: 'https://api.routescan.io/v2/network/testnet/evm/80085/etherscan/api/',
browserURL: 'https://artio.beratrail.io/',
},
},
],
},
};
5 changes: 5 additions & 0 deletions src/periphery/scripts/verify.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ async function main() {
const deployDataPath = path.resolve(__dirname, '../../../deploys.json');
let deploysData = JSON.parse(fs.readFileSync(deployDataPath, 'utf8'));

await hre.run("verify:verify", {
address: deploysData.tickLens,
constructorArguments: [],
});

await hre.run("verify:verify", {
address: deploysData.quoter,
constructorArguments: [
Expand Down

0 comments on commit 80234bb

Please sign in to comment.