Skip to content

Commit

Permalink
bitlayer verification changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ma33r committed Nov 27, 2024
1 parent 6ac05d7 commit 65ab18f
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions contracts/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,42 @@ let config = {
),
hardfork: 'merge',
},
bitlayertestnet: {
url: 'https://bitlayer-testnet-1.simplystaking.xyz/RSS3GPHWPYPJ/rpc',

Check failure on line 62 in contracts/hardhat.config.ts

View workflow job for this annotation

GitHub Actions / Solidity Lint

Delete `·`
chainId: 200810,
accounts: ["0x7bdc41ece9b1132ecf5b261c911b798397684c8a8c3151ac693586ffd3ffdf46"]

Check failure on line 64 in contracts/hardhat.config.ts

View workflow job for this annotation

GitHub Actions / Solidity Lint

Replace `"0x7bdc41ece9b1132ecf5b261c911b798397684c8a8c3151ac693586ffd3ffdf46"]` with `⏎········'0x7bdc41ece9b1132ecf5b261c911b798397684c8a8c3151ac693586ffd3ffdf46',⏎······],`
},
bitlayer: {
url: 'https://rpc.bitlayer.org',
chainId: 200901,
accounts: ["0x7bdc41ece9b1132ecf5b261c911b798397684c8a8c3151ac693586ffd3ffdf46"]

Check failure on line 69 in contracts/hardhat.config.ts

View workflow job for this annotation

GitHub Actions / Solidity Lint

Replace `"0x7bdc41ece9b1132ecf5b261c911b798397684c8a8c3151ac693586ffd3ffdf46"]` with `⏎········'0x7bdc41ece9b1132ecf5b261c911b798397684c8a8c3151ac693586ffd3ffdf46',⏎······],`
},
},
etherscan: {
apiKey: {
// 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.
// The current bitlayer browser has not yet enabled API key verification, so you can write any random string for now.
bitlayertestnet: "1234",

Check failure on line 76 in contracts/hardhat.config.ts

View workflow job for this annotation

GitHub Actions / Solidity Lint

Replace `"1234"` with `'1234'`
bitlayer: "1234"

Check failure on line 77 in contracts/hardhat.config.ts

View workflow job for this annotation

GitHub Actions / Solidity Lint

Replace `"1234"` with `'1234',`
},
customChains: [
{
network: "bitlayertestnet",

Check failure on line 81 in contracts/hardhat.config.ts

View workflow job for this annotation

GitHub Actions / Solidity Lint

Replace `"bitlayertestnet"` with `'bitlayertestnet'`
chainId: 200810,
urls: {
apiURL: "https://api-testnet.btrscan.com/scan/api",

Check failure on line 84 in contracts/hardhat.config.ts

View workflow job for this annotation

GitHub Actions / Solidity Lint

Replace `"https://api-testnet.btrscan.com/scan/api"` with `'https://api-testnet.btrscan.com/scan/api'`
browserURL: "https://testnet.btrscan.com/"

Check failure on line 85 in contracts/hardhat.config.ts

View workflow job for this annotation

GitHub Actions / Solidity Lint

Replace `"https://testnet.btrscan.com/"` with `'https://testnet.btrscan.com/',`
}

Check failure on line 86 in contracts/hardhat.config.ts

View workflow job for this annotation

GitHub Actions / Solidity Lint

Insert `,`
},
{
network: "bitlayer",

Check failure on line 89 in contracts/hardhat.config.ts

View workflow job for this annotation

GitHub Actions / Solidity Lint

Replace `"bitlayer"` with `'bitlayer'`
chainId: 200901,
urls: {
apiURL: "https://api.btrscan.com/scan/api",
browserURL: "https://www.btrscan.com/"
}
}
]
},
solidity: {
compilers: [
Expand Down Expand Up @@ -134,6 +170,10 @@ let config = {
version: '0.8.19',
settings: COMPILER_SETTINGS,
},
'src/v0.8/shared/token/ERC677/LinkToken.sol': {
version: '0.8.19',
settings: COMPILER_SETTINGS,
},
},
},
mocha: {
Expand Down

0 comments on commit 65ab18f

Please sign in to comment.