-
-
Notifications
You must be signed in to change notification settings - Fork 962
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add Polter Testnet and Geist chains (#2994)
* chore: add polter testnet and geist * chore: formatting * Update index.ts * add pure * add pure --------- Co-authored-by: jxom <[email protected]>
- Loading branch information
1 parent
63b8769
commit 82633bd
Showing
4 changed files
with
64 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 Polter Testnet and Geist Mainnet |
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,28 @@ | ||
import { defineChain } from '../../utils/chain/defineChain.js' | ||
|
||
export const geist = /*#__PURE__*/ defineChain({ | ||
id: 63157, | ||
name: 'Geist Mainnet', | ||
nativeCurrency: { | ||
decimals: 18, | ||
name: 'Aavegotchi GHST Token', | ||
symbol: 'GHST', | ||
}, | ||
rpcUrls: { | ||
default: { | ||
http: ['https://geist-mainnet.g.alchemy.com/public'], | ||
}, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'Blockscout', | ||
url: 'https://geist-mainnet.explorer.alchemy.com', | ||
}, | ||
}, | ||
contracts: { | ||
multicall3: { | ||
address: '0xca11bde05977b3631167028862be2a173976ca11', | ||
blockCreated: 660735, | ||
}, | ||
}, | ||
}) |
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,29 @@ | ||
import { defineChain } from '../../utils/chain/defineChain.js' | ||
|
||
export const polterTestnet = /*#__PURE__*/ defineChain({ | ||
id: 631571, | ||
name: 'Polter Testnet', | ||
nativeCurrency: { | ||
decimals: 18, | ||
name: 'Polter GHST', | ||
symbol: 'GHST', | ||
}, | ||
rpcUrls: { | ||
default: { | ||
http: ['https://geist-polter.g.alchemy.com/public'], | ||
}, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'Blockscout', | ||
url: 'https://polter-testnet.explorer.alchemy.com', | ||
}, | ||
}, | ||
contracts: { | ||
multicall3: { | ||
address: '0xca11bde05977b3631167028862be2a173976ca11', | ||
blockCreated: 11245, | ||
}, | ||
}, | ||
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