Skip to content

Commit

Permalink
feat: add acria network
Browse files Browse the repository at this point in the history
  • Loading branch information
qi-0826 committed Nov 6, 2024
1 parent 81cd083 commit cbfb007
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/wise-mayflies-design.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

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

export const acria = /*#__PURE__*/ defineChain({
id: 47,
name: 'Acria IntelliChain',
nativeCurrency: {
decimals: 18,
name: 'ACRIA',
symbol: 'ACRIA',
},
rpcUrls: {
default: {
http: ['https://aic.acria.ai'],
},
},
blockExplorers: {
default: {
name: 'Acria Explorer',
url: 'https://explorer.acria.ai',
},
},
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 { acria } from './definitions/acria.js'
export { aioz } from './definitions/aioz.js'
export { alienx } from './definitions/alienX.js'
export { alienxHalTestnet } from './definitions/alienXHalTestnet.js'
Expand Down

0 comments on commit cbfb007

Please sign in to comment.