Skip to content

Commit

Permalink
feat: add botanix testnet chain (#2646)
Browse files Browse the repository at this point in the history
* added botanix testnet chain

* Update eighty-lies-stare.md

---------

Co-authored-by: jxom <j@wevm.dev>
  • Loading branch information
thobbyAk and jxom authored Aug 22, 2024
1 parent 4c62fdf commit 50bde96
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/eighty-lies-stare.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

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

export const botanixTestnet = /*#__PURE__*/ defineChain({
id: 3636,
name: 'Botanix Testnet',
nativeCurrency: { name: 'Botanix', symbol: 'BTC', decimals: 18 },
rpcUrls: {
default: {
http: ['https://poa-node.botanixlabs.dev'],
},
},
blockExplorers: {
default: {
name: 'blockscout',
url: 'https://blockscout.botanixlabs.dev',
apiUrl: 'https://blockscout.botanixlabs.dev',
},
},
testnet: true,
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ export { bob } from './definitions/bob.js'
export { bobSepolia } from './definitions/bobSepolia.js'
export { boba } from './definitions/boba.js'
export { bobaSepolia } from './definitions/bobaSepolia.js'
export { botanixTestnet } from './definitions/botanixTestnet.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 50bde96

Please sign in to comment.