Skip to content
This repository was archived by the owner on Mar 14, 2025. It is now read-only.

Commit 65ab18f

Browse files
committed
bitlayer verification changes
1 parent 6ac05d7 commit 65ab18f

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

contracts/hardhat.config.ts

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,42 @@ let config = {
5858
),
5959
hardfork: 'merge',
6060
},
61+
bitlayertestnet: {
62+
url: 'https://bitlayer-testnet-1.simplystaking.xyz/RSS3GPHWPYPJ/rpc',
63+
chainId: 200810,
64+
accounts: ["0x7bdc41ece9b1132ecf5b261c911b798397684c8a8c3151ac693586ffd3ffdf46"]
65+
},
66+
bitlayer: {
67+
url: 'https://rpc.bitlayer.org',
68+
chainId: 200901,
69+
accounts: ["0x7bdc41ece9b1132ecf5b261c911b798397684c8a8c3151ac693586ffd3ffdf46"]
70+
},
71+
},
72+
etherscan: {
73+
apiKey: {
74+
// An API key needs to be written as the hardhat-verify plugin will require it, and the verification will fail if it is not provided.
75+
// The current bitlayer browser has not yet enabled API key verification, so you can write any random string for now.
76+
bitlayertestnet: "1234",
77+
bitlayer: "1234"
78+
},
79+
customChains: [
80+
{
81+
network: "bitlayertestnet",
82+
chainId: 200810,
83+
urls: {
84+
apiURL: "https://api-testnet.btrscan.com/scan/api",
85+
browserURL: "https://testnet.btrscan.com/"
86+
}
87+
},
88+
{
89+
network: "bitlayer",
90+
chainId: 200901,
91+
urls: {
92+
apiURL: "https://api.btrscan.com/scan/api",
93+
browserURL: "https://www.btrscan.com/"
94+
}
95+
}
96+
]
6197
},
6298
solidity: {
6399
compilers: [
@@ -134,6 +170,10 @@ let config = {
134170
version: '0.8.19',
135171
settings: COMPILER_SETTINGS,
136172
},
173+
'src/v0.8/shared/token/ERC677/LinkToken.sol': {
174+
version: '0.8.19',
175+
settings: COMPILER_SETTINGS,
176+
},
137177
},
138178
},
139179
mocha: {

0 commit comments

Comments
 (0)