Skip to content

Commit

Permalink
feat: add coinbit mainnet (#3007)
Browse files Browse the repository at this point in the history
  • Loading branch information
fengbaolong authored Nov 15, 2024
1 parent f2a0c05 commit 87024db
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/five-sheep-occur.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

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

export const coinbit = /*#__PURE__*/ defineChain({
id: 112,
name: 'Coinbit Mainnet',
nativeCurrency: { name: 'GIDR', symbol: 'GIDR', decimals: 18 },
rpcUrls: {
default: {
http: ['https://coinbit-rpc-mainnet.chain.sbcrypto.app'],
},
},
blockExplorers: {
default: {
name: 'Coinbit Explorer',
url: 'https://coinbit-explorer.chain.sbcrypto.app',
},
},
testnet: false,
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export { chang } from './definitions/chang.js'
export { chiliz } from './definitions/chiliz.js'
export { chips } from './definitions/chips.js'
export { classic } from './definitions/classic.js'
export { coinbit } from './definitions/coinbit.js'
export { coinex } from './definitions/coinex.js'
export { confluxESpace } from './definitions/confluxESpace.js'
export { confluxESpaceTestnet } from './definitions/confluxESpaceTestnet.js'
Expand Down

0 comments on commit 87024db

Please sign in to comment.