Skip to content

Commit 343f6a8

Browse files
authored
Merge branch 'naga' into feature/drel-1157-discord-timeout-with-decryptandcombine
2 parents e503a0c + fca6789 commit 343f6a8

Some content is hidden

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

63 files changed

+4121
-2096
lines changed

docs/governance/overview.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
title: "Overview"
33
---
44

5+
<Tip>
6+
$LITKEY and the Staking Contest to Select the Genesis Node Operator Set for the Naga Mainnet are now LIVE.
7+
8+
[Learn More](https://spark.litprotocol.com/litkey-is-live/).
9+
</Tip>
10+
511
Lit Protocol has established an initial governance system to guide and organize its development and operations. This system exists to manage decision-making related to the core protocol, the infrastructure that supports it, and the broader ecosystem of applications built on top of it.
612

713
## Purpose

docs/index.mdx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,9 @@ description: 'Decentralized key management and private compute'
44
---
55

66
<Tip>
7-
We're excited to announce that Vincent is now live! Vincent is a powerful toolkit that enables secure web3 capabilities for AI agents through:
7+
$LITKEY and the Staking Contest to Select the Genesis Node Operator Set for the Naga Mainnet are now LIVE.
88

9-
- Secure Delegation: Safely delegate wallet operations to AI agents while maintaining full control
10-
- Customizable Tools: Define and manage specific web3 actions your agents can perform
11-
- Policy Controls: Set granular rules and restrictions for how agents interact with web3
12-
13-
Check out the [Vincent documentation](https://docs.heyvincent.ai/) to get started!
9+
[Learn More](https://spark.litprotocol.com/litkey-is-live/).
1410
</Tip>
1511

1612
# Overview

docs/node-ops/overview.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
title: "Overview"
33
---
44

5+
<Tip>
6+
$LITKEY and the Staking Contest to Select the Genesis Node Operator Set for the Naga Mainnet are now LIVE.
7+
8+
[Learn More](https://spark.litprotocol.com/litkey-is-live/).
9+
</Tip>
10+
511
Lit Protocol is secured and operated by a decentralized network of validator nodes. These nodes are responsible for executing the threshold cryptographic operations that underpin the core functionality of the network, including signing, encryption, decryption, and private compute via Lit Actions.
612

713
Each node participates in threshold signature multi-party computation (TSS MPC) protocols and operates inside a confidential compute environment (TEE), ensuring that no single operator can access plaintext key material or violate policy constraints.
@@ -14,4 +20,4 @@ A staking and delegation contest will be run to select the genesis validator set
1420

1521
To whitelist your node, visit https://staking.litprotocol.com/
1622

17-
Refer to the next page for details on hardware specs, minimum requirements, and operational guidelines for node operators.
23+
Refer to the next page for details on hardware specs, minimum requirements, and operational guidelines for node operators.

docs/sdk/auth-context-consumption/encrypt-and-decrypt.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ console.log("🧔🏻‍♂️ BobsAccount:", BobsAccount.address);
7878
Alice decides who can decrypt her encrypted data
7979

8080
<Tip>
81-
See SDK Reference for more details on the Access Control Conditions Builder. [Access Control Conditions Builder Reference](/sdk/sdk-reference/access-control-conditions/functions/createAccBuilder)
81+
See the [Access Control Conditions Builder Reference API](/sdk/sdk-reference/access-control-conditions/functions/createAccBuilder) for more details on how to build access control conditions.
8282
</Tip>
8383

8484
### Build Access Control Conditions

docs/sdk/auth-context-consumption/pkp-sign.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ description: "Use your PKP to sign a message with the selected chain and scheme.
44
---
55

66
<Tip>
7-
See SDK Reference for more details on the PKP Sign. [PKP Sign
8-
Reference](/sdk/sdk-reference/lit-client/functions/createLitClient#chain-raw-pkpsign)
7+
See the [PKP Sign Reference API](/sdk/sdk-reference/lit-client/functions/createLitClient#chain-raw-pkpsign) for more details on how to sign a message with your PKP.
98
</Tip>
109

1110
# Prerequisites

docs/sdk/auth/pkp-custom-auth/pkp-custom-auth.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ description: "Implement custom PKP authentication methods with Lit Actions"
1515

1616
Custom Authentication allows <b>dApp owners</b> to provide PKPs (Programmable Key Pairs) to their users without requiring them to understand blockchain technology or manage private keys. Instead of forcing users to learn new authentication methods, you can leverage your existing authentication systems (OAuth, APIs, databases) while providing them with powerful web3 capabilities.
1717

18-
This demonstrates the complete <b>dApp-centric custom authentication</b> flow from both perspectives: the <b>Site Owner</b> who sets up the system and the User who interacts with it.
18+
This demonstrates the complete <b>dApp-centric custom authentication</b> flow from both perspectives: the <b>Site Owner</b> who sets up the system and the <b>User</b> who interacts with it.
1919

2020
# Overview
2121

2222
In this example:
2323

24-
- site owners control the PKP minting process and provide immutable validation logic via IPFS.
24+
- Site owners control the PKP minting process and provide immutable validation logic via IPFS.
2525
- Users get pre-minted PKPs and authenticate through the site owner's validation Lit Action.
2626

2727
# Site Owner Walkthrough

docs/sdk/auth/pkp-native-auth/pkp-discord-auth.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ description: "Discord Authentication uses your Discord account to authenticate v
4949
</Step>
5050

5151
<Step title="Generate Auth Context">
52-
Use your newly minted PKP to create an AuthContext. This method will cache two things:
52+
Use your PKP's public key to create an AuthContext. This method will cache two things:
5353
1. session key pair - a temporary cryptographic key pair generated on the client side that acts as a temporary identity for the client application. It consists of:
5454
- A public key - shared with the Lit nodes
5555
- A secret key (private key) - kept securely on the client
@@ -59,7 +59,7 @@ Use your newly minted PKP to create an AuthContext. This method will cache two t
5959

6060
const authContext = await authManager.createPkpAuthContext({
6161
authData: authData, // <-- Retrieved earlier
62-
pkpPublicKey: pkpInfo.pubkey, // <-- Minted earlier
62+
pkpPublicKey: pkpInfo.pubkey,
6363
authConfig: {
6464
resources: [
6565
["pkp-signing", "*"],

docs/sdk/auth/pkp-native-auth/pkp-eoa-auth.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ description: "Externally Owned Account (EOA) authentication uses your existing E
3838

3939
<Step title="Authenticate with EOA">
4040

41-
Use the WalletClientAuthenticator/ViemAccountAuthenticator to authenticate your connected wallet and generate auth data.
41+
Use the `WalletClientAuthenticator` or `ViemAccountAuthenticator` to authenticate your connected wallet and generate auth data.
4242

4343
<CodeGroup>
4444
```ts wagmi
@@ -97,17 +97,17 @@ You can select an existing PKP associated with your account or mint a new one.
9797
</Step>
9898

9999
<Step title="Generate Auth Context">
100-
Use your newly minted PKP to create an AuthContext. This method will cache two things:
100+
Use your PKP's public key to create an AuthContext. This method will cache two things:
101101
1. session key pair - a temporary cryptographic key pair generated on the client side that acts as a temporary identity for the client application. It consists of:
102102
- A public key - shared with the Lit nodes
103103
- A secret key (private key) - kept securely on the client
104-
2. Delegation AuthSig aka. the inner auth sig - a cryptographic attestation from the Lit Protocol nodes that authorises your session key to act on behalf of your PKP.
104+
2. Delegation AuthSig (aka. the inner auth sig) - a cryptographic attestation from the Lit Protocol nodes that authorises your session key to act on behalf of your PKP.
105105

106106
```ts
107107

108108
const authContext = await authManager.createPkpAuthContext({
109109
authData: authData, // <-- Retrieved earlier
110-
pkpPublicKey: pkpInfo.pubkey, // <-- Minted earlier
110+
pkpPublicKey: pkpInfo.pubkey,
111111
authConfig: {
112112
resources: [
113113
["pkp-signing", "*"],

docs/sdk/auth/pkp-native-auth/pkp-google-auth.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ description: "Google Authentication uses your Google account to authenticate via
4949
</Step>
5050

5151
<Step title="Generate Auth Context">
52-
Use your newly minted PKP to create an AuthContext. This method will cache two things:
52+
Use your PKP's public key to create an AuthContext. This method will cache two things:
5353
1. session key pair - a temporary cryptographic key pair generated on the client side that acts as a temporary identity for the client application. It consists of:
5454
- A public key - shared with the Lit nodes
5555
- A secret key (private key) - kept securely on the client
@@ -59,7 +59,7 @@ Use your newly minted PKP to create an AuthContext. This method will cache two t
5959

6060
const authContext = await authManager.createPkpAuthContext({
6161
authData: authData, // <-- Retrieved earlier
62-
pkpPublicKey: pkpInfo.pubkey, // <-- Minted earlier
62+
pkpPublicKey: pkpInfo.pubkey,
6363
authConfig: {
6464
resources: [
6565
["pkp-signing", "*"],

docs/sdk/auth/pkp-native-auth/pkp-stytch-2fa-totp-auth.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: "Stytch TOTP 2FA Authentication is a secondary authentication metho
66
# Prerequisites
77

88
<Warning>
9-
⚠️ Backend Required: This authentication method requires a backend service
9+
Backend Required: This authentication method requires a backend service
1010
that handles Stytch Email OTP operations. The auth service already has the
1111
implementation in place with the `/stytch/email/send-otp` and
1212
`/stytch/email/verify-otp` endpoints, but they are disabled by default. Simply
@@ -121,7 +121,7 @@ const authData = await StytchWhatsAppOtpAuthenticator.authenticate({
121121

122122
<Step title="Generate Auth Context">
123123

124-
Use your newly minted PKP to create an AuthContext. This method will cache two things:
124+
Use your PKP's public key to create an AuthContext. This method will cache two things:
125125

126126
1. session key pair - a temporary cryptographic key pair generated on the client side that acts as a temporary identity for the client application. It consists of:
127127
- A public key - shared with the Lit nodes
@@ -131,7 +131,7 @@ Use your newly minted PKP to create an AuthContext. This method will cache two t
131131
```ts
132132
const authContext = await authManager.createPkpAuthContext({
133133
authData: authData, // <-- Retrieved earlier
134-
pkpPublicKey: pkpInfo.pubkey, // <-- Minted earlier
134+
pkpPublicKey: pkpInfo.pubkey,
135135
authConfig: {
136136
resources: [
137137
["pkp-signing", "*"],

0 commit comments

Comments
 (0)