Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ABEY Mainnet #3006

Merged
merged 1 commit into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/wet-goats-kneel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

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

export const abey = /*#__PURE__*/ defineChain({
id: 179,
name: 'ABEY Mainnet',
nativeCurrency: { name: 'ABEY', symbol: 'ABEY', decimals: 18 },
rpcUrls: {
default: {
http: ['https://rpc.abeychain.com'],
},
},
blockExplorers: {
default: {
name: 'Abey Scan',
url: 'https://abeyscan.com',
},
},
testnet: false,
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
export type { Chain } from '../types/chain.js'

// biome-ignore lint/performance/noBarrelFile: entrypoint module
export { abey } from './definitions/abey.js'
export { abstractTestnet } from './definitions/abstractTestnet.js'
export { acala } from './definitions/acala.js'
export { acria } from './definitions/acria.js'
Expand Down
Loading