Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add rei mainnet #3045

Merged
merged 1 commit into from
Nov 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading