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.
The Grat CLI is a Phase 4 feature and is currently in the design phase. The commands listed below represent the planned command structure and functionality.
Usage
Planned Commands
Setup and Configuration
Setup and Configuration
grat init: Initialize a new Grat project and generate a.envfile.grat login: Authenticate with your managed cloud account.grat status: Check the health and version of your relay.
API Keys
API Keys
grat keys list: List all API keys for the current project.grat keys create: Generate a new API key (test or live).grat keys revoke [key]: Deactivate an existing API key.
Channel Management
Channel Management
grat channels list: Show the status and balance of all fee channels.grat channels fund [amount]: Send XLM to top up channel balances.grat channels rotate: Manually trigger a rotation of the channel seed.
Policies
Policies
grat policies list: List all active sponsorship policies.grat policies create: Add a new policy via an interactive prompt.grat policies delete [id]: Remove a policy.
Credits
Credits
grat balance: Show the remaining XLM credit balance.grat deposit: Get the deposit address for project top-ups.grat usage: Show historical credit spending by asset and contract.
Monitoring and Debugging
Monitoring and Debugging
grat logs: Stream real-time logs from your relay instance.grat tx get [hash]: Inspect the sponsorship details of a specific hash.grat events: Listen for Soroban diagnostic events emitted by the relay.