> ## Documentation Index
> Fetch the complete documentation index at: https://docs.starknet.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> TypeScript SDK for building consumer applications with Starknet wallet integration, token operations, and DeFi features

<img src="https://mintcdn.com/starkware-9575960b/Dy5qvEgMdOdPzC_A/assets/starkzap/starkzap-overview.png?fit=max&auto=format&n=Dy5qvEgMdOdPzC_A&q=85&s=c94fb55d30ccc3d415a7827aeef144c7" alt="Starkzap SDK overview hero" width="1024" height="576" data-path="assets/starkzap/starkzap-overview.png" />

## 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](/build/starkzap/quick-start)

## Key Features

<CardGroup cols={3}>
  <Card title="Quick Start" icon="rocket" href="/build/starkzap/quick-start">
    Complete SDK with web, mobile, and server support, production-ready codebase, and minimal configuration
  </Card>

  <Card title="Modular Architecture" icon="building" href="/build/starkzap/configuration">
    Independent modules that allow you to use only what you need while maintaining clean code separation
  </Card>

  <Card title="Protocol Integrations" icon="link" href="/build/starkzap/integrations/avnu-paymaster">
    Ready-to-use integrations with major Starknet services including AVNU Paymaster, Privy, AVNU, EKUBO, Vesu, Tongo Cash and Cartridge Controller
  </Card>

  <Card title="Cross-Platform" icon="mobile" href="/build/starkzap/examples">
    Works seamlessly in Node.js, browsers, and React Native with the same API
  </Card>

  <Card title="Web2-Friendly Auth" icon="lock" href="/build/starkzap/connecting-wallets">
    Social login, email authentication, and biometrics—no seed phrases required
  </Card>

  <Card title="Seamless UX" icon="gift" href="/build/starkzap/paymasters">
    Paymaster and Cartridge policy-based sponsorship where configured, plus staking, swapping, and borrowing for smooth user experiences
  </Card>
</CardGroup>

## 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?

<CardGroup cols={3}>
  <Card title="Web2 Developers" icon="code">
    Jump into blockchain development without learning everything from scratch. Leverage familiar patterns (REST APIs, OAuth) and focus on user experience.
  </Card>

  <Card title="Blockchain Developers" icon="link">
    Extend your reach to consumer applications using pre-built integrations without learning mobile/web frameworks from scratch.
  </Card>

  <Card title="Entrepreneurs & Startups" icon="rocket">
    Rapidly prototype and launch blockchain-based applications, reducing development time from months to weeks.
  </Card>
</CardGroup>

## What Can You Build?

<Tabs>
  <Tab title="DeFi Trading Apps">
    Build applications where users can swap tokens, stake assets, and earn rewards—all with a simple API.

    **Examples:**

    * [**EKUBO**](https://ekubo.org) - Concentrated liquidity AMM
    * [**AVNU**](https://avnu.fi) - DEX aggregator and paymaster
    * [**VESU**](https://vesu.io) - DeFi protocol suite

    **Key Features:**

    * Token swapping and DEX integration
    * Staking and earning passive income
    * Portfolio management and analytics

    [Learn more about Staking](/build/starkzap/staking)
  </Tab>

  <Tab title="Payment & Fintech Apps">
    Enable users to send and receive cryptocurrency, accept payments, and manage digital assets like Bitcoin and stablecoins.

    **Examples:**

    * [**Ready Wallet**](https://ready.gg) - Consumer payment and wallet solution

    **Key Features:**

    * Send/receive Bitcoin, stablecoins, and tokens
    * Payment processing and invoicing
    * Multi-currency wallet management

    [Learn more about Tokens](/build/starkzap/erc20)
  </Tab>

  <Tab title="On-Chain Gaming">
    Create games with real digital assets, NFTs, and blockchain-based economies where players truly own their items.

    **Examples:**

    * [**LootSurvivor2**](https://lootsurvivor.io) - On-chain survival game
    * [**Ponziland**](https://ponziland.io) - Blockchain gaming platform

    **Key Features:**

    * In-game asset ownership
    * NFT integration
    * Play-to-earn mechanics
    * Gasless transactions for seamless gameplay

    [See Examples](/build/starkzap/examples)
  </Tab>

  <Tab title="Wallet Applications">
    Build consumer-friendly wallets with social login, biometrics, and gasless transactions.

    **Examples:**

    * [**Ready**](https://ready.gg) - Consumer wallet
    * [**Cartridge**](https://cartridge.gg) - Gaming-focused wallet
    * [**Braavos**](https://braavos.app) - Multi-chain wallet
    * [**Privy**](https://privy.io) - Embedded wallet infrastructure

    **Key Features:**

    * Social login (Google, Twitter, email)
    * Biometric authentication (Face ID, Touch ID)
    * Multi-chain support
    * Gasless transaction experience

    [Learn about Wallets](/build/starkzap/connecting-wallets)
  </Tab>
</Tabs>

***

## 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](/build/starkzap/installation) - Install the SDK and dependencies
* [Quick Start](/build/starkzap/quick-start) - Get your first wallet integration working in minutes

**Core Concepts**

* [Configuration](/build/starkzap/configuration) - Configure networks, RPC providers, and integrations
* [Paymasters](/build/starkzap/paymasters) - Set up gasless transactions (AVNU or Cartridge)
* [Connecting Wallets](/build/starkzap/connecting-wallets) - Connect wallets with social login, biometrics, or email
* [Transactions](/build/starkzap/transactions) - Send transactions, batch operations, and handle fees

**Features**

* [Bitcoin, Stablecoins, and Tokens](/build/starkzap/erc20) - Send and receive tokens, check balances

* [Staking & DeFi](/build/starkzap/staking) - Enable staking and earning rewards

* [Bridging](/build/starkzap/bridging) - Bridge assets from Ethereum and Solana into Starknet

* [Swaps](/build/starkzap/swap) - Exchange tokens with AVNU or Ekubo

* [DCA](/build/starkzap/dollar-cost-average) - Recurring buys (Dollar-Cost Averaging) with AVNU or Ekubo

* [Lending](/build/starkzap/lending) - Supply, borrow, and repay with Vesu

* [Confidential Transfers](/build/starkzap/confidential) - Privacy-preserving balances with Tongo

* [Integrations](/build/starkzap/integrations/avnu-paymaster) - AVNU Paymaster, Privy, Cartridge

**Examples**
[Complete Examples](/build/starkzap/examples) - See practical examples for web, mobile, and server applications

**Reference**

* [Glossary](/build/starkzap/glossary) - Web3 terms explained in web2-friendly language
* [API Reference](/build/starkzap/api-reference) - Complete API documentation

<Note>
  New to blockchain? Don't worry! The SDK is designed to be beginner-friendly while remaining powerful for experienced developers.
</Note>

## Community & Support

Join our growing community:

**Telegram Groups:**

* **[Starknet Ecosystem Founders](https://t.me/+J6u7yj3DrghiZDA1)** - For founder exposure and ecosystem connections
* **[Cairo Core Stars](https://t.me/sncorestars)** - For technical questions and Cairo development
* **[Starknet Ecosystem](https://t.me/+9xp-85igaUtlYTY8)** - For ecosystem-wide visibility and discussions

**Other Channels:**

* **Discord** - [Starknet Community](https://discord.gg/starknet-community) - Get real-time help and connect with other developers
* **Forum** - [Starknet Community Forum](https://community.starknet.io/) - Ask questions and share knowledge
* **GitHub** - Report issues, contribute, and explore the codebase
