Skip to content

Commit 0680dc2

Browse files
authored
Merge pull request #975 from LIT-Protocol/feature/bridge-and-token-address-docs
add docs on bridging and token addresses
2 parents 9a5a8a5 + 6660e2e commit 0680dc2

File tree

4 files changed

+75
-1
lines changed

4 files changed

+75
-1
lines changed

docs/docs.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,9 @@
157157
"group": "$LITKEY Token",
158158
"pages": [
159159
"governance/litkey/overview",
160-
"governance/litkey/initial-allocation-and-distribution"
160+
"governance/litkey/initial-allocation-and-distribution",
161+
"governance/litkey/lit-chain",
162+
"governance/litkey/bridging-and-addresses"
161163
]
162164
},
163165
{
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
| Contract | Network | Address | Notes |
2+
|----------|--------------|--------------------------------------------|---------------------------------------------------------------------|
3+
| LITKEY | Ethereum | [0x4D4eb0E8B160f6EbF63cC6d36060ffec09301B42](https://etherscan.io/address/0x4D4eb0E8B160f6EbF63cC6d36060ffec09301B42) | Master token contract |
4+
| LITKEY | Base | [0xF732A566121Fa6362E9E0FBdd6D66E5c8C925E49](https://basescan.org/address/0xF732A566121Fa6362E9E0FBdd6D66E5c8C925E49) | Bridged to Base using canonical bridge, Hyperlane supported |
5+
| LITKEY | Arbitrum One | [0xC7603786470F04D33E35f9E9B56bD0Ca8803fB95](https://arbiscan.io/address/0xC7603786470F04D33E35f9E9B56bD0Ca8803fB95) | Bridged to Arbitrum One using canonical bridge, Hyperlane supported |
6+
| LITKEY | Optimism | [0x0633E91f64C22d4FEa53dbE6e77B7BA4093177B8](https://optimistic.etherscan.io/address/0x0633E91f64C22d4FEa53dbE6e77B7BA4093177B8) | Bridged to Optimism using canonical bridge, Hyperlane supported |
7+
| LITKEY | Polygon | [0x5bEd1A06b26853360D9D1a6a27eaCE1b85206867](https://polygonscan.com/address/0x5bEd1A06b26853360D9D1a6a27eaCE1b85206867) | Hyperlane synthetic token |
8+
| LITKEY | BSC | [0x0bBeA6812fb3fcBcA126eDb558e551B3f1702026](https://bscscan.com/address/0x0bBeA6812fb3fcBcA126eDb558e551B3f1702026) | Hyperlane synthetic token |
9+
| LITKEY | Avalanche | [0xa38Fce8bf2fA38a97749332724b9db3FF44F006D](https://snowtrace.io/address/0xa38Fce8bf2fA38a97749332724b9db3FF44F006D) | Hyperlane synthetic token |
10+
| LITKEY | Linea | [0x94930Cbfed2483b69DfBed9d96a9CdD7c27D1393](https://explorer.linea.build/address/0x94930Cbfed2483b69DfBed9d96a9CdD7c27D1393) | Hyperlane synthetic token |
11+
| LITKEY | Lit Chain | N/A | Native gas token for Lit Chain |
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
title: "Lit Chain"
3+
---
4+
import { AddLitChainButton } from "/snippets/AddLitChainButton.jsx";
5+
6+
7+
Lit Chain is an Arbitrum Orbit-based L3 rollup that acts as the shared state layer for Lit Protocol.
8+
9+
## Connecting to Lit Chain
10+
11+
<AddLitChainButton />
12+
13+
To connect to Lit Chain, you can click the button above 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).
14+
15+
<Note>
16+
The below and additional chain parameters are available [here](https://hub.conduit.xyz/lit-chain-1rw3jdu82h).
17+
</Note>
18+
19+
| Parameter Name | Value |
20+
|--------------------|----------------------------------------------------|
21+
| Chain ID | 175200 |
22+
| Name | Lit Chain |
23+
| RPC URL | https://lit-chain-rpc.litprotocol.com |
24+
| Block Explorer URL | https://lit-chain-explorer.litprotocol.com |
25+
| Currency Symbol | LITKEY |
26+
| Currency Decimals | 18 |
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
import React from 'react';
2+
3+
export const AddLitChainButton = () => {
4+
const addNetwork = () => {
5+
const params = [
6+
{
7+
chainId: '0x2AC60',
8+
chainName: 'Lit Chain',
9+
nativeCurrency: {
10+
name: 'Lit Protocol',
11+
symbol: 'LITKEY',
12+
decimals: 18,
13+
},
14+
rpcUrls: ['https://lit-chain-rpc.litprotocol.com'],
15+
blockExplorerUrls: [
16+
'https://lit-chain-explorer.litprotocol.com',
17+
],
18+
},
19+
];
20+
21+
window.ethereum
22+
.request({ method: 'wallet_addEthereumChain', params })
23+
.then(() => console.log('Success'))
24+
.catch(error => console.log('Error', error.message));
25+
};
26+
27+
return (
28+
<button
29+
onClick={addNetwork}
30+
className="px-5 py-2 rounded-md bg-gradient-to-r from-[#F97316] to-[#EA580C] text-white font-semibold shadow-md hover:from-[#fb923c] hover:to-[#ea580c] focus:outline-none focus:ring-2 focus:ring-[#F97316] transition-all"
31+
>
32+
Add Lit Chain to Metamask
33+
</button>
34+
);
35+
}

0 commit comments

Comments
 (0)