Skip to content

Commit

Permalink
feat: add rei mainnet
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhangnong committed Nov 21, 2024
1 parent ce1b8af commit fe09765
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/cuddly-coins-carry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

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

export const rei = /*#__PURE__*/ defineChain({
id: 47805,
name: 'REI Mainnet',
nativeCurrency: {
decimals: 18,
name: 'REI',
symbol: 'REI',
},
rpcUrls: {
default: {
http: ['https://rpc.rei.network'],
webSocket: ['wss://rpc.rei.network'],
},
},
blockExplorers: {
default: {
name: 'REI Scan',
url: 'https://scan.rei.network',
},
},
testnet: false,
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ export { qTestnet } from './definitions/qTestnet.js'
export { real } from './definitions/real.js'
export { redbellyTestnet } from './definitions/redbellyTestnet.js'
export { redstone } from './definitions/redstone.js'
export { rei } from './definitions/rei.js'
export { reyaNetwork } from './definitions/reyaNetwork.js'
export { rollux } from './definitions/rollux.js'
export { rolluxTestnet } from './definitions/rolluxTestnet.js'
Expand Down

0 comments on commit fe09765

Please sign in to comment.