-
-
Notifications
You must be signed in to change notification settings - Fork 865
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add Ape Chain * Update stupid-pears-wink.md --------- Co-authored-by: jxom <j@wevm.dev>
- Loading branch information
1 parent
8e45821
commit 6219548
Showing
3 changed files
with
39 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 Ape 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,33 @@ | ||
import { defineChain } from '../../utils/chain/defineChain.js' | ||
|
||
const sourceId = 42_161 // Arbitrum One | ||
|
||
export const apeChain = /*#__PURE__*/ defineChain({ | ||
id: 33139, | ||
name: 'Ape Chain', | ||
nativeCurrency: { | ||
name: 'ApeCoin', | ||
symbol: 'APE', | ||
decimals: 18, | ||
}, | ||
rpcUrls: { | ||
default: { | ||
http: ['https://rpc.apechain.com/http'], | ||
webSocket: ['wss://rpc.apechain.com/ws'], | ||
}, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'Apescan', | ||
url: 'https://apescan.io', | ||
apiUrl: 'https://api.apescan.io', | ||
}, | ||
}, | ||
contracts: { | ||
multicall3: { | ||
address: '0xcA11bde05977b3631167028862bE2a173976CA11', | ||
blockCreated: 20889, | ||
}, | ||
}, | ||
sourceId, | ||
}) |
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