Skip to content

Commit

Permalink
feat: add lumoz network (#3349)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yutaro-Mori-eng authored Feb 15, 2025
1 parent a2368df commit 322a2eb
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/honest-seas-arrive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

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

export const lumoz = /*#__PURE__*/ defineChain({
id: 96_370,
name: 'Lumoz',
nativeCurrency: {
decimals: 18,
name: 'Lumoz Token',
symbol: 'MOZ',
},
rpcUrls: {
default: {
http: ['https://rpc.lumoz.org'],
},
},
blockExplorers: {
default: {
name: 'Lumoz Scan',
url: 'https://scan.lumoz.info',
},
},
testnet: false,
})
17 changes: 17 additions & 0 deletions src/chains/definitions/lumozTestnet.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import { defineChain } from '../../utils/chain/defineChain.js'

export const lumozTestnet = /*#__PURE__*/ defineChain({
id: 105_363,
name: 'Lumoz Testnet',
nativeCurrency: {
decimals: 18,
name: 'Lumoz Testnet Token',
symbol: 'MOZ',
},
rpcUrls: {
default: {
http: ['https://testnet-rpc.lumoz.org'],
},
},
testnet: true,
})
2 changes: 2 additions & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,8 @@ export { lukso } from './definitions/lukso.js'
export { luksoTestnet } from './definitions/luksoTestnet.js'
export { lumiaMainnet } from './definitions/lumiaMainnet.js'
export { lumiaTestnet } from './definitions/lumiaTestnet.js'
export { lumoz } from './definitions/lumoz.js'
export { lumozTestnet } from './definitions/lumozTestnet.js'
export { lycan } from './definitions/lycan.js'
export { lyra } from './definitions/lyra.js'
export { mainnet } from './definitions/mainnet.js'
Expand Down

0 comments on commit 322a2eb

Please sign in to comment.