XION
DiscordGithub
  • Welcome to XION
  • XION'S Core
    • Concepts
      • Generalized Chain Abstraction
      • Intro to Account Abstraction
      • XION's Meta Accounts
      • Meta Accounts Design
      • Architecture & Tech Glossary
      • Use Cases
  • developers
    • Xion Quick Start
      • Zero to Dapp in 5 Minutes
        • Launch a User Map Dapp on XION in 5 Minutes
        • React Native Mobile Dapp on XION in 5 Minutes
    • Mobile dapp Development on XION
      • Set up your XION Mobile Development Environment
      • Create Mobile Dapp and Integrate Meta Account Authentication
    • Getting Started (Advanced)
      • Set Up Local Environment
        • Setting up your Local Smart Contract Development Environment for XION
          • Setting up your XION Smart Contract Development Environment on Windows (WSL2 + Ubuntu)
        • Set Up an Integrated Development Environment (IDE)
        • Interacting with Xion Chain using Xion Daemon
      • Your First Contract
        • Deploying Your First Smart Contract on XION
      • Gasless UX & Permission Grants
        • Enabling Gasless Transactions with Treasury Contracts
      • Dapp Development
        • Account Abstraction with Gasless Transactions
        • Interact with XION via your Backend Service
    • Re-using Existing Contracts
      • Deployed Contracts on XION
      • Non-Fungible Tokens (NFTs)
      • Fungible Tokens
      • Marketplace
      • Multisig
      • Proxy Contracts
      • Membership Management
    • Web3 for Web2 Developers
      • Web2 vs Web3 App Architecture: A Comparison
      • Misconceptions and Misapplied Web2 Patterns
      • Recommended Architecture for Dapps on XION
    • Building for Mainnet
      • Xion Testnet: Your Development Playground
      • Building with Audited & Battle-Tested Contracts
      • Community Engagement: Building Support for Your dApp
      • Deploying to Xion Mainnet
        • Smart Contract Audits: Process, Costs & Support
        • Governance Process to Deploying Smart Contracts to Mainnet
    • Learn & Build
      • Token Factory
        • Creating, Minting, and Interacting with a Token Factory Token
        • Building a React dApp to Interact with Token Factory Tokens
        • Integrating a Token Factory Token in a Smart Contract
      • Websockets
        • WebSockets with Xion: Real-Time Communication
      • Mobile Development
        • Building a React Native Mobile App with Abstraxion (Xion.js)
      • Oracles
        • Creating a Smart Contract with Pyth Oracle Integration
      • Indexers: Optimized Data Retrieval
        • SubQuery
      • Use Cases
        • Building a Per-User Data Storage Dapp
    • Reference and Resources
      • Requesting XION Testnet Tokens
      • Public Endpoints & Resources
      • Block Explorers
      • Governance
        • Deploying Smart Contracts to Mainnet
      • Developer Tools: Abstract
      • IBC Denoms on XION Networks
      • Frequently Asked Questions
      • XION Token Contract Addresses on EVM Chains
  • Nodes & Validators
    • Run a Node
      • System Specifications
      • Build the Xion Daemon
      • Download the Xion Daemon
      • Configure the Xion Daemon
        • app.toml
        • client.toml
        • config.toml
      • Join the XION Network
        • xion-testnet-1
      • Confirm node is running
    • Become a Validator
      • Initial Setup
      • Obtain a XION Wallet Address
      • Obtain Funds
        • Testnet
      • Create Validator
    • IBC Relayers and Tokens
  • Others
    • Resources
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. developers
  2. Getting Started (Advanced)

Gasless UX & Permission Grants

PreviousDeploying Your First Smart Contract on XIONNextEnabling Gasless Transactions with Treasury Contracts

Last updated 12 days ago

Was this helpful?

Onboarding is one of the biggest barriers in Blockchain adoption. For many users, the need to manage seed phrases, install wallets, and acquire tokens just to interact with a dapp is a dealbreaker. At XION, we believe that streamlining this experience is critical to bringing the next wave of users into the ecosystem.

XION Meta Accounts are designed to solve this. Unlike traditional externally owned accounts (EOAs), Meta Accounts are smart contract accounts, which allow users can sign up and log in using familiar authenticators like email, social login, wallets, or passkeys. This removes the complexity of key management and lets users focus on what really matters: using your dapp.

To make this experience seamless, we’ve introduced the Treasury contract, which plays a crucial dual role:

  • Gasless Transactions – It manages Fee Grants, so users don’t need tokens to pay for gas. This enables fully gasless interactions from the very first click.

  • Smart Permissions – It simplifies dapp configuration by issuing Authorization Grants, which allow your frontend (via session keys) to execute pre-approved smart contract calls on behalf of the user’s Meta Account.

Together with our OAuth2-style authentication and Abstraxion library for generating secure, temporary session keys, these tools enable frictionless, secure, and user-friendly dapp experiences, without compromising on decentralization or control.

The following guides will help you understand how the Treasury contract works and how to set it up and configure it to power your dapp’s transaction flow:

Deploying your Treasury Contract for Delegated Authorization and Gasless Transactions.

Enabling Gasless Transactions with Treasury Contracts