-
-
Notifications
You must be signed in to change notification settings - Fork 948
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add Aleph Zero Testnet chain (#3233)
- Loading branch information
Showing
3 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"viem": patch | ||
--- | ||
|
||
Added Aleph Zero Testnet chain. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import { defineChain } from '../../utils/chain/defineChain.js' | ||
|
||
export const alephZeroTestnet = /*#__PURE__*/ defineChain({ | ||
id: 2039, | ||
name: 'Aleph Zero Testnet', | ||
nativeCurrency: { name: 'TZERO', symbol: 'TZERO', decimals: 18 }, | ||
rpcUrls: { | ||
default: { | ||
http: ['https://rpc.alephzero-testnet.gelato.digital'], | ||
webSocket: ['wss://ws.alephzero-testnet.gelato.digital'], | ||
}, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'Aleph Zero EVM Testnet explorer', | ||
url: 'https://evm-explorer-testnet.alephzero.org', | ||
apiUrl: 'https://evm-explorer-testnet.alephzero.org/api', | ||
}, | ||
}, | ||
contracts: { | ||
multicall3: { | ||
address: '0xca11bde05977b3631167028862be2a173976ca11', | ||
blockCreated: 2861745, | ||
}, | ||
}, | ||
testnet: true, | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters