Developers
A public SDK, kept separate so it can ship on its own.
Install @gundrink/light-wire when the package is published. Until then, the source is the packages/sdk directory, ready to split into a public GitHub repository.
Every amount is a base-unit string, and every token is a mint address. The client unwraps a success envelope and throws a typed error, with a code, when the API refuses. A missing route is one of those codes.
The surface is health, networks, quotes, unsigned builds, swap status, hook inspection, and the fee policy. Building a Mainnet transaction is rejected while writes stay locked. The package never asks for a seed phrase.
import { LightWire } from "@gundrink/light-wire";
const lightWire = new LightWire({
baseUrl: process.env.LIGHT_WIRE_API_URL,
apiKey: process.env.LIGHT_WIRE_API_KEY,
});
const quote = await lightWire.createQuote({
cluster: "devnet",
inputMint: "INPUT_MINT_ADDRESS",
outputMint: "OUTPUT_MINT_ADDRESS",
amount: "1000000",
slippageBps: 50,
});API keys, usage charts, and webhook delivery are not live. This page does not show sample traffic as if it were yours.
