# Overview

Welcome to XION! If you're coming from Web2 development, this page will help you understand what XION is and how it can transform your applications.

### What is XION?

XION is a blockchain platform designed specifically for building consumer applications. Unlike traditional blockchains that require users to manage wallets, seed phrases, and gas fees, XION provides a familiar Web2 experience while unlocking the power of Web3.

Think of XION as a complete backend infrastructure that gives you:

* **User authentication** (like Auth0 or Firebase)
* **Identity verification** (like Plaid or ID verification APIs)
* **Payment processing** (like Stripe or Square)
* **Serverless compute** (like AWS Lambda or Cloud Functions)

All running on a decentralized blockchain, giving you trustless execution, programmable money, and global accessibility.

### The Four Pillars of XION

XION is built on four core pillars that work together to create a complete platform for consumer applications:

| Pillar           | Web2 Analogy                 | What It Does                                                                                                                                       |
| ---------------- | ---------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Accounts**     | Auth0 / Firebase Auth        | Users sign up with email/Google/passkeys. No wallets, no seed phrases. You get a user identity that can own things and take actions.               |
| **Computation**  | AWS Lambda / Cloud Functions | Deploy backend logic (smart contracts) that runs trustlessly. Automate workflows, manage state, integrate with oracles and external data.          |
| **Verification** | Plaid / ID verification APIs | Prove real-world facts (social media stats, email ownership, financial data) without exposing raw data. Uses zero-knowledge proofs under the hood. |
| **Payments**     | Stripe / Square              | Accept credit cards, stablecoins, cross-chain payments. Users pay in dollars, you receive funds.                                                   |

#### Accounts: Web2-Style Authentication

**What it is:** XION Accounts (also called Meta Accounts) let your users sign up with email or Google — just like any normal app. Behind the scenes, each user gets a programmable account that can own assets, authorize transactions, and interact with smart contracts.

**Key benefits:**

* No wallets, no seed phrases, no gas fees for users
* Multiple authentication methods (email, Google, Apple, passkeys)
* OAuth2 integration for seamless "Sign in with XION"
* Gasless transactions through Treasury Contracts

**When to use:** Every XION app starts here. Accounts are the foundation for user identity and authorization.

#### Computation: Trustless Backend Logic

**What it is:** Smart contracts on XION run like serverless functions — they execute trustlessly, manage state, and can integrate with external data sources via oracles.

**Key benefits:**

* Deploy CosmWasm smart contracts
* Trustless execution (no need to trust a central server)
* Integrate with oracles (Pyth), indexers (SubQuery), and WebSockets
* Token Factory for creating custom tokens

**When to use:** Build automated workflows, manage on-chain state, create programmable money, or implement complex business logic that needs to run trustlessly.

#### Verification: Prove Without Exposing

**What it is:** Verification lets users prove real-world facts without sharing sensitive data. For example, a user can prove they have 10,000 Twitter followers without giving you their Twitter password.

**Key benefits:**

* Zero-knowledge proofs protect user privacy
* Verify social media stats, email ownership, financial data
* Integrations with Reclaim (zkTLS) and Opacity
* Coming soon: ZK Email and App Attestations

**When to use:** Build apps that require verified identity, social proof, or reputation systems. Perfect for rewards programs, gated content, or trust-based marketplaces.

#### Payments: Accept Money, Any Way Users Want to Pay

**What it is:** XION's payment layer handles all forms of payment — credit cards, stablecoins, cross-chain transfers. Users pay in their preferred method (often dollars via credit card), and you receive funds on-chain.

**Key benefits:**

* Credit card payments via Crossmint integration
* Stablecoin support (USDC, USDT)
* Cross-chain payments via IBC
* No need for users to buy crypto first

**When to use:** Any app that needs to accept payments, subscriptions, or process transactions. Works seamlessly with Accounts and Computation layers.

### How These Pieces Fit Together

The real power of XION comes from combining these pillars. Here are real-world examples of how they compose:

#### Example 1: EarnOS-Style Rewards App (All 4 Pillars)

This example shows how you can build a social rewards platform that uses every pillar:

```
1. ACCOUNTS     → User signs up with Google, gets a Meta Account
2. VERIFICATION → User proves their Twitter follower count via zkTLS
                   (without sharing their password)
3. COMPUTATION  → Smart contract calculates reward based on verified data
4. PAYMENTS     → Reward is paid out in USDC, user can off-ramp to their bank
```

**The flow:**

* User authenticates with Google (Accounts)
* User connects Twitter and proves follower count privately (Verification)
* Your smart contract reads the verified data and calculates rewards (Computation)
* Rewards are automatically sent to the user's account (Payments)

**Why this works:** Each pillar handles a specific concern, and they work together seamlessly. The user never touches a wallet or pays gas fees.

#### Example 2: Subscription Content Platform (Accounts + Payments + Computation)

Build a Netflix-style platform with on-chain access control:

```
1. ACCOUNTS    → User signs in with email
2. PAYMENTS    → User pays $9.99/month via credit card (Crossmint)
3. COMPUTATION → Smart contract manages access: checks subscription
                  status, gates content, handles renewals
```

**The flow:**

* User creates account with email (Accounts)
* User subscribes and pays monthly via credit card (Payments)
* Smart contract stores subscription status and gates content access (Computation)

**Why this works:** The smart contract acts as your subscription management system, running trustlessly without a central server. Users pay with credit cards, and you get on-chain payments.

#### Example 3: Adding XION to an Existing Web App (Accounts + Payments)

You don't need to rebuild everything. Add XION features incrementally:

```
1. ACCOUNTS → Add "Connect with XION" alongside existing auth
              (via OAuth2 — works like "Connect with Google")
2. PAYMENTS → Enable crypto payments alongside Stripe,
              users pay with credit card via Crossmint
```

**The flow:**

* Keep your existing authentication, add XION as a ew connectable service(Accounts)
* Keep Stripe, add Crossmint for crypto payments (Payments)

**Why this works:** XION integrates with your existing stack. You can adopt it gradually, starting with payments or authentication, then adding more features over time.

#### Example 4: Verified Creator Marketplace (Accounts + Verification + Payments + Computation)

Build a marketplace where creators prove their credentials:

```
1. ACCOUNTS     → Creators sign up with social login
2. VERIFICATION → Creators prove YouTube subscriber count, email ownership
3. COMPUTATION  → Smart contract manages listings, escrow, and payouts
4. PAYMENTS     → Buyers pay creators via credit card or stablecoins
```

**The flow:**

* Creators authenticate and verify their credentials (Accounts + Verification)
* Smart contract manages marketplace logic and escrow (Computation)
* Payments flow through the contract to creators (Payments)

**Why this works:** Verification builds trust, Computation ensures fair transactions, Payments make it easy for buyers, and Accounts make it seamless for everyone.

### Getting Started

Now that you understand the big picture, here's how to start building:

1. **Start with Accounts**: Set up user authentication using Meta Accounts
   * [Meta Accounts Overview](https://docs.burnt.com/xion/developers/accounts/getting-started)
   * [Web App Getting Started](https://docs.burnt.com/xion/developers/accounts/web-app)
   * [OAuth2 App Getting Started](https://docs.burnt.com/xion/developers/accounts/oauth2-app)
   * [Mobile App Getting Started](https://docs.burnt.com/xion/developers/accounts/mobile-app)
2. **Smart Contracts**: Build your backend logic
   * [Computation Layer Overview](https://docs.burnt.com/xion/developers/computation)
   * [Quick Start Guide](https://docs.burnt.com/xion/developers/computation/xion-quick-start/zero-to-dapp-in-5-minutes)
   * [Local Development Guide](https://docs.burnt.com/xion/developers/computation/local-development)
   * [Re-using Existing Contracts](https://docs.burnt.com/xion/developers/computation/re-using-existing-contracts)
   * [Integrations](https://docs.burnt.com/xion/developers/computation/integrations)
3. **Add Verification**: Verify user credentials
   * [Verification Layer Overview](https://docs.burnt.com/xion/developers/verification)
   * [Internet Verification(zkTLS)](https://docs.burnt.com/xion/developers/verification/internet-verification)
4. **Add Payments**: Enable credit card and crypto payments
   * [Credit / Debit Card Integration](https://docs.burnt.com/xion/developers/payments/credit-debit-cards)

### AI Agents and CLI Tools

If you prefer terminal workflows or AI-assisted development, start here:

* [AI Agent Quick Start](https://docs.burnt.com/xion/xions-core/ai-agents)
* [Xion Agent Toolkit Tutorial](https://docs.burnt.com/xion/developers/tools/xion-toolkit)
* [xiond CLI Guide](https://docs.burnt.com/xion/developers/tools/xiond-cli)

### Key Concepts for Web2 Developers

If you're coming from Web2, here are some concepts that map to what you already know:

| XION Term             | Web2 Equivalent                   | What It Means                                                        |
| --------------------- | --------------------------------- | -------------------------------------------------------------------- |
| **Meta Account**      | User Account                      | A user identity that can own assets and authorize actions            |
| **Treasury Contract** | App Permissions & Billing Config  | Manages what your app can do on behalf of users and who pays for gas |
| **Fee Grant**         | Computing Points                  | Your app pays transaction fees so users don't have to                |
| **Authz Grant**       | Delegated Permissions             | Users grant your app permission to perform specific actions          |
| **Smart Contract**    | Backend API / Serverless Function | Trustless code that runs on the blockchain                           |
| **Abstraxion**        | XION's Auth & Transaction SDK     | The JavaScript SDK for integrating XION into your app                |

### Why Build on XION?

XION is designed for developers who want to build consumer applications, not just DeFi protocols. Here's what makes it different:

* **Familiar UX**: Your users don't need to know they're using blockchain technology
* **No Gas Fees for Users**: You can sponsor transactions or use fee grants
* **Multiple Payment Methods**: Accept credit cards, stablecoins, or cross-chain assets
* **Privacy-Preserving Verification**: Verify user credentials without exposing sensitive data
* **Composable Architecture**: Mix and match pillars to build exactly what you need
* **Production Ready**: Battle-tested infrastructure with OAuth2, Treasury Contracts, and more

### Next Steps

* Explore the [Accounts](https://docs.burnt.com/xion/developers/accounts) section for platform-specific guides
* Check out [Computation](https://docs.burnt.com/xion/developers/computation) to learn about smart contracts
* Review [Verification](https://docs.burnt.com/xion/developers/verification) for identity verification options
* See [Payments](https://docs.burnt.com/xion/developers/payments) for payment integration guides

Ready to build? Start with [Meta Accounts](https://docs.burnt.com/xion/developers/accounts/getting-started) and add more features as you go!
