Skip to content

Commit d93765a

Browse files
authored
[SDK] Feature: Export monadTestnet from thirdweb/chains (#6645)
1 parent 169ae22 commit d93765a

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import { defineChain } from "../utils.js";
2+
3+
/**
4+
* @chain
5+
*/
6+
export const monadTestnet = /*@__PURE__*/ defineChain({
7+
id: 10143,
8+
name: "Monad Testnet",
9+
nativeCurrency: { name: "Mon", symbol: "MON", decimals: 18 },
10+
blockExplorers: [
11+
{
12+
name: "Monad Explorer",
13+
url: "https://testnet.monadexplorer.com/",
14+
},
15+
],
16+
testnet: true,
17+
});

packages/thirdweb/src/exports/chains.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,4 @@ export { mode } from "../chains/chain-definitions/mode.js";
8282
export { soneiumMinato } from "../chains/chain-definitions/soneium-minato.js";
8383
export { treasure } from "../chains/chain-definitions/treasure.js";
8484
export { treasureTopaz } from "../chains/chain-definitions/treasureTopaz.js";
85+
export { monadTestnet } from "../chains/chain-definitions/monad-testnet.js";

0 commit comments

Comments
 (0)