Skip to content

Commit

Permalink
feat: add Six Protocol (#3033)
Browse files Browse the repository at this point in the history
  • Loading branch information
qi-0826 authored Nov 21, 2024
1 parent c4ba3cf commit 817023f
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/few-pianos-smoke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

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

export const sixProtocol = /*#__PURE__*/ defineChain({
id: 98,
name: 'Six Protocol',
nativeCurrency: {
decimals: 18,
name: 'SIX',
symbol: 'SIX',
},
rpcUrls: {
default: {
http: ['https://sixnet-rpc-evm.sixprotocol.net'],
},
},
blockExplorers: {
default: {
name: 'Six Protocol Scan',
url: 'https://sixscan.io/sixnet',
},
},
testnet: false,
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,7 @@ export { shimmer } from './definitions/shimmer.js'
export { shimmerTestnet } from './definitions/shimmerTestnet.js'
export { silicon } from './definitions/silicon.js'
export { siliconSepolia } from './definitions/siliconSepolia.js'
export { sixProtocol } from './definitions/sixProtocol.js'
export { skaleBlockBrawlers } from './definitions/skale/brawl.js'
export { skaleCalypso } from './definitions/skale/calypso.js'
export { skaleCalypsoTestnet } from './definitions/skale/calypsoTestnet.js'
Expand Down

0 comments on commit 817023f

Please sign in to comment.