> ## Documentation Index
> Fetch the complete documentation index at: https://starkware-9575960b-eitan-accounts-update-0-14-1.mintlify.site/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-eitan-accounts-update-0-14-1/l_oF5B_kl-ubyqT_/assets/starkzap/starkzap-overview.png?fit=max&auto=format&n=l_oF5B_kl-ubyqT_&q=85&s=4d13953995b1f27ece4b099c5850617d" 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, send tokens, enable staking, 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 icon="rocket" href="/build/starkzap/quick-start" title="Quick Start">
    Complete SDK with web, mobile, and server support, production-ready codebase, and minimal configuration
  </Card>

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

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

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

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

  <Card icon="gift" href="/build/starkzap/paymasters" title="Seamless UX">
    Built-in support for gasless transactions, 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 Controller** - Perfect for games: users sign in with Google/Twitter or Face ID/Touch ID, and Cartridge automatically pays all transaction fees so users never see gas costs
* **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** (incoming) - Let users exchange one token for another (like currency exchange)
* **Borrowing** (incoming) - Enable users to borrow and lend tokens (like a lending platform)
* **Cross-chain Bridge** (incoming) - Enable users to move assets between different blockchains

## Who Is This For?

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

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

  <Card icon="rocket" title="Entrepreneurs & Startups">
    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
    ├── 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
* [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** - [Starkzap Repo](https://github.com/keep-starknet-strange/starkzap) - Report issues, contribute, and explore the codebase
