Guides
Node.js Environment
Using the Lumera JS SDK in Node.js for server-side applications, CLI tools, and backend services.
Overview
The @lumera-protocol/sdk-js SDK works in both browser and Node.js environments. This guide covers the Node.js setup for server-side applications, CLI tools, and backend services where programmatic signing with DirectSecp256k1HdWallet replaces browser wallet extensions.
Setup
Programmatic Signing
In Node.js there is no Keplr or Leap wallet. Instead, use DirectSecp256k1HdWallet for transaction signing and build a custom signer that supports signArbitrary (ADR-036) for Cascade's off-chain signatures:
Upload a File
Download a File
Server-Side Alternatives
For server-side applications, you can also use the native Go SDK or Rust SDK.