diff --git a/.changeset/cuddly-schools-visit.md b/.changeset/cuddly-schools-visit.md new file mode 100644 index 0000000000..cb75c3f677 --- /dev/null +++ b/.changeset/cuddly-schools-visit.md @@ -0,0 +1,5 @@ +--- +"viem": patch +--- + +Added Sanko chain. diff --git a/src/chains/definitions/sanko.ts b/src/chains/definitions/sanko.ts new file mode 100644 index 0000000000..b48914c70e --- /dev/null +++ b/src/chains/definitions/sanko.ts @@ -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, +}) diff --git a/src/chains/index.ts b/src/chains/index.ts index 962e84ae8b..0c0a02838b 100644 --- a/src/chains/index.ts +++ b/src/chains/index.ts @@ -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'