Skip to main content

v1 — Developer Preview

The current version of the Encrypted Balances SDK. Fully functional but APIs may evolve in v2.

Guide

Step-by-step tutorials for building with Encrypted Balances.

PageDescription
What is ZK Privacy EB?Overview, three privacy layers, key concepts
Installationnpm registry setup, packages, CDN assets, React Native
Quick StartFirst transaction in 5 minutes
Shield & UnshieldEntry/exit between public and encrypted balances
Private TransfersHidden-amount transfers with ZK proofs
Stealth AddressesUnlinkable receive addresses
RelayerGasless transactions, authorization model
Atomic SwapsCross-token private exchange
ComplianceUKRC threshold decryption, blacklist, freeze

API Reference

PageDescription
Setup & ConfigurationcreateClient, EBClient, key derivation, contract addresses
Wallet APIBalances, shield, transfer, unshield, registration, history
L3 StakingStake, unstake, transfer from stealth
Stealth AddressesCreate, list, balances, auto-stake watcher, recovery
Swap APISwapClient — offers, rates, atomic swap execution
ContractsABIs, deployment addresses, events
TypesAll TypeScript interfaces and type definitions
Low-Level ExportsGrumpkin curve, ElGamal, DLog solver, L3 crypto