-
-
Notifications
You must be signed in to change notification settings - Fork 961
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add Lumia Mainnet and Testnet chains (#3189)
- Introduced Lumia Mainnet and Testnet definitions in the chains module. - Updated pnpm-lock.yaml to reflect dependency changes, including viem version bump to 2.22.2. - Added changeset for versioning.
- Loading branch information
Showing
5 changed files
with
92 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"viem": patch | ||
--- | ||
|
||
Added Lumia Mainnet and Testnet |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import { defineChain } from '../../utils/chain/defineChain.js' | ||
|
||
export const lumiaMainnet = /*#__PURE__*/ defineChain({ | ||
id: 994873017, | ||
name: 'Lumia Mainnet', | ||
network: 'LumiaMainnet', | ||
nativeCurrency: { name: 'Lumia', symbol: 'LUMIA', decimals: 18 }, | ||
rpcUrls: { | ||
default: { | ||
http: ['https://mainnet-rpc.lumia.org'], | ||
}, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'Lumia Explorer', | ||
url: 'https://explorer.lumia.org/', | ||
}, | ||
}, | ||
contracts: { | ||
multicall3: { | ||
address: '0xcA11bde05977b3631167028862bE2a173976CA11', | ||
blockCreated: 3975939, | ||
}, | ||
}, | ||
testnet: false, | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import { defineChain } from '../../utils/chain/defineChain.js' | ||
|
||
export const lumiaTestnet = /*#__PURE__*/ defineChain({ | ||
id: 1952959480, | ||
name: 'Lumia Testnet', | ||
network: 'LumiaTestnet', | ||
nativeCurrency: { | ||
name: 'Lumia', | ||
symbol: 'LUMIA', | ||
decimals: 18, | ||
}, | ||
rpcUrls: { | ||
default: { | ||
http: ['https://testnet-rpc.lumia.org'], | ||
}, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'Lumia Testnet Explorer', | ||
url: 'https://testnet-explorer.lumia.org/', | ||
}, | ||
}, | ||
contracts: { | ||
multicall3: { | ||
address: '0xcA11bde05977b3631167028862bE2a173976CA11', | ||
blockCreated: 2235063, | ||
}, | ||
}, | ||
testnet: true, | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters