Skip to content

Commit

Permalink
feat: add Reddio Sepolia (#3255)
Browse files Browse the repository at this point in the history
* Add Reddio Sepolia configuration

* add Reddio Sepolia

* Update reddioSepolia.ts

* Create lemon-wombats-shop.md

---------

Co-authored-by: jxom <[email protected]>
  • Loading branch information
neilydhan and jxom authored Jan 22, 2025
1 parent 99812b9 commit f36fcb9
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/lemon-wombats-shop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

Added Reddio Sepolia.
33 changes: 29 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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

export const reddioSepolia = /*#__PURE__*/ defineChain({
id: 50341,
name: 'Reddio Sepolia',
nativeCurrency: { name: 'Reddio', symbol: 'RED', decimals: 18 },
rpcUrls: {
default: {
http: ['https://reddio-dev.reddio.com'],
},
},
blockExplorers: {
default: {
name: 'Reddioscan',
url: 'https://reddio-devnet.l2scan.co',
apiUrl: 'https://reddio-devnet.l2scan.co/api',
},
},
testnet: true,
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@ 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 { reddioSepolia } from './definitions/reddioSepolia.js'
export { rivalz } from './definitions/rivalz.js'
export { rollux } from './definitions/rollux.js'
export { rolluxTestnet } from './definitions/rolluxTestnet.js'
Expand Down

0 comments on commit f36fcb9

Please sign in to comment.