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

# Introduction

> Eliminate gas friction on Stellar and Soroban.

Grat is an open-source gas abstraction relay and SDK for Stellar. Developers send signed transactions to Grat, it wraps them in fee-bump envelopes (CAP-0015), pays the fee from a managed pool of channel accounts, and submits them to the network. Users never touch XLM.

[Try the Live Demo](https://grat-usdc-transfer-web.vercel.app/)

### Protocol 26 (Yardstick) Compatibility

<Note>
  Grat is fully compatible with Stellar Protocol 26 (Yardstick).
</Note>

Protocol 26 introduces critical updates to the Stellar network, including refined resource metering and updated fee structures for Soroban smart contracts. Grat is built to handle these protocol-level changes automatically. By using Grat, developers benefit from optimized resource pricing and stable fee handling without needing to manually adjust their application logic for every network upgrade.

<CardGroup cols={2}>
  <Card title="Zero-XLM UX" icon="gas-pump-slash">
    Users transact without holding or managing XLM.
  </Card>

  <Card title="Stellar-Native" icon="bolt">
    Built on CAP-0015 fee-bump transactions, not adapted from another chain.
  </Card>

  <Card title="Protocol 26 Ready" icon="shield-check">
    Compatible with Stellar latest protocol upgrade.
  </Card>

  <Card title="Self-Hostable" icon="server">
    Run your own relay with Docker or one-click Cloud deployment.
  </Card>
</CardGroup>

### How it works

<Steps>
  <Step title="Build and Sign">
    Your app builds and signs a standard Stellar transaction.
  </Step>

  <Step title="Send to Grat">
    Your app sends it to Grat via the SDK or REST API.
  </Step>

  <Step title="Sponsor and Submit">
    Grat wraps it in a fee-bump envelope, pays the fee, and submits it to Stellar.
  </Step>
</Steps>

### What is available today

Grat has completed its Phase 1 milestone. All core gas-abstraction features are verified and stable on Testnet.

* **Relay Server**: High-performance transaction wrapper and submitter.
* **TypeScript SDK**: Type-safe client for Node and Web applications.
* **REST API**: Standard endpoints for integration with any programming language.
* **Soroban Support**: Full sponsorship for smart contract resource fees.
* **One-Click Deploy**: Production-ready deployment to Render or Docker.

<Info>
  Mainnet support, API key management, and a developer credits dashboard are coming soon.
</Info>

### Quick Links

<CardGroup cols={2}>
  <Card title="Live Demo" icon="browser" href="https://grat-usdc-transfer-web.vercel.app/">
    Try the zero-gas USDC transfer experience.
  </Card>

  <Card title="Quickstart" icon="rocket" href="/quickstart">
    Get started in under 10 minutes.
  </Card>

  <Card title="TypeScript SDK" icon="code" href="/sdks/typescript">
    Official client reference.
  </Card>

  <Card title="REST API" icon="globe" href="/sdks/rest-api">
    Direct API integration guide.
  </Card>

  <Card title="Self-Hosting" icon="docker" href="/guides/self-hosting">
    Deploy your own instance.
  </Card>
</CardGroup>

Grat is licensed under Apache 2.0 and available on [GitHub](https://github.com/gratnetwork/grat).
