See SDK Reference for more details on the Lit Client. Lit Client Reference

Overview

The Lit Client is the core interface for interacting with the Lit Protocol network.
1

Install the SDK

Run the following command to install the SDK:
npm i @lit-protocol/lit-client@beta @lit-protocol/networks@beta
2

Network Configuration & Client Creation

Choose the appropriate network based on your development stage and requirements, then create your Lit Client instance.Choose the appropriate network based on your development stage and requirements, then create your Lit Client instance.
import { nagaDev } from "@lit-protocol/networks";
import { createLitClient } from "@lit-protocol/lit-client";

const litClient = await createLitClient({
  network: nagaDev,
});

Network Comparison

Select the appropriate network environment based on your development stage and requirements. Each network offers different characteristics for testing and production use cases.
NetworkTypeKey PersistencePayment RequiredUse CaseStatus
DevCentralised❌ Temporary❌ FreeDevelopment & Testing✅ Available
TestDecentralised⚠️ No guarantees✅ RequiredPre-production Testing❌ Coming Soon
ProductionDecentralised✅ Persistent✅ RequiredLive Applications❌ Coming Soon