Skip to main content

Documentation Index

Fetch the complete documentation index at: https://grat.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

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

Protocol 26 (Yardstick) Compatibility

Grat is fully compatible with Stellar Protocol 26 (Yardstick).
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.

Zero-XLM UX

Users transact without holding or managing XLM.

Stellar-Native

Built on CAP-0015 fee-bump transactions, not adapted from another chain.

Protocol 26 Ready

Compatible with Stellar latest protocol upgrade.

Self-Hostable

Run your own relay with Docker or one-click Cloud deployment.

How it works

1

Build and Sign

Your app builds and signs a standard Stellar transaction.
2

Send to Grat

Your app sends it to Grat via the SDK or REST API.
3

Sponsor and Submit

Grat wraps it in a fee-bump envelope, pays the fee, and submits it to Stellar.

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.
Mainnet support, API key management, and a developer credits dashboard are coming soon.

Live Demo

Try the zero-gas USDC transfer experience.

Quickstart

Get started in under 10 minutes.

TypeScript SDK

Official client reference.

REST API

Direct API integration guide.

Self-Hosting

Deploy your own instance.
Grat is licensed under Apache 2.0 and available on GitHub.