Skip to content

Commit

Permalink
feat: add saga chain (#3202)
Browse files Browse the repository at this point in the history
* saga

* Update thick-cars-report.md

---------

Co-authored-by: abs3ntdev <[email protected]>
Co-authored-by: jxom <[email protected]>
  • Loading branch information
3 people authored Jan 7, 2025
1 parent 3be3c69 commit 344bcaf
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/thick-cars-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

Added Saga chain.
27 changes: 27 additions & 0 deletions src/chains/definitions/saga.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import { defineChain } from '../../utils/chain/defineChain.js'

export const saga = /*#__PURE__*/ defineChain({
id: 5464,
name: 'Saga',
network: 'saga',
nativeCurrency: {
decimals: 18,
name: 'gas',
symbol: 'GAS',
},
rpcUrls: {
default: { http: ['http://sagaevm-5464-1.jsonrpc.sagarpc.io'] },
},
blockExplorers: {
default: {
name: 'Saga Explorer',
url: 'https://sagaevm-5464-1.sagaexplorer.io',
},
},
contracts: {
multicall3: {
address: '0x864DDc9B50B9A0dF676d826c9B9EDe9F8913a160',
blockCreated: 467530,
},
},
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,7 @@ export { rootstockTestnet } from './definitions/rootstockTestnet.js'
export { rss3 } from './definitions/rss3.js'
export { rss3Sepolia } from './definitions/rss3Sepolia.js'
export { saakuru } from './definitions/saakuru.js'
export { saga } from './definitions/saga.js'
export { saigon } from './definitions/saigon.js'
export { sanko } from './definitions/sanko.js'
export { sapphire } from './definitions/sapphire.js'
Expand Down

0 comments on commit 344bcaf

Please sign in to comment.