-
-
Notifications
You must be signed in to change notification settings - Fork 585
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Palm and Palm Testnet chains (#1691)
* feat: add Palm and Palm Testnet chains * chore: changeset * fix: remove `infura` URL Co-authored-by: awkweb <tom@meagher.co> * fix: update `id` with numeric separator Co-authored-by: awkweb <tom@meagher.co> * fix: remove `infura` rpcUrl Co-authored-by: awkweb <tom@meagher.co> * fix: update `id` with numeric separator Co-authored-by: awkweb <tom@meagher.co> --------- Co-authored-by: awkweb <tom@meagher.co>
- Loading branch information
Showing
4 changed files
with
66 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 Palm and Palm Testnet chains |
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 palm = /*#__PURE__*/ defineChain({ | ||
id: 11_297_108_109, | ||
name: 'Palm', | ||
nativeCurrency: { | ||
decimals: 18, | ||
name: 'PALM', | ||
symbol: 'PALM', | ||
}, | ||
rpcUrls: { | ||
default: { | ||
http: ['https://palm-mainnet.public.blastapi.io'], | ||
webSocket: ['wss://palm-mainnet.public.blastapi.io'], | ||
}, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'Chainlens', | ||
url: 'https://palm.chainlens.com', | ||
}, | ||
}, | ||
contracts: { | ||
multicall3: { | ||
address: '0xca11bde05977b3631167028862be2a173976ca11', | ||
blockCreated: 15429248, | ||
}, | ||
}, | ||
}) |
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,30 @@ | ||
import { defineChain } from '../../utils/chain/defineChain.js' | ||
|
||
export const palmTestnet = /*#__PURE__*/ defineChain({ | ||
id: 11_297_108_099, | ||
name: 'Palm Testnet', | ||
nativeCurrency: { | ||
decimals: 18, | ||
name: 'PALM', | ||
symbol: 'PALM', | ||
}, | ||
rpcUrls: { | ||
default: { | ||
http: ['https://palm-mainnet.public.blastapi.io'], | ||
webSocket: ['wss://palm-mainnet.public.blastapi.io'], | ||
}, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'Chainlens', | ||
url: 'https://palm.chainlens.com', | ||
}, | ||
}, | ||
contracts: { | ||
multicall3: { | ||
address: '0xca11bde05977b3631167028862be2a173976ca11', | ||
blockCreated: 15429248, | ||
}, | ||
}, | ||
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
8d011e8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
viem – ./
viem-wagmi-dev.vercel.app
viem.vercel.app
viem-site.vercel.app
viem.sh
viem-git-main-wagmi-dev.vercel.app
www.viem.sh