Skip to content

Commit

Permalink
feat: add bobaSepolia chain (#2526)
Browse files Browse the repository at this point in the history
* added bobaSepolia chain

* Update bobaSepolia.ts

* Update quiet-olives-trade.md

---------

Co-authored-by: jxom <[email protected]>
  • Loading branch information
Si-Ki and jxom authored Jul 23, 2024
1 parent 41f9c9d commit e426cae
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/quiet-olives-trade.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

Added `bobaSepolia` chain.
1 change: 0 additions & 1 deletion 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/bobaSepolia.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import { defineChain } from '../../utils/chain/defineChain.js'

export const bobaSepolia = /*#__PURE__*/ defineChain({
id: 28882,
name: 'Boba Sepolia',
nativeCurrency: {
name: 'Ether',
symbol: 'ETH',
decimals: 18,
},
rpcUrls: {
default: { http: ['https://sepolia.boba.network'] },
},
blockExplorers: {
default: {
name: 'BOBAScan',
url: 'https://testnet.bobascan.com',
},
},
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export { blast } from './definitions/blast.js'
export { blastSepolia } from './definitions/blastSepolia.js'
export { bob } from './definitions/bob.js'
export { boba } from './definitions/boba.js'
export { bobaSepolia } from './definitions/bobaSepolia.js'
export { bronos } from './definitions/bronos.js'
export { bronosTestnet } from './definitions/bronosTestnet.js'
export { bsc } from './definitions/bsc.js'
Expand Down

0 comments on commit e426cae

Please sign in to comment.