Skip to content

Commit

Permalink
feat: add aioz network
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhangnong committed Nov 4, 2024
1 parent a7cdd5c commit 592df86
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/happy-humans-melt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

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

export const aioz = /*#__PURE__*/ defineChain({
id: 168,
name: 'AIOZ Network',
nativeCurrency: {
decimals: 18,
name: 'AIOZ',
symbol: 'AIOZ',
},
rpcUrls: {
default: {
http: ['https://eth-dataseed.aioz.network'],
},
},
blockExplorers: {
default: {
name: 'AIOZ Explorer',
url: 'https://explorer.aioz.network',
},
},
testnet: false,
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ export type { Chain } from '../types/chain.js'
// biome-ignore lint/performance/noBarrelFile: entrypoint module
export { abstractTestnet } from './definitions/abstractTestnet.js'
export { acala } from './definitions/acala.js'
export { aioz } from './definitions/aioz.js'
export { alienx } from './definitions/alienX.js'
export { alienxHalTestnet } from './definitions/alienXHalTestnet.js'
export { ancient8 } from './definitions/ancient8.js'
Expand Down

0 comments on commit 592df86

Please sign in to comment.