Skip to main content

Integration SDK

Official packages for connecting dApps to Zunia live in zunia-sdk.

PackageUse when
@zunialab/sdk-webBrowser dApp + Zunia extension (window.zunia)
@zunialab/sdk-reactReact hooks around the web SDK
@zunialab/sdk-coreShared types / WalletConnect constants
zunia_sdk (Flutter)Mobile deep links / WC URI helpers

Web

pnpm add @zunialab/sdk-web
import { getZunia, enableZunia } from "@zunialab/sdk-web";

const zunia = await getZunia();
if (!zunia) {
// Prompt install: https://zunialab.com
} else {
await enableZunia("cosmoshub-4");
}

Flutter

dependencies:
zunia_sdk:
git:
url: https://github.com/Zunia-Lab/zunia-sdk.git
path: flutter/zunia_sdk

See also dApp provider API and WalletConnect.