Skip to main content
Starkzap SDK overview hero

Introduction

Starkzap enables any application to bring Bitcoin, stablecoins, and DeFi to their users. Built on Starknet’s native account abstraction, it provides the tools to integrate wallets, swap, stake token, borrow/lend, make private transfers, and execute transactions—without requiring users to manage seed phrases or understand blockchain complexity. Quick Start: Get your first wallet integration working in under 5 minutes with our Quick Start Guide

Key Features

Quick Start

Complete SDK with web, mobile, and server support, production-ready codebase, and minimal configuration

Modular Architecture

Independent modules that allow you to use only what you need while maintaining clean code separation

Protocol Integrations

Ready-to-use integrations with major Starknet services including AVNU Paymaster, Privy, AVNU, EKUBO, Vesu, Tongo Cash and Cartridge Controller

Cross-Platform

Works seamlessly in Node.js, browsers, and React Native with the same API

Web2-Friendly Auth

Social login, email authentication, and biometrics—no seed phrases required

Seamless UX

Paymaster and Cartridge policy-based sponsorship where configured, plus staking, swapping, and borrowing for smooth user experiences

Protocol Integrations

The SDK includes ready-to-use integrations with major Starknet services: Wallet Solutions & Gas Management
  • Privy - Like OAuth for wallets: users sign in with email or social accounts, and Privy securely manages their wallet keys on their servers (no seed phrases needed)
  • Cartridge - For games: social / passkey login on web (Controller) or React Native (native session with starkzap-native). Cartridge can sponsor policy-matching calls via its paymaster/session stack; other calls may still cost the user
  • Argent Account - Pre-built wallet template you can use (like using a UI component library)
  • Braavos Account - Another pre-built wallet template option
  • AVNU Paymaster - Service that pays transaction fees for your users (like offering free shipping—you cover the costs so users don’t have to)
DeFi & Financial Services
  • Native Staking - Let users earn passive income by staking tokens (like earning interest on a savings account)
  • Token Operations - Send and receive tokens, check balances (like handling payments and account balances)
  • Swaps - Let users exchange one token for another via AVNU (aggregator) or Ekubo (concentrated liquidity)
  • Lending - Enable users to supply, borrow, and repay with Vesu
  • Confidential - Privacy-preserving transfers with Tongo Cash
  • Cross-chain Bridge - Bridge assets from Ethereum or Solana into Starknet

Who Is This For?

Web2 Developers

Jump into blockchain development without learning everything from scratch. Leverage familiar patterns (REST APIs, OAuth) and focus on user experience.

Blockchain Developers

Extend your reach to consumer applications using pre-built integrations without learning mobile/web frameworks from scratch.

Entrepreneurs & Startups

Rapidly prototype and launch blockchain-based applications, reducing development time from months to weeks.

What Can You Build?

Build applications where users can swap tokens, stake assets, and earn rewards—all with a simple API.Examples:
  • EKUBO - Concentrated liquidity AMM
  • AVNU - DEX aggregator and paymaster
  • VESU - DeFi protocol suite
Key Features:
  • Token swapping and DEX integration
  • Staking and earning passive income
  • Portfolio management and analytics
Learn more about Staking

Architecture Overview

The SDK consists of modular components that work together seamlessly:
Starkzap

├── Core SDK
│   ├── StarkZap
│   │   └── Network & configuration orchestration
│   └── WalletInterface
│       └── Unified wallet abstraction

├── Signer Backends
│   ├── StarkSigner
│   │   └── Local private key signing
│   ├── PrivySigner
│   │   └── Server-side key management
│   └── Cartridge
│       └── Social login & passkey authentication

└── Feature Modules
    ├── Token Operations
    │   └── ERC20 transfers, balances, approvals
    ├── Staking & Delegation
    │   └── Pool management, rewards, exits
    ├── Bridge
    │   └── Deposit, quotes
    ├── Swap & DCA
    │   └── Swapping, quotes, dca
    ├── Borrowing & Lending
    │   └── Borrow, lend, withdraw
    ├── Confidential
    │   └── Fund, transfer, withdraw
    ├── Transaction Builder
    │   └── Batching, preflight, fee estimation
    └── Type-Safe Primitives
        └── Address, Amount, ChainId
Core Components:
  • StarkZap - Main orchestration layer for network and configuration management
  • WalletInterface - Unified wallet abstraction with interchangeable backends
  • Signer Backends - StarkSigner, PrivySigner, Cartridge - flexible authentication
  • Feature Modules - Token ops, staking, transactions, type-safe primitives

What’s Next?

Ready to start building? Here’s your roadmap: Setup Guide
  • Installation - Install the SDK and dependencies
  • Quick Start - Get your first wallet integration working in minutes
Core Concepts
  • Configuration - Configure networks, RPC providers, and integrations
  • Paymasters - Set up gasless transactions (AVNU or Cartridge)
  • Connecting Wallets - Connect wallets with social login, biometrics, or email
  • Transactions - Send transactions, batch operations, and handle fees
Features Examples Complete Examples - See practical examples for web, mobile, and server applications Reference
New to blockchain? Don’t worry! The SDK is designed to be beginner-friendly while remaining powerful for experienced developers.

Community & Support

Join our growing community: Telegram Groups: Other Channels:
  • Discord - Starknet Community - Get real-time help and connect with other developers
  • Forum - Starknet Community Forum - Ask questions and share knowledge
  • GitHub - Report issues, contribute, and explore the codebase