Overview
Gasless execution allows:- Zero SOL requirement: Agents can operate with only token balances
- Protocol-gated eligibility: Only approved protocols support gasless
- Automatic fee sponsorship: Kora RPC covers transaction fees
- Transparent fallback: Same intent API, just add
gasless: true
Gasless transactions are routed through Kora RPC (
KORA_RPC_URL) instead of standard Solana RPC endpoints.Configuration
Environment Setup
Add Kora RPC endpoint to.env:
Restart Services
Protocol Eligibility
Check Protocol Support
Default Eligible Protocols
By default, most protocols are gasless-eligible:system-program(SOL transfers)spl-token(token transfers)jupiter(swaps)marinade(staking)escrow(escrow operations)
Restricting Gasless Access
Disable gasless for a specific protocol:Enabling Gasless for Intents
Via Intent Runner
Add"gasless": true to any intent:
Via CLI
Via SDK
Via API Gateway
How It Works
Gasless execution follows the same pipeline with RPC routing changes:1
Intent submission
User/agent submits intent with
gasless: true flag.2
Eligibility check
Transaction engine queries protocol risk config:
3
Transaction build
Protocol adapter builds the transaction (unchanged from normal flow).
4
Policy evaluation
Policy engine evaluates the intent (unchanged).
5
Signing
Wallet engine signs the transaction (unchanged).
6
Gasless submission
Transaction engine routes to Kora RPC:
7
Confirmation
Transaction engine confirms via standard Solana RPC.
Gasless Agent Configuration
Create agents that always use gasless execution:Limitations
Fee Sponsorship Caps
Kora RPC may impose limits:- Maximum transactions per wallet per hour
- Maximum fee amount per transaction
- Protocol-specific restrictions
Fallback Strategy
If gasless fails, retry without gasless flag:Not Available for All Operations
Gasless mode is not supported for:- Program deployments
- Account creations requiring rent deposits
- Operations requiring token account initialization
Monitoring Gasless Transactions
Transaction Metadata
Gasless transactions are marked in history:Audit Events
Metrics
Query gasless execution statistics:gasless_transaction_success_totalgasless_transaction_failure_totalgasless_protocol_usage_total
Testing Gasless Locally
Mock Kora RPC
For testing without a real Kora instance, use a mock server:Security Considerations
Rate Limiting
Add per-wallet gasless caps:Production Deployment
Environment Variables
Health Checks
Monitor Kora RPC availability:Next Steps
Multi-Agent Orchestration
Use gasless for agent-to-agent transfers
Strategy Backtesting
Test gasless strategies before deployment