Skip to content

Commit 84979a2

Browse files
therealharpaljadejakeone
authored andcommitted
fix: add monad config for deploying and verification
1 parent d766812 commit 84979a2

File tree

1 file changed

+7
-15
lines changed

1 file changed

+7
-15
lines changed

packages/hardhat/hardhat.config.ts

+7-15
Original file line numberDiff line numberDiff line change
@@ -51,28 +51,20 @@ const config: HardhatUserConfig = {
5151
enabled: process.env.MAINNET_FORKING_ENABLED === "true",
5252
},
5353
},
54-
monadDevnet: {
55-
url: process.env.MONAD_RPC_URL,
54+
monadTestnet: {
55+
url: "https://testnet-rpc.monad.xyz",
5656
accounts: [deployerPrivateKey],
57-
chainId: Number(process.env.MONAD_CHAIN_ID),
57+
chainId: 10143,
5858
},
5959
},
6060
// configuration for harhdat-verify plugin
6161
etherscan: {
62-
apiKey: `DUMMY_VALUE_FOR_BLOCKSCOUT`,
63-
customChains: [
64-
{
65-
network: "monadDevnet",
66-
chainId: 41454,
67-
urls: {
68-
browserURL: process.env.MONAD_EXPLORER_URL ?? "",
69-
apiURL: process.env.MONAD_EXPLORER_URL ? `${process.env.MONAD_EXPLORER_URL}/api` : "",
70-
},
71-
},
72-
],
62+
enabled: false,
7363
},
7464
sourcify: {
75-
enabled: false,
65+
enabled: true,
66+
apiUrl: "https://sourcify-api-monad.blockvision.org",
67+
browserUrl: "https://testnet.monadexplorer.com/",
7668
},
7769
};
7870

0 commit comments

Comments
 (0)