This repository has been archived by the owner on Sep 6, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add zhejiang chain info * add one more explorer and export chain * add changeset * Update .changeset/khaki-walls-beg.md * Update packages/chains/src/zhejiang.ts --------- Co-authored-by: awkweb <tom@meagher.co>
- Loading branch information
1 parent
977ed47
commit 9a2c5a2
Showing
3 changed files
with
37 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 @@ | ||
--- | ||
'@wagmi/chains': patch | ||
--- | ||
|
||
Added support for Zhejiang Ethereum Testnet. |
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
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,31 @@ | ||
import { Chain } from './types' | ||
|
||
export const zhejiang = { | ||
id: 1_337_803, | ||
network: 'zhejiang', | ||
name: 'Zhejiang', | ||
nativeCurrency: { name: 'Zhejiang Ether', symbol: 'ZhejETH', decimals: 18 }, | ||
rpcUrls: { | ||
default: { | ||
http: ['https://rpc.zhejiang.ethpandaops.io'], | ||
}, | ||
public: { | ||
http: ['https://rpc.zhejiang.ethpandaops.io'], | ||
}, | ||
}, | ||
blockExplorers: { | ||
beaconchain: { | ||
name: 'Etherscan', | ||
url: 'https://zhejiang.beaconcha.in', | ||
}, | ||
blockscout: { | ||
name: 'Blockscout', | ||
url: 'https://blockscout.com/eth/zhejiang-testnet', | ||
}, | ||
default: { | ||
name: 'Beaconchain', | ||
url: 'https://zhejiang.beaconcha.in', | ||
}, | ||
}, | ||
testnet: true, | ||
} as const satisfies Chain |