Skip to main content
Lumera Protocol ships official SDKs for JavaScript and Go. This page installs both, explains the peer dependencies, and covers the bundler configuration that browser apps sometimes need.

Requirements

You also need two things before you upload.
  • A Lumera wallet. Use a mnemonic for programmatic signing, or Keplr or Leap in the browser.
  • Testnet ulume from the faucet.

Install the JavaScript SDK

The JavaScript and TypeScript SDK is the main way to use Cascade from web and Node.js applications.
@cosmjs/proto-signing and @cosmjs/stargate are peer dependencies. The SDK uses them for wallet and transaction handling. For a full walkthrough, see JavaScript SDK.

Browser bundler configuration

If you use Vite, you may need polyfills for Node.js globals.
vite.config.ts
For webpack in Next.js, add fallbacks in next.config.js.
next.config.js

Install the Go SDK

The Go SDK targets server-side applications, CLI tools, and backend services. It queries the chain over gRPC and connects to SuperNodes directly. Add it inside a Go module.
For a full walkthrough, see Go SDK.

Verify the installation

Follow the Quickstart to confirm everything works. It creates a client, connects to testnet, and uploads a file in under 50 lines.

Next steps

Client setup

Create a client with presets, custom endpoints, and a signer.

JavaScript SDK

Walk through the JavaScript SDK from setup to upload.

Go SDK

Build server-side uploads with the Go SDK.