This repository has been archived by the owner on Sep 6, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added lachain and latestnet to chains
- Loading branch information
1 parent
849d7a5
commit 524d8c1
Showing
4 changed files
with
70 additions
and
0 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
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
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,36 @@ | ||
import { Chain } from 'wagmi' | ||
|
||
export const lachain = { | ||
id: 274, | ||
name: 'LaChain', | ||
network: 'lachain', | ||
nativeCurrency: { | ||
decimals: 18, | ||
name: 'LaChain', | ||
symbol: 'LAC', | ||
}, | ||
rpcUrls: { | ||
public: { | ||
http: [ | ||
'https://rpc1.mainnet.lachain.network', | ||
'https://rpc2.mainnet.lachain.network', | ||
], | ||
}, | ||
default: { | ||
http: [ | ||
'https://rpc1.mainnet.lachain.network', | ||
'https://rpc2.mainnet.lachain.network', | ||
], | ||
}, | ||
}, | ||
blockExplorers: { | ||
etherscan: { | ||
name: 'LaChain Explorer', | ||
url: 'https://explorer.lachain.network', | ||
}, | ||
default: { | ||
name: 'LaChain Explorer', | ||
url: 'https://explorer.lachain.network', | ||
}, | ||
}, | ||
} as const satisfies Chain |
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 { Chain } from 'wagmi' | ||
|
||
export const latestnet = { | ||
id: 418, | ||
name: 'LaTestnet', | ||
network: 'latestnet', | ||
nativeCurrency: { | ||
decimals: 18, | ||
name: 'LaTestnet', | ||
symbol: 'TLA', | ||
}, | ||
rpcUrls: { | ||
public: { | ||
http: ['https://rpc.testnet.lachain.network'], | ||
}, | ||
default: { | ||
http: ['https://rpc.testnet.lachain.network'], | ||
}, | ||
}, | ||
blockExplorers: { | ||
etherscan: { | ||
name: 'LaTestnet Explorer', | ||
url: 'https://testexplorer.lachain.network', | ||
}, | ||
default: { | ||
name: 'LaTestnet Explorer', | ||
url: 'https://testexplorer.lachain.network', | ||
}, | ||
}, | ||
} as const satisfies Chain |