Skip to content

Commit e503a0c

Browse files
authored
Merge branch 'naga' into feature/drel-1157-discord-timeout-with-decryptandcombine
2 parents 0f36988 + 072c650 commit e503a0c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+1932
-74
lines changed

docs/changelog.mdx

Lines changed: 39 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@ rss: true
66

77
| Package | Latest version | Summary |
88
| ------- | -------------- | ------- |
9-
| [@lit-protocol/lit-client](#lit-client) | [8.1.0](https://www.npmjs.com/package/%40lit-protocol%2Flit-client) | Converted viem from a bundled dependency to a peer dependency to avoid build errors from version conflicts (e.g., missing exports like sendCallsSync) and improve compatibility by reducing dependency lock-in. Consumers must now install compatible versions manually. |
9+
| [@lit-protocol/lit-client](#lit-client) | [8.2.0](https://www.npmjs.com/package/%40lit-protocol%2Flit-client) | LitClient now offers `getIpfsId` via `@lit-protocol/lit-client/ipfs`, letting apps compute CIDv0 hashes (e.g., `await getIpfsId('hello')`) while keeping bundles lean. |
1010
| [@lit-protocol/auth](#auth) | [8.1.0](https://www.npmjs.com/package/%40lit-protocol%2Fauth) | Converted viem from a bundled dependency to a peer dependency to avoid build errors from version conflicts (e.g., missing exports like sendCallsSync) and improve compatibility by reducing dependency lock-in. Consumers must now install compatible versions manually. |
11-
| [@lit-protocol/networks](#networks) | [8.1.0](https://www.npmjs.com/package/%40lit-protocol%2Fnetworks) | Converted viem from a bundled dependency to a peer dependency to avoid build errors from version conflicts (e.g., missing exports like sendCallsSync) and improve compatibility by reducing dependency lock-in. Consumers must now install compatible versions manually. |
12-
| [@lit-protocol/auth-services](#auth-services) | [2.0.3](https://www.npmjs.com/package/%40lit-protocol%2Fauth-services) | Updated dependencies |
11+
| [@lit-protocol/networks](#networks) | [8.2.0](https://www.npmjs.com/package/%40lit-protocol%2Fnetworks) | introduce `litClient.utils.getDerivedKeyId` - a little helper to resolve the Lit Action public key outside of the Action runtime |
12+
| [@lit-protocol/auth-services](#auth-services) | [2.0.4](https://www.npmjs.com/package/%40lit-protocol%2Fauth-services) | Updated dependencies |
1313
| [@lit-protocol/access-control-conditions](#access-control-conditions) | [8.0.2](https://www.npmjs.com/package/%40lit-protocol%2Faccess-control-conditions) | - |
1414
| [@lit-protocol/access-control-conditions-schemas](#access-control-conditions-schemas) | [8.0.2](https://www.npmjs.com/package/%40lit-protocol%2Faccess-control-conditions-schemas) | - |
15-
| [@lit-protocol/artillery](#artillery) | [0.0.4](https://www.npmjs.com/package/%40lit-protocol%2Fartillery) | @lit-protocol/e2e@2.0.0 |
15+
| [@lit-protocol/artillery](#artillery) | [0.0.5](https://www.npmjs.com/package/%40lit-protocol%2Fartillery) | Updated dependencies |
1616
| [@lit-protocol/auth-helpers](#auth-helpers) | [8.1.0](https://www.npmjs.com/package/%40lit-protocol%2Fauth-helpers) | Converted viem from a bundled dependency to a peer dependency to avoid build errors from version conflicts (e.g., missing exports like sendCallsSync) and improve compatibility by reducing dependency lock-in. Consumers must now install compatible versions manually. |
17-
| [@lit-protocol/constants](#constants) | [8.0.3](https://www.npmjs.com/package/%40lit-protocol%2Fconstants) | Updated dependencies |
18-
| [@lit-protocol/contracts](#contracts) | [0.6.0](https://www.npmjs.com/package/%40lit-protocol%2Fcontracts) | Converted viem from a bundled dependency to a peer dependency to avoid build errors from version conflicts (e.g., missing exports like sendCallsSync) and improve compatibility by reducing dependency lock-in. Consumers must now install compatible versions manually. |
17+
| [@lit-protocol/constants](#constants) | [8.0.4](https://www.npmjs.com/package/%40lit-protocol%2Fconstants) | Updated dependencies |
18+
| [@lit-protocol/contracts](#contracts) | [0.7.0](https://www.npmjs.com/package/%40lit-protocol%2Fcontracts) | introduce `litClient.utils.getDerivedKeyId` - a little helper to resolve the Lit Action public key outside of the Action runtime |
1919
| [@lit-protocol/crypto](#crypto) | [8.0.2](https://www.npmjs.com/package/%40lit-protocol%2Fcrypto) | - |
20-
| [@lit-protocol/e2e](#e2e) | [2.0.0](https://www.npmjs.com/package/%40lit-protocol%2Fe2e) | Updated dependencies |
20+
| [@lit-protocol/e2e](#e2e) | [3.0.0](https://www.npmjs.com/package/%40lit-protocol%2Fe2e) | introduce `litClient.utils.getDerivedKeyId` - a little helper to resolve the Lit Action public key outside of the Action runtime |
2121
| [@lit-protocol/logger](#logger) | [8.0.2](https://www.npmjs.com/package/%40lit-protocol%2Flogger) | - |
2222
| [@lit-protocol/schemas](#schemas) | [8.0.2](https://www.npmjs.com/package/%40lit-protocol%2Fschemas) | - |
2323
| [@lit-protocol/types](#types) | [8.0.2](https://www.npmjs.com/package/%40lit-protocol%2Ftypes) | - |
@@ -27,15 +27,20 @@ rss: true
2727

2828
<Update
2929
label="lit-client"
30-
description="v8.1.0"
30+
description="v8.2.0"
3131
tags={["Minor Changes"]}
32-
rss={{ title: "lit-client", description: "Converted viem from a bundled dependency to a peer dependency to avoid build errors from version conflicts (e.g., missing exports like sendCallsSync) and improve compatibility by reducing dependency lock-in. Consumers must now install compatible versions manually." }}
32+
rss={{ title: "lit-client", description: "LitClient now offers `getIpfsId` via `@lit-protocol/lit-client/ipfs`, letting apps compute CIDv0 hashes (e.g., `await getIpfsId('hello')`) while keeping bundles lean." }}
3333
id="lit-client"
3434
>
3535

3636
## Minor Changes
3737

38-
- Converted viem from a bundled dependency to a peer dependency to avoid build errors from version conflicts (e.g., missing exports like sendCallsSync) and improve compatibility by reducing dependency lock-in. Consumers must now install compatible versions manually.
38+
- LitClient now offers `getIpfsId` via `@lit-protocol/lit-client/ipfs`, letting apps compute CIDv0 hashes (e.g., `await getIpfsId('hello')`) while keeping bundles lean.
39+
- ```ts
40+
- import { getIpfsId } from '@lit-protocol/lit-client/ipfs';
41+
- const cid = await getIpfsId('hello');
42+
- ```
43+
- introduce `litClient.utils.getDerivedKeyId` - a little helper to resolve the Lit Action public key outside of the Action runtime
3944
</Update>
4045
4146
<Update
@@ -57,25 +62,25 @@ rss: true
5762
5863
<Update
5964
label="networks"
60-
description="v8.1.0"
65+
description="v8.2.0"
6166
tags={["Minor Changes", "Patch Changes"]}
62-
rss={{ title: "networks", description: "Converted viem from a bundled dependency to a peer dependency to avoid build errors from version conflicts (e.g., missing exports like sendCallsSync) and improve compatibility by reducing dependency lock-in. Consumers must now install compatible versions manually." }}
67+
rss={{ title: "networks", description: "introduce `litClient.utils.getDerivedKeyId` - a little helper to resolve the Lit Action public key outside of the Action runtime" }}
6368
id="networks"
6469
>
6570
6671
## Minor Changes
6772
68-
- Converted viem from a bundled dependency to a peer dependency to avoid build errors from version conflicts (e.g., missing exports like sendCallsSync) and improve compatibility by reducing dependency lock-in. Consumers must now install compatible versions manually.
73+
- introduce `litClient.utils.getDerivedKeyId` - a little helper to resolve the Lit Action public key outside of the Action runtime
6974
7075
## Patch Changes
7176
7277
- Updated dependencies
73-
- @lit-protocol/contracts@0.6.0
78+
- @lit-protocol/contracts@0.7.0
7479
</Update>
7580
7681
<Update
7782
label="auth-services"
78-
description="v2.0.3"
83+
description="v2.0.4"
7984
tags={["Patch Changes"]}
8085
rss={{ title: "auth-services", description: "Updated dependencies" }}
8186
id="auth-services"
@@ -84,7 +89,7 @@ rss: true
8489
## Patch Changes
8590
8691
- Updated dependencies
87-
- @lit-protocol/contracts@0.6.0
92+
- @lit-protocol/contracts@0.7.0
8893
</Update>
8994
9095
<Update
@@ -111,15 +116,16 @@ rss: true
111116
112117
<Update
113118
label="artillery"
114-
description="v0.0.4"
119+
description="v0.0.5"
115120
tags={["Patch Changes"]}
116-
rss={{ title: "artillery", description: "@lit-protocol/[email protected]" }}
121+
rss={{ title: "artillery", description: "Updated dependencies" }}
117122
id="artillery"
118123
>
119124
120125
## Patch Changes
121126
122-
- @lit-protocol/e2e@2.0.0
127+
- Updated dependencies
128+
- @lit-protocol/[email protected]
123129
</Update>
124130
125131
<Update
@@ -137,7 +143,7 @@ rss: true
137143
138144
<Update
139145
label="constants"
140-
description="v8.0.3"
146+
description="v8.0.4"
141147
tags={["Patch Changes"]}
142148
rss={{ title: "constants", description: "Updated dependencies" }}
143149
id="constants"
@@ -146,20 +152,20 @@ rss: true
146152
## Patch Changes
147153
148154
- Updated dependencies
149-
- @lit-protocol/contracts@0.6.0
155+
- @lit-protocol/contracts@0.7.0
150156
</Update>
151157
152158
<Update
153159
label="contracts"
154-
description="v0.6.0"
160+
description="v0.7.0"
155161
tags={["Minor Changes"]}
156-
rss={{ title: "contracts", description: "Converted viem from a bundled dependency to a peer dependency to avoid build errors from version conflicts (e.g., missing exports like sendCallsSync) and improve compatibility by reducing dependency lock-in. Consumers must now install compatible versions manually." }}
162+
rss={{ title: "contracts", description: "introduce `litClient.utils.getDerivedKeyId` - a little helper to resolve the Lit Action public key outside of the Action runtime" }}
157163
id="contracts"
158164
>
159165
160166
## Minor Changes
161167
162-
- Converted viem from a bundled dependency to a peer dependency to avoid build errors from version conflicts (e.g., missing exports like sendCallsSync) and improve compatibility by reducing dependency lock-in. Consumers must now install compatible versions manually.
168+
- introduce `litClient.utils.getDerivedKeyId` - a little helper to resolve the Lit Action public key outside of the Action runtime
163169
</Update>
164170
165171
<Update
@@ -175,19 +181,22 @@ rss: true
175181
176182
<Update
177183
label="e2e"
178-
description="v2.0.0"
179-
tags={["Patch Changes"]}
180-
rss={{ title: "e2e", description: "Updated dependencies" }}
184+
description="v3.0.0"
185+
tags={["Minor Changes", "Patch Changes"]}
186+
rss={{ title: "e2e", description: "introduce `litClient.utils.getDerivedKeyId` - a little helper to resolve the Lit Action public key outside of the Action runtime" }}
181187
id="e2e"
182188
>
183189
190+
## Minor Changes
191+
192+
- introduce `litClient.utils.getDerivedKeyId` - a little helper to resolve the Lit Action public key outside of the Action runtime
193+
184194
## Patch Changes
185195
186196
- Updated dependencies
187197
- Updated dependencies
188-
- @lit-protocol/auth@8.1.0
189-
- @lit-protocol/lit-client@8.1.0
190-
- @lit-protocol/networks@8.1.0
198+
- @lit-protocol/[email protected]
199+
- @lit-protocol/[email protected]
191200
</Update>
192201
193202
<Update

docs/docs.json

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://mintlify.com/docs.json",
33
"theme": "mint",
4-
"name": "Lit JS SDK Documentation",
4+
"name": "Lit Protocol Documentation",
55
"colors": {
66
"primary": "#EA580C",
77
"light": "#F97316",
@@ -91,9 +91,10 @@
9191
]
9292
},
9393
{
94-
"group": "Access Control Conditions",
94+
"group": "Utilities",
9595
"pages": [
96-
"sdk/sdk-reference/access-control-conditions/functions/createAccBuilder"
96+
"sdk/sdk-reference/access-control-conditions/functions/createAccBuilder",
97+
"sdk/sdk-reference/lit-client/functions/getIpfsId"
9798
]
9899
},
99100
{
@@ -126,6 +127,12 @@
126127
"sdk/resources/network-status"
127128
]
128129
},
130+
{
131+
"group": "Guides",
132+
"pages": [
133+
"guides/lit-action-sign-as-action"
134+
]
135+
},
129136
{
130137
"group": "FAQ",
131138
"pages": [
@@ -150,16 +157,18 @@
150157
"group": "$LITKEY Token",
151158
"pages": [
152159
"governance/litkey/overview",
153-
"governance/litkey/initial-allocation-and-distribution"
160+
"governance/litkey/initial-allocation-and-distribution",
161+
"governance/litkey/staking",
162+
"governance/litkey/lit-chain",
163+
"governance/litkey/bridging-and-addresses"
154164
]
155165
},
156166
{
157167
"group": "Lit Protocol Airdrop: Season 1",
158168
"pages": [
159169
"governance/airdrop/overview",
160170
"governance/airdrop/eligibility-criteria",
161-
"governance/airdrop/claiming",
162-
"governance/airdrop/rewards"
171+
"governance/airdrop/claiming"
163172
]
164173
}
165174
]

docs/governance/airdrop/claiming.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
title: "Claiming Tokens"
33
---
44

5-
Coming soon.
5+
To claim your season 1 airdrop, please visit the [Lit staking portal](https://staking.litprotocol.com/airdrop). Airdrop claiming will open up on October 30th at 00:00 UTC following the Lit Protocol TGE.

docs/governance/airdrop/eligibility-criteria.mdx

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,30 @@
22
title: "Season 1 Eligibility Criteria"
33
---
44

5-
Coming soon.
5+
The Season 1 Airdrop is designed to reward early contributors who played a meaningful role in bootstrapping the Lit ecosystem ahead of the TGE and v1 Mainnet launch.
6+
7+
This initial distribution will be allocated to a diverse group of node operators who supported testnet deployments and secured early network activity, builders who shipped applications or tools using Lit infrastructure, core integration partners who integrated Lit into other protocols or tooling, quest Participants who completed tasks in campaigns such as Ciphernaut’s Path, Discord Contributors who helped moderate, educate, and onboard within the Lit ecosystem, and other select groups identified for their impact during Lit’s early growth phase.
8+
9+
## Eligibility Criteria
10+
11+
1. **Node Operators**: Airdrop rewards will be distributed to node operators who participated in the Lit Protocol testnet and mainnet beta phases. This includes participants in the Serrano, Cayenne, Manzano, Habanero, and Datil networks.
12+
13+
2. **Ecosystem Builders and Core Integration Partners**: Ecosystem builders and core integration partners will be eligible to claim tokens in the season 1 airdrop. This includes contributors to core Lit Protocol repositories on GitHub, hackathon participants, grantees, teams and individuals who have released apps and protocols integrating Lit in production and on testnet, and others who have contributed to Lit Protocol along similar lines.
14+
15+
3. **Quest Participants**: Individuals who participated in any of Lit Protocol's Season 1 Galxe campaigns will be eligible to claim tokens in the airdrop. A minimum of 50 points was required in order to be eligible, implying that you completed tasks that required onchain interactions.
16+
17+
4. **Discord Contributors**: Any contributor who was level 1 or higher who participated in Lit Protocol's Season 1 Discord contribution campaign is eligible to claim tokens in the airdrop. Token allocations were calculated based on each individual's Contributor Level, Badges, and total number of accumulated points.
18+
19+
5. **Genesis Gate NFT Holders**: All holders of Lit Protocol's OG Genesis Gate NFTs were allocated tokens on a fixed basis.
20+
21+
## Adjustments and Other Notes
22+
23+
### Adjustments
24+
Adjustments were made to the list of eligible airdrop participants to filter out addresses associated with or known to be sybil and / or bot accounts.
25+
26+
### Rewards and Bonuses
27+
All airdrop recipients can stake their token allocation for additional bonus rewards. For those who participate in the [Lit Staking Contest](/node-ops/staking-contest/logistics) as a node operator OR token delegator will receive a 10% reward bonus. This bonus will be applied directly to your locked token balance after the Staking Contest ends and the v1 Mainnet is live.
28+
29+
Native [staking reward](/governance/litkey/staking) distribution will also begin after the v1 Mainnet is live. The multiplier used to calculated each individual staker / delegator's token rewards is dependent on the timelock selected, varying from an estimated ~12% to ~100% for those who lock for the minimum (3 months) to the maximum (4 years).
30+
31+
Please visit the [staking portal](https://staking.litprotocol.com/) to begin your staking journey. Staking will begin after the Lit Protocol TGE.

docs/governance/airdrop/rewards.mdx

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
title: "Token Bridging and Contract Addresses"
3+
---
4+
5+
<Note>
6+
The Lit Protocol TGE will take place on Aerodrome on 10/30 at 00:00 UTC. [Details here](https://x.com/LitProtocol/status/1981794852712132716).
7+
</Note>
8+
9+
The [Hyperlane Nexus Bridge](https://nexus.hyperlane.xyz/) can be used to quickly bridge LITKEY to all the networks listed in the table below.
10+
11+
12+
## Official Contract Addresses
13+
14+
| Contract | Network | Address | Notes |
15+
|----------|--------------|--------------------------------------------|---------------------------------------------------------------------|
16+
| LITKEY | Ethereum | [0x4D4eb0E8B160f6EbF63cC6d36060ffec09301B42](https://etherscan.io/address/0x4D4eb0E8B160f6EbF63cC6d36060ffec09301B42) | Master token contract |
17+
| LITKEY | Base | [0xF732A566121Fa6362E9E0FBdd6D66E5c8C925E49](https://basescan.org/address/0xF732A566121Fa6362E9E0FBdd6D66E5c8C925E49) | Bridged to Base using canonical bridge, Hyperlane supported |
18+
| LITKEY | Arbitrum One | [0xC7603786470F04D33E35f9E9B56bD0Ca8803fB95](https://arbiscan.io/address/0xC7603786470F04D33E35f9E9B56bD0Ca8803fB95) | Bridged to Arbitrum One using canonical bridge, Hyperlane supported |
19+
| LITKEY | Optimism | [0x0633E91f64C22d4FEa53dbE6e77B7BA4093177B8](https://optimistic.etherscan.io/address/0x0633E91f64C22d4FEa53dbE6e77B7BA4093177B8) | Bridged to Optimism using canonical bridge, Hyperlane supported |
20+
| LITKEY | Polygon | [0x5bEd1A06b26853360D9D1a6a27eaCE1b85206867](https://polygonscan.com/address/0x5bEd1A06b26853360D9D1a6a27eaCE1b85206867) | Hyperlane synthetic token |
21+
| LITKEY | BSC | [0x0bBeA6812fb3fcBcA126eDb558e551B3f1702026](https://bscscan.com/address/0x0bBeA6812fb3fcBcA126eDb558e551B3f1702026) | Hyperlane synthetic token |
22+
| LITKEY | Avalanche | [0xa38Fce8bf2fA38a97749332724b9db3FF44F006D](https://snowtrace.io/address/0xa38Fce8bf2fA38a97749332724b9db3FF44F006D) | Hyperlane synthetic token |
23+
| LITKEY | Linea | [0x94930Cbfed2483b69DfBed9d96a9CdD7c27D1393](https://explorer.linea.build/address/0x94930Cbfed2483b69DfBed9d96a9CdD7c27D1393) | Hyperlane synthetic token |
24+
| LITKEY | Lit Chain | N/A | Native gas token for Lit Chain |

0 commit comments

Comments
 (0)