Docs
Quick start
Run the site locally, then call the public SDK. The API is part of the same app. Devnet is the default. Mainnet writes stay off.
Install the workspace
Light Wire is a pnpm workspace. The public TypeScript SDK lives in packages/sdk and does not depend on the API server code.
pnpm install
cp .env.example .env
pnpm devWhat starts
The site listens on http://localhost:3000. Health is GET /api/health on that same origin.
Quotes validate your request, then return ROUTING_PROVIDER_UNAVAILABLE until a routing adapter is configured. That is intentional: Light Wire does not invent an estimated output.
Call the SDK
Point the client at your API base URL. The SDK never asks for a seed phrase or private key.
import { LightWire } from "@gundrink/light-wire";
const lightWire = new LightWire({ baseUrl: "http://localhost:3000" });
const health = await lightWire.health();