diff --git a/.changeset/angry-cougars-know.md b/.changeset/angry-cougars-know.md new file mode 100644 index 00000000..31ff49c1 --- /dev/null +++ b/.changeset/angry-cougars-know.md @@ -0,0 +1,5 @@ +--- +"@wagmi/chains": patch +--- + +Added Sparknet Chain diff --git a/packages/chains/src/fuseSparknet.ts b/packages/chains/src/fuseSparknet.ts new file mode 100644 index 00000000..87addb7b --- /dev/null +++ b/packages/chains/src/fuseSparknet.ts @@ -0,0 +1,18 @@ +import { Chain } from './types' + +export const sparknet = { + id: 123, + name: 'Sparknet', + network: 'fuse', + nativeCurrency: { name: 'Spark', symbol: 'SPARK', decimals: 18 }, + rpcUrls: { + default: { http: ['https://rpc.fusespark.io'] }, + public: { http: ['https://rpc.fusespark.io'] }, + }, + blockExplorers: { + default: { + name: 'Sparkent Explorer', + url: 'https://explorer.fusespark.io', + }, + } +} as const satisfies Chain diff --git a/packages/chains/src/index.ts b/packages/chains/src/index.ts index 14930846..81534b3d 100644 --- a/packages/chains/src/index.ts +++ b/packages/chains/src/index.ts @@ -46,6 +46,7 @@ export { flare } from './flare' export { flareTestnet } from './flareTestnet' export { foundry } from './foundry' export { fuse } from './fuse' +export { sparknet } from './fuseSparknet' export { iotex } from './iotex' export { iotexTestnet } from './iotexTestnet' export { goerli } from './goerli'