Getting Started
Installation
Install the Lumera SDK and its dependencies.
Prerequisites
- Node.js >= 18.0.0
- npm, pnpm, or yarn
- A Lumera wallet (mnemonic for programmatic signing, Keplr or Leap for browser apps)
- Testnet tokens (
ulume) from the Lumera faucet
Install the SDK
The JavaScript/TypeScript SDK is the primary way to interact with Cascade from web and Node.js applications.
@cosmjs/proto-signing and @cosmjs/stargate are peer dependencies required for wallet and transaction handling.
Browser Bundler Configuration
If you are using Vite, you may need polyfills for Node.js globals:
For webpack (Next.js), add fallbacks in next.config.js:
Verify Installation
To confirm everything is wired up correctly, follow the Quick Start guide. It creates a client, connects to testnet, and uploads a file in under 50 lines.
Other SDKs
Lumera also provides official SDKs for Go and Rust:
| SDK | Install | Repository |
|---|---|---|
| Go | go get github.com/LumeraProtocol/sdk-go | LumeraProtocol/sdk-go |
| Rust | cargo add lumera-sdk-rs --git https://github.com/LumeraProtocol/sdk-rs.git | LumeraProtocol/sdk-rs |
| TypeScript | npm install @lumera-protocol/sdk-js | LumeraProtocol/sdk-js |