Skip to content

Commit

Permalink
add opbnb network etherscan options
Browse files Browse the repository at this point in the history
  • Loading branch information
miquelcabot committed Oct 16, 2023
1 parent 339c78f commit e2a3cc8
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion hardhat.config.ts
Expand Up @@ -6,7 +6,8 @@ import {
getBscscanApiKey,
getPolygonscanApiKey,
getCeloscanApiKey,
getBasescanApiKey
getBasescanApiKey,
getOpBnbApiKey
} from "./src/EnvParams";
import "hardhat-deploy";
import "@nomiclabs/hardhat-ethers";
Expand Down Expand Up @@ -154,6 +155,22 @@ export default {
apiURL: "https://api-goerli.basescan.org/api",
browserURL: "https://goerli.basescan.org"
}
},
{
network: "opbnbtest",
chainId: 5611,
urls: {
apiURL: "https://opbnb-testnet.nodereal.io/v1/" + getOpBnbApiKey(),
browserURL: "https://opbnbscan.com/"
}
},
{
network: "opbnb",
chainId: 204,
urls: {
apiURL: "https://opbnb-mainnet.nodereal.io/v1/" + getOpBnbApiKey(),
browserURL: "https://mainnet.opbnbscan.com/"
}
}
]
},
Expand Down

0 comments on commit e2a3cc8

Please sign in to comment.