Skip to content

Commit

Permalink
feat: add lyra chain (#2445)
Browse files Browse the repository at this point in the history
Added lyra chain
  • Loading branch information
radchukd committed Jun 28, 2024
1 parent 7e95377 commit 8aa20a1
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/bright-zoos-search.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

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

export const lyra = /*#__PURE__*/ defineChain({
id: 957,
name: 'Lyra Chain',
nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
rpcUrls: {
default: {
http: ['https://rpc.lyra.finance'],
},
},
blockExplorers: {
default: {
name: 'Lyra Explorer',
url: 'https://explorer.lyra.finance',
apiUrl: 'https://explorer.lyra.finance/api/v2',
},
},
contracts: {
multicall3: {
address: '0xca11bde05977b3631167028862be2a173976ca11',
blockCreated: 1935198,
},
},
})
1 change: 1 addition & 0 deletions src/chains/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ export { localhost } from './definitions/localhost.js'
export { lukso } from './definitions/lukso.js'
export { luksoTestnet } from './definitions/luksoTestnet.js'
export { lycan } from './definitions/lycan.js'
export { lyra } from './definitions/lyra.js'
export { mainnet } from './definitions/mainnet.js'
export { mandala } from './definitions/mandala.js'
export { manta } from './definitions/manta.js'
Expand Down

0 comments on commit 8aa20a1

Please sign in to comment.