createLumeraClient factory connects to the Lumera Protocol blockchain and configures the SuperNode API client in one call. This page shows how to build the client with each supported signer and how to point it at any network.
Chain configuration
Keplr and Leap require a chain configuration to register the Lumera network. Define it once and reuse it.chain-config.ts
Choose a signer
The client accepts any signer that providessignDirect, signAmino, and signArbitrary. The signArbitrary method produces ADR-036 signatures, the Cosmos standard for signing arbitrary offline data. Cascade uses those signatures to authenticate with SuperNodes.
Browser with Keplr
keplr-client.ts
Browser with Leap
Leap’sgetOfflineSignerAuto covers getAccounts, signAmino, and signDirect. You only add signArbitrary.
leap-client.ts
Node.js with a mnemonic
In Node.js you build the signer from a mnemonic. You need a Direct signer for transaction signing and an Amino signer forsignArbitrary.
node-client.ts
Configuration options
gasPrice to 0.025ulume. That is the minimum gas price on both networks.
Presets
The public mainnet RPC and LCD endpoints are coming soon. Use the
testnet preset while you build and test.Custom endpoints
Pass explicit endpoints for local development or self-hosted nodes.Client structure
Once created, the client exposes two primary sub-clients.Go client
The Go SDK follows the same shape. Thelumerasdk.New entry point takes a config and a keyring, then surfaces client.Blockchain for chain queries and client.Cascade for storage.
main.go
Next steps
Upload lifecycle
See every phase of an upload in detail.
Error handling
Diagnose failures and tune retries and timeouts.
Browser app guide
Build a browser upload app with Keplr.