# Introduction

MakaPay is a cross-chain payment infrastructure that enables merchants to accept cryptocurrency payments on multiple blockchains while managing gas fees from a single balance.

## Table of Contents

* [Getting Started](https://docs.makapay.io/getting-started/getting-started) - Quick setup guide
* [Merchant Guide](https://docs.makapay.io/guides/merchant-guide) - Complete merchant documentation
* [Gas Tank](https://docs.makapay.io/guides/gas-tank) - Unified gas management system
* [Fee Structure](https://docs.makapay.io/guides/fee-structure) - Understanding fees and pricing
* [API Reference](https://docs.makapay.io/developers/api-reference) - Developer API documentation
* [Technical Architecture](https://docs.makapay.io/developers/technical-architecture) - Smart contracts & cross-chain recovery

***

## Why MakaPay?

### The Problem

Accepting crypto payments across multiple blockchains is expensive and complex:

* **Gas Management Nightmare**: Each blockchain requires its own native token for gas (ETH, MATIC, BNB)
* **Idle Capital**: Merchants must maintain gas balances on every chain they support
* **Cost**: Managing gas across 4+ chains can cost \~$95/month in idle capital and gas fees
* **Complexity**: Different wallets, different tokens, different processes per chain

### The Solution

MakaPay introduces a **unified gas management system**:

* **Single Gas Balance**: Deposit USDT once to your Gas Tank on MakaChain
* **Multi-Chain Acceptance**: Accept payments on Ethereum, Polygon, BSC, and more
* **Reduced Costs**: Cut gas management costs to \~$30/month
* **Zero Complexity**: No need to manage native tokens on payment chains

***

## How It Works

```
┌─────────────────────────────────────────┐
│        MakaChain (Gas Hub)              │
│   Your Gas Tank Balance (USDT)          │
└─────────────────────────────────────────┘
              ↓           ↓           ↓
    ┌─────────────┐ ┌─────────────┐ ┌─────────────┐
    │  Ethereum   │ │   Polygon   │ │     BSC     │
    │  Payments   │ │  Payments   │ │  Payments   │
    └─────────────┘ └─────────────┘ └─────────────┘
```

1. **Merchant creates a payment link** specifying amount, token, and network
2. **Customer pays** to a deterministic smart contract address
3. **MakaPay settles** the payment, deducting gas from your Gas Tank
4. **Merchant receives** the full payment amount

***

## Supported Networks

### Mainnet

| Network         | Chain ID | Tokens               |
| --------------- | -------- | -------------------- |
| Ethereum        | 1        | USDT, USDC           |
| Polygon         | 137      | USDT, USDC           |
| BNB Smart Chain | 56       | USDT, USDC, XRP, TRX |
| MakaChain       | 777178   | USDT                 |

### Testnet

| Network           | Chain ID | Tokens     |
| ----------------- | -------- | ---------- |
| Sepolia           | 11155111 | USDT, USDC |
| MakaChain Testnet | 777177   | USDT, USDC |

***

## Quick Links

* **Dashboard**: <https://app.makapay.io/dashboard>
* **API Base URL**: `https://app.makapay.io/api`
* **MakaChain Explorer**: <https://makascan.io>

***

## Support

For technical support or questions, contact us through the dashboard or open an issue in this repository.
