Skip to content

Commit

Permalink
feat: add rei mainnet (#3045)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhangnong authored Nov 23, 2024
1 parent cbdf994 commit dd0ae9c
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 @@ -321,6 +321,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 dd0ae9c

Please sign in to comment.