-
-
Notifications
You must be signed in to change notification settings - Fork 919
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: Add `treasure` Mainnet and `treasureTopaz` Testnet * Create gentle-moles-search.md --------- Co-authored-by: jxom <7336481+jxom@users.noreply.github.com>
- Loading branch information
1 parent
0c41e94
commit 915c6c2
Showing
4 changed files
with
71 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 `treasure` Mainnet and `treasureTopaz` 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import { defineChain } from '../../utils/chain/defineChain.js' | ||
import { chainConfig } from '../../zksync/chainConfig.js' | ||
|
||
export const treasure = /*#__PURE__*/ defineChain({ | ||
...chainConfig, | ||
id: 61_166, | ||
name: 'Treasure', | ||
nativeCurrency: { | ||
decimals: 18, | ||
name: 'MAGIC', | ||
symbol: 'MAGIC', | ||
}, | ||
rpcUrls: { | ||
default: { | ||
http: ['https://rpc.treasure.lol'], | ||
webSocket: ['wss://rpc.treasure.lol/ws'], | ||
}, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'Treasure Block Explorer', | ||
url: 'https://treasurescan.io', | ||
}, | ||
}, | ||
contracts: { | ||
multicall3: { | ||
address: '0x2e29fe39496a56856D8698bD43e1dF4D0CE6266a', | ||
blockCreated: 101, | ||
}, | ||
}, | ||
testnet: false, | ||
}) |
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,32 @@ | ||
import { defineChain } from '../../utils/chain/defineChain.js' | ||
import { chainConfig } from '../../zksync/chainConfig.js' | ||
|
||
export const treasureTopaz = /*#__PURE__*/ defineChain({ | ||
...chainConfig, | ||
id: 978_658, | ||
name: 'Treasure Topaz Testnet', | ||
nativeCurrency: { | ||
decimals: 18, | ||
name: 'MAGIC', | ||
symbol: 'MAGIC', | ||
}, | ||
rpcUrls: { | ||
default: { | ||
http: ['https://rpc.topaz.treasure.lol'], | ||
webSocket: ['wss://rpc.topaz.treasure.lol/ws'], | ||
}, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'Treasure Topaz Block Explorer', | ||
url: 'https://topaz.treasurescan.io', | ||
}, | ||
}, | ||
contracts: { | ||
multicall3: { | ||
address: '0xF9cda624FBC7e059355ce98a31693d299FACd963', | ||
blockCreated: 108112, | ||
}, | ||
}, | ||
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