Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

Commit

Permalink
feat: add fuseSparkent Chain (#464)
Browse files Browse the repository at this point in the history
* Add fuseSparkent Chain

* Update fuseSparknet.ts

* Update fuseSparknet.ts

* Update fuseSparknet.ts

* Create angry-cougars-know.md

---------

Co-authored-by: jxom <jakemoxey@gmail.com>
  • Loading branch information
Mithreum and jxom authored Aug 9, 2023
1 parent 408740a commit 8fdacd8
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/angry-cougars-know.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wagmi/chains": patch
---

Added Sparknet Chain
18 changes: 18 additions & 0 deletions packages/chains/src/fuseSparknet.ts
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions packages/chains/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 8fdacd8

Please sign in to comment.