Skip to content

Commit

Permalink
feat: add sanko chain (wevm#2895)
Browse files Browse the repository at this point in the history
  • Loading branch information
fengbaolong authored and nikola-bozin-txfusion committed Oct 30, 2024
1 parent 0ed356c commit 7d538a7
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/cuddly-schools-visit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

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

export const sanko = /*#__PURE__*/ defineChain({
id: 1996,
name: 'Sanko',
nativeCurrency: { name: 'DMT', symbol: 'DMT', decimals: 18 },
rpcUrls: {
default: {
http: ['https://mainnet.sanko.xyz'],
},
},
blockExplorers: {
default: {
name: 'Sanko Explorer',
url: 'https://explorer.sanko.xyz',
},
},
testnet: false,
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ export { rootstockTestnet } from './definitions/rootstockTestnet.js'
export { rss3 } from './definitions/rss3.js'
export { rss3Sepolia } from './definitions/rss3Sepolia.js'
export { saigon } from './definitions/saigon.js'
export { sanko } from './definitions/sanko.js'
export { sapphire } from './definitions/sapphire.js'
export { sapphireTestnet } from './definitions/sapphireTestnet.js'
export { satoshiVM } from './definitions/satoshivm.js'
Expand Down

0 comments on commit 7d538a7

Please sign in to comment.