Skip to content

Commit

Permalink
feat: add mitosis testnet (#3111)
Browse files Browse the repository at this point in the history
* feat: add mitosis testnet

* Update mitosisTestnet.ts

---------

Co-authored-by: jxom <7336481+jxom@users.noreply.github.com>
  • Loading branch information
hello-jdj and jxom authored Dec 11, 2024
1 parent 915c6c2 commit 83ae3e1
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/red-eyes-hammer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

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

export const mitosisTestnet = /*#__PURE__*/ defineChain({
id: 124_832,
name: 'Mitosis Testnet',
nativeCurrency: { name: 'MITO', symbol: 'MITO', decimals: 18 },
rpcUrls: {
default: {
http: ['https://rpc.testnet.mitosis.org'],
},
},
blockExplorers: {
default: {
name: 'Mitosis testnet explorer',
url: 'https://testnet.mitosiscan.xyz',
},
},
testnet: true,
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ export { mev } from './definitions/mev.js'
export { mevTestnet } from './definitions/mevTestnet.js'
export { mint } from './definitions/mint.js'
export { mintSepoliaTestnet } from './definitions/mintSepoliaTestnet.js'
export { mitosisTestnet } from './definitions/mitosisTestnet.js'
export { mode } from './definitions/mode.js'
export { modeTestnet } from './definitions/modeTestnet.js'
export { moonbaseAlpha } from './definitions/moonbaseAlpha.js'
Expand Down

0 comments on commit 83ae3e1

Please sign in to comment.