Skip to content

Commit e98e75e

Browse files
committed
chore: Use viem Plasma chain instead of custom.
1 parent 52521dd commit e98e75e

File tree

2 files changed

+2
-30
lines changed

2 files changed

+2
-30
lines changed

src/utils/constants.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ import {
1818
mode,
1919
fraxtal,
2020
sonic,
21+
plasma,
2122
} from 'viem/chains';
22-
import { monadTestnet, hyperEVM, plasma } from './customChains';
23+
import { monadTestnet, hyperEVM } from './customChains';
2324
export const ZERO_ADDRESS: Address =
2425
'0x0000000000000000000000000000000000000000';
2526
/*

src/utils/customChains.ts

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -55,32 +55,3 @@ export const hyperEVM = /*#__PURE__*/ defineChain({
5555
},
5656
testnet: false,
5757
});
58-
59-
export const plasma = /*#__PURE__*/ defineChain({
60-
id: 9745,
61-
name: 'Plasma',
62-
nativeCurrency: {
63-
name: 'XPL',
64-
symbol: 'XPL',
65-
decimals: 18,
66-
},
67-
rpcUrls: {
68-
default: {
69-
http: ['https://rpc.plasma.to'],
70-
webSocket: ['wss://rpc.plasma.to'],
71-
},
72-
},
73-
blockExplorers: {
74-
default: {
75-
name: 'Plasma Explorer',
76-
url: 'https://plasmascan.to',
77-
apiUrl: 'https://api.routescan.io/v2/network/mainnet/evm/9745/etherscan/api?',
78-
},
79-
},
80-
contracts: {
81-
multicall3: {
82-
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
83-
blockCreated: 1,
84-
},
85-
},
86-
});

0 commit comments

Comments
 (0)