Skip to content

Commit

Permalink
feat: update degen chain config with websocket rpc and multicall (#2052)
Browse files Browse the repository at this point in the history
  • Loading branch information
maggo committed Apr 2, 2024
1 parent 0a22a15 commit 445ec24
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/small-jobs-sing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

Added websocket rpc and multicall contract to degen chain config
7 changes: 7 additions & 0 deletions src/chains/definitions/degen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export const degen = /*#__PURE__*/ defineChain({
rpcUrls: {
default: {
http: ['https://rpc.degen.tips'],
webSocket: ["wss://rpc.degen.tips"],
},
},
blockExplorers: {
Expand All @@ -20,4 +21,10 @@ export const degen = /*#__PURE__*/ defineChain({
apiUrl: 'https://explorer.degen.tips/api/v2',
},
},
contracts: {
multicall3: {
address: "0xFBF562a98aB8584178efDcFd09755FF9A1e7E3a2",
blockCreated: 414273,
},
},
})

0 comments on commit 445ec24

Please sign in to comment.