SDK Reference
The Lit JS SDK provides a comprehensive toolkit for integrating Lit Protocol’s decentralised authentication and cryptographic capabilities into your applications. This reference documentation covers all the methods, classes, and configuration options available in the SDK.1. Client Setup Layer
- Lit Client Setup: Configure the Lit Protocol client
- Auth Manager Setup: Set up authentication management with configurable storage options
- Payment Manager Setup: Configure payment processing capabilities
- Auth Services Setup: Configure auth services
2. Authentication Options
- PKP Native Authentication: Programmable Key Pair native authentication options
- PKP Custom Authentication: Custom PKP authentication implementations
- EOA Authentication: Externally Owned Account authentication
3. Auth Context Consumption / Core API Methods
- pkpSign: - Use your PKP to sign a message
- executeJs: - Use your PKP to execute a JavaScript function
- encryptAndDecrypt: - Use your PKP to encrypt and decrypt data
4. PKP Wallet Management
- PKP Permissions: - Manage PKP permissions
- PKP Viem Account: - Manage PKP Viem account
- PKP View Helpers: - View PKP permissions