3.1 KiB

๐Ÿ“Š Keplr dApp Dashboard

A web interface to manage your integration. Here, you can:

  • Manage API keys
  • (Coming soon) View user accounts
  • (Coming soon) Track usage metrics

Keplr Embedded is currently in beta and only available to teams approved through our partnerships process. If you'd like to integrate it into your dApp, please fill out and submit this form.

Integration Examples

Ethereum dApp Integration

import { OkoEthWallet } from "@oko-wallet/oko-sdk-eth";
import { createPublicClient, createWalletClient, custom } from "viem";
import { mainnet } from "viem/chains";

// Initialize Oko Eth Wallet
const okoEthRes = OkoEthWallet.init({
  api_key: "your-api-key",
  // Additional configuration options
});

if (!okoEthRes.success) {
  throw new Error("Failed to initialize Oko Eth Wallet");
}

const okoEth = okoEthRes.data;

// Get provider
const provider = await okoEth.getEthereumProvider();

// Use with Viem (or any Web3 library)
const walletClient = createWalletClient({
  chain: mainnet,
  transport: custom(provider),
});

// Sign transactions normally
const hash = await walletClient.sendTransaction({
  to: "0x...",
  value: parseEther("0.1"),
});

Cosmos dApp Integration

import { OkoCosmosWallet } from "@oko-wallet/oko-sdk-cosmos";

// Initialize Oko Cosmos Wallet
const okoCosmosRes = OkoCosmosWallet.init({
  api_key: "your-api-key",
  // Additional configuration options
});

if (!okoCosmosRes.success) {
  throw new Error("Failed to initialize Oko Cosmos Wallet");
}

const okoCosmos = okoCosmosRes.data;

// Get user accounts
const accounts = await okoCosmos.getAccounts();

// Sign transactions with CosmJS
const result = await okoCosmos.signDirect({
  signerAddress: accounts[0].address,
  signDoc: transactionDoc,
});

Technical Foundation

Cryptographic Protocol: Cait-Sith threshold ECDSA with committed Beaver triples Implementation: Rust core with WebAssembly and Node.js bindings
Standards Compliance: Full EIP-1193 and CosmJS compatibility Security Model: Distributed key shares with cryptographic proofs

Getting Started

Ready to integrate Keplr Embedded into your application?

๐Ÿš€ Quick Integration

๐Ÿ—๏ธ Understanding the System

๐Ÿ“š API Reference


Let's get started! Ready to eliminate single points of failure in your application? Start with the Integration Guide.