Skip to content

Commit

Permalink
feat: add Neo X T4 (#3146)
Browse files Browse the repository at this point in the history
feat: Add Neo X T4

Co-authored-by: jxom <[email protected]>
  • Loading branch information
mialbu and jxom authored Dec 21, 2024
1 parent 569a325 commit cf45bf1
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/polite-hairs-vanish.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

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

export const neoxT4 = /*#__PURE__*/ defineChain({
id: 12227332,
name: 'Neo X Testnet T4',
nativeCurrency: { name: 'Gas', symbol: 'GAS', decimals: 18 },
rpcUrls: {
default: {
http: ['https://testnet.rpc.banelabs.org/'],
},
},
blockExplorers: {
default: {
name: 'neox-scan',
url: 'https://xt4scan.ngd.network',
},
},
testnet: true,
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ export { nautilus } from './definitions/nautilus.js'
export { neonDevnet } from './definitions/neonDevnet.js'
export { neonMainnet } from './definitions/neonMainnet.js'
export { neoxMainnet } from './definitions/neoxMainnet.js'
export { neoxT4 } from './definitions/neoxT4.js'
export { nexi } from './definitions/nexi.js'
export { nexilix } from './definitions/nexilix.js'
export { oasisTestnet } from './definitions/oasisTestnet.js'
Expand Down

0 comments on commit cf45bf1

Please sign in to comment.