-
Notifications
You must be signed in to change notification settings - Fork 88
add docs on bridging and token addresses #975
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
Merged
+75
−1
Merged
Changes from 3 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
b8c257e
add docs on bridging and token addresses
glitch003 f4751e1
add lit chain button and more chain info
glitch003 d71dd83
fix import path of add lit chain button
glitch003 1cd925a
Update docs/governance/litkey/lit-chain.mdx
glitch003 1980822
add new pages to docs.json index
glitch003 50912cf
Merge branch 'feature/bridge-and-token-address-docs' of github.com:LI…
glitch003 ff5fbce
add jsx extension to import path for button
glitch003 385c4a3
export react button using arrow functions per docs
glitch003 2962502
proper note format in mintlify
glitch003 246bcb1
button styling
glitch003 4a27eb3
move button
glitch003 3ff7a8e
change import
glitch003 6660e2e
add chain links
glitch003 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,22 @@ | ||
| --- | ||
| title: "Bridging and Contract Addresses" | ||
| --- | ||
|
|
||
| ## Bridging | ||
|
|
||
| Use the [Hyperlane Nexus Bridge](https://nexus.hyperlane.xyz/) for fast bridging of LITKEY to all the networks listed in the table below. | ||
|
|
||
|
|
||
| ## Official Contract Addresses | ||
|
|
||
| | Contract | Network | Address | Notes | | ||
| |----------|--------------|--------------------------------------------|------------------------------------------------------------------------------------------| | ||
| | LITKEY | Ethereum | 0x4D4eb0E8B160f6EbF63cC6d36060ffec09301B42 | Master token contract | | ||
| | LITKEY | Base | 0xF732A566121Fa6362E9E0FBdd6D66E5c8C925E49 | Bridged to Base using canonical bridge, Hyperlane supported via collateral token | | ||
| | LITKEY | Arbitrum One | 0xC7603786470F04D33E35f9E9B56bD0Ca8803fB95 | Bridged to Arbitrum One using canonical bridge, Hyperlane supported via collateral token | | ||
| | LITKEY | Optimism | 0x0633E91f64C22d4FEa53dbE6e77B7BA4093177B8 | Bridged to Optimism using canonical bridge, Hyperlane supported via collateral token | | ||
| | LITKEY | Polygon | 0x5bEd1A06b26853360D9D1a6a27eaCE1b85206867 | Hyperlane synthetic token | | ||
| | LITKEY | BSC | 0x0bBeA6812fb3fcBcA126eDb558e551B3f1702026 | Hyperlane synthetic token | | ||
| | LITKEY | Avalanche | 0xa38Fce8bf2fA38a97749332724b9db3FF44F006D | Hyperlane synthetic token | | ||
| | LITKEY | Linea | 0x94930Cbfed2483b69DfBed9d96a9CdD7c27D1393 | Hyperlane synthetic token | | ||
| | LITKEY | Lit Chain | N/A | Native gas token for Lit Chain | |
This file contains hidden or 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,25 @@ | ||
| import AddLitChainButton from "/snippets/AddLitChainButton"; | ||
|
|
||
| --- | ||
| title: "Lit Chain" | ||
| --- | ||
|
|
||
|
|
||
| Lit Chain is an Arbitrum Orbit-based L3 rollup that acts as the shared state layer for Lit Protocol. | ||
|
|
||
| ## Connecting to Lit Chain | ||
|
|
||
| To connect to Lit Chain, you can click <AddLitChainButton /> or manually add the network parameters below. For production use cases, you should get a free private RPC URL from Conduit by clicking "Get an API Key" on the [Lit Chain hub page](https://hub.conduit.xyz/lit-chain-1rw3jdu82h). | ||
|
|
||
| :::note | ||
| The below and additional chain facts are available [here](https://hub.conduit.xyz/lit-chain-1rw3jdu82h). | ||
| ::: | ||
|
|
||
| | Parameter Name | Value | | ||
| |--------------------|----------------------------------------------------| | ||
| | Chain ID | 175200 | | ||
| | Name | Lit Chain | | ||
| | RPC URL | https://lit-chain-rpc.litprotocol.com | | ||
| | Block Explorer URL | https://lit-chain-explorer.litprotocol.com | | ||
| | Currency Symbol | LITKEY | | ||
| | Currency Decimals | 18 | | ||
This file contains hidden or 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 React from 'react'; | ||
|
|
||
| export default function AddLitChainButton() { | ||
| const addNetwork = () => { | ||
| const params = [ | ||
| { | ||
| chainId: '0x2AC60', | ||
| chainName: 'Lit Chain', | ||
| nativeCurrency: { | ||
| name: 'Lit Protocol', | ||
| symbol: 'LITKEY', | ||
| decimals: 18, | ||
| }, | ||
| rpcUrls: ['https://lit-chain-rpc.litprotocol.com'], | ||
| blockExplorerUrls: [ | ||
| 'https://lit-chain-explorer.litprotocol.com', | ||
| ], | ||
| }, | ||
| ]; | ||
|
|
||
| window.ethereum | ||
| .request({ method: 'wallet_addEthereumChain', params }) | ||
| .then(() => console.log('Success')) | ||
| .catch(error => console.log('Error', error.message)); | ||
| }; | ||
|
|
||
| return ( | ||
| <button onClick={addNetwork}>Add Lit Chain to Metamask</button> | ||
| ); | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.