Skip to content

Commit

Permalink
feat: add iSunCoin Mainnet (#3039)
Browse files Browse the repository at this point in the history
  • Loading branch information
isabelle817 authored Nov 21, 2024
1 parent 3491432 commit f016b16
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/wise-yaks-film.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

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

export const iSunCoin = /*#__PURE__*/ defineChain({
id: 8017,
name: 'iSunCoin Mainnet',
nativeCurrency: {
decimals: 18,
name: 'ISC',
symbol: 'ISC',
},
rpcUrls: {
default: {
http: ['https://mainnet.isuncoin.com'],
},
},
blockExplorers: {
default: {
name: 'iSunCoin Explorer',
url: 'https://baifa.io/app/chains/8017',
},
},
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ export { iota } from './definitions/iota.js'
export { iotaTestnet } from './definitions/iotaTestnet.js'
export { iotex } from './definitions/iotex.js'
export { iotexTestnet } from './definitions/iotexTestnet.js'
export { iSunCoin } from './definitions/iSunCoin.js'
export { jbc } from './definitions/jbc.js'
export { jbcTestnet } from './definitions/jbcTestnet.js'
export { karura } from './definitions/karura.js'
Expand Down

0 comments on commit f016b16

Please sign in to comment.