Skip to content

Commit

Permalink
feat: add birdlayer chain (#3320)
Browse files Browse the repository at this point in the history
  • Loading branch information
yongjun925 authored Feb 7, 2025
1 parent 099e7dd commit 3c37c4b
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/khaki-eyes-argue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

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

export const birdlayer = defineChain({
id: 53456,
name: 'BirdLayer',
nativeCurrency: { decimals: 18, name: 'Ether', symbol: 'ETH' },
rpcUrls: {
default: {
http: ['https://rpc.birdlayer.xyz', 'https://rpc1.birdlayer.xyz'],
webSocket: ['wss://rpc.birdlayer.xyz/ws'],
},
},
blockExplorers: {
default: {
name: 'BirdLayer Explorer',
url: 'https://scan.birdlayer.xyz',
},
},
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export { bitlayerTestnet } from './definitions/bitlayerTestnet.js'
export { bitrock } from './definitions/bitrock.js'
export { bitTorrent } from './definitions/bitTorrent.js'
export { bitTorrentTestnet } from './definitions/bitTorrentTestnet.js'
export { birdlayer } from './definitions/birdlayer.js'
export { blast } from './definitions/blast.js'
export { blastSepolia } from './definitions/blastSepolia.js'
export { bob } from './definitions/bob.js'
Expand Down

0 comments on commit 3c37c4b

Please sign in to comment.