diff --git a/src/sourcify-chains.ts b/src/sourcify-chains.ts index 59f620f9c..b90de1ca4 100644 --- a/src/sourcify-chains.ts +++ b/src/sourcify-chains.ts @@ -699,7 +699,14 @@ const sourcifyChainsExtensions: SourcifyChainsExtensionsObject = { contractFetchAddress: "https://goerli.basescan.org/" + ETHERSCAN_SUFFIX, txRegex: ETHERSCAN_REGEX, }, + "888": { + // Wanchain Mainnet + supported: true, + monitored: false, + txRegex: ETHERSCAN_REGEX, + }, "999": { + // Wanchain Testnet supported: true, monitored: false, txRegex: ETHERSCAN_REGEX, diff --git a/test/chains/chain-tests.js b/test/chains/chain-tests.js index 7b5f1a015..c661eb5e1 100644 --- a/test/chains/chain-tests.js +++ b/test/chains/chain-tests.js @@ -1354,6 +1354,24 @@ describe("Test Supported Chains", function () { "shared/withImmutables.metadata.json" ); + // Wanchain Mainnet + verifyContract( + "0xC3649123BCa36c0c38A71bDbd2F508AB4f939f47", + "888", + "Wanchain Mainnet", + ["shared/1_Storage.sol"], + "shared/1_Storage.metadata.json" + ); + verifyContractWithImmutables( + "0xAc7Df63C447201965222dF9675E8d4A78c3CA315", + "888", + "Wanchain Mainnet", + ["uint256"], + [888], + ["shared/WithImmutables.sol"], + "shared/withImmutables.metadata.json" + ); + // Wanchain Testnet verifyContract( "0x500E12a948E9Fc594bC6Fe86B3B270B5a67332D8",