Gas Fees Explained
reply.cash uses the Kora relayer to enable gasless transactions, allowing you to pay SOL gas fees using USDC from your wallet balance. You no longer need SOL in your wallet to use reply.cash.
How Gas Fees Work with Kora Relayerβ
No SOL Requiredβ
You only need USDC:
- β Top up only USDC - No need to acquire or manage SOL
- β Automatic gas payment - Gas fees are paid from your USDC balance
- β Privacy preserved - Use privacy services like PrivacyCash without compromising anonymity
- β Seamless experience - Just ensure you have sufficient USDC balance
How the Relayer Worksβ
reply.cash uses Kora, Solana's signing infrastructure, to handle gas fees:
- You initiate a transaction - Send USDC to mobile money or banks
- Relayer calculates gas cost - Determines the SOL transaction fee needed
- 10% margin applied - Relayer charges a 10% margin on the SOL transaction fee
- USDC deducted - Equivalent amount in USDC (including margin) is deducted from your balance
- Transaction processed - Relayer pays SOL gas fees and processes your transaction
Example:
- SOL gas fee:
0.000005 SOL ($0.001 USD) - 10% margin: ~$0.0001 USD
- Total USDC deducted: ~$0.0011 USD from your USDC balance
- No SOL needed in your wallet
Gas Fee Pricingβ
Current Pricing Structureβ
Relayer Fee:
- Base cost: Actual SOL transaction fee (typically < $0.01)
- Margin: 10% of the SOL transaction fee
- Total cost: Base SOL fee + 10% margin
Example Costs:
| Transaction Type | SOL Gas Fee | 10% Margin | Total USDC Cost |
|---|---|---|---|
| Simple USDC transfer | ~$0.001 | ~$0.0001 | ~$0.0011 |
| Cross-chain transfer | ~$0.002 | ~$0.0002 | ~$0.0022 |
| Local payment rails | ~$0.001 | ~$0.0001 | ~$0.0011 |
π‘ Tip: Gas fees are extremely low on Solana. Even with the 10% margin, total costs remain under $0.01 per transaction.
Factors Affecting Gas Costsβ
- Network congestion (usually minimal on Solana)
- Transaction complexity (more operations = slightly higher fees)
- Current SOL price (affects USD equivalent)
Privacy Benefitsβ
Why This Matters for Privacyβ
Traditional Problem:
- To use Solana, you typically need SOL in your wallet
- Getting SOL often requires sending it from another address
- This can link your addresses and compromise privacy
With Kora Relayer:
- β Top up only USDC - Use privacy services like PrivacyCash
- β No SOL transfers needed - Never need to send SOL from another address
- β Privacy preserved - Your transaction history remains private
- β Anonymity maintained - No address linking through SOL transfers
Use Cases:
- Top up with privacy-focused services (PrivacyCash, etc.)
- Maintain transaction privacy
- Avoid address linking
- Use reply.cash without compromising anonymity
Supported Tokensβ
Current Supportβ
Currently Supported:
- β USDC - Primary token for gas payment
Future Supportβ
Coming Soon:
- π USDT - Pay gas with USDT if you have USDT in your wallet
- π Any token - Relayer will automatically use whatever token you have available
- π Multi-token support - Use the best available token for gas payment
π Learn more: Kora Relayer Documentation - Solana's signing infrastructure
How It Worksβ
Step-by-Step Processβ
-
You have USDC balance
- Top up your wallet with USDC only
- No SOL required
-
Initiate transaction
- Send USDC to mobile money or banks
- Or perform any reply.cash transaction
-
Relayer handles gas
- Kora relayer calculates required SOL gas fee
- Applies 10% margin
- Deducts equivalent USDC from your balance
-
Transaction completes
- Your USDC is sent to recipient
- Gas fees paid automatically
- No manual intervention needed
Who Pays Gas?β
Current System:
- Senders pay gas fees (deducted from USDC balance via relayer)
- Recipients do not pay gas fees when receiving payments through local rails
- For cross-chain transfers, gas is paid by the sender
No SOL Required:
- You never need SOL in your wallet
- All gas fees are paid from your USDC balance
- Relayer handles all SOL transactions
Cost Comparisonβ
Traditional Method (Without Relayer)β
What you needed:
- USDC for the transfer
- SOL for gas fees (separate acquisition)
- Multiple steps to get SOL
- Potential privacy compromise
Costs:
- SOL gas fee: ~$0.001
- Time/effort to acquire SOL
- Privacy risk from SOL transfers
With Kora Relayerβ
What you need:
- USDC only (for transfer + gas)
Costs:
- SOL gas fee: ~$0.001
- 10% margin: ~$0.0001
- Total: ~$0.0011 USD
- No SOL acquisition needed
- Privacy preserved
π‘ Benefit: The small 10% margin is worth it for the convenience and privacy benefits.
Technical Detailsβ
About Koraβ
Kora is Solana's signing infrastructure that enables:
- Gasless transactions - Pay fees in any token (USDC, USDT, etc.)
- Trusted signing - Secure transaction processing
- Production ready - Audited and secure
- Flexible deployment - Used by reply.cash for reliable gas handling
Key Features:
- β Secure validation and rate limiting
- β Full Token-2022 support
- β Redis caching for performance
- β HMAC and API key authentication
- β Prometheus metrics and monitoring
Source: Kora GitHub Repository
Relayer Architectureβ
- Language: Rust (Kora) with TypeScript SDK
- Protocol: JSON-RPC 2.0
- Signers: Secure key management
- Authentication: Secure API authentication
- Deployment: Production-ready infrastructure
Troubleshootingβ
"Insufficient funds for transaction" Errorβ
Solutions:
- β Check that you have sufficient USDC balance (amount + gas fees)
- β Ensure your USDC balance covers both the transfer amount and gas fees
- β Gas fees are typically < $0.01, so ensure you have a small buffer
- β Example: For a $100 transfer, ensure you have at least $100.01 USDC
Transaction Stuck or Pendingβ
Solutions:
- β Verify you have sufficient USDC balance
- β Check Solana network status
- β The relayer handles all SOL transactions automatically
- β Contact support if transaction remains pending
Understanding Gas Costsβ
Why the 10% margin?
- Covers relayer infrastructure costs
- Ensures reliable transaction processing
- Maintains service availability
- Still extremely low cost (< $0.01 per transaction)
Is it worth it?
- β Yes - Convenience of not needing SOL
- β Yes - Privacy benefits
- β Yes - Seamless user experience