Skip to content

Getting Started

Installation

bash
npm install lucid-sdk
# or
yarn add lucid-sdk

Initialization

typescript
import { Lucid, LogLevel } from 'lucid-sdk';

const client = new Lucid({
  apiKey: 'YOUR_API_KEY',
  apiSecret: 'YOUR_API_SECRET',
  // Optional: Advanced Configuration
  timeout: 5000,
  syncTime: true, // Auto-sync client time with server
  logger: new ConsoleLogger(LogLevel.INFO), // Or your custom logger
});