Gas and hot wallets
Gas on each chain is paid either by the payer or by the system. With gas sponsorship, the payer only signs and the system’s hot wallet submits the transaction and pays its gas. This page covers Collection → Gas & hot wallet.
The page lists every chain, including chains that are not enabled yet, so they can be set up in advance. Changing gas settings requires the admin role and step-up verification.

Gas modes
Section titled “Gas modes”EVM chains
Section titled “EVM chains”In the Gas mode per chain table, each EVM chain uses one of three modes:
| Mode | Behaviour |
|---|---|
| Payer | The payer pays gas; the payer’s wallet sends the transaction |
| Sponsored | The system pays: the payer only signs and the hot wallet submits. The checkout offers only methods that can be sponsored |
| Sponsored first | Sponsored where possible; when the current method cannot be sponsored, the payer pays gas. This is the recommended sponsorship setting |
Select Edit on a chain’s row to set:
| Setting | Description |
|---|---|
| Gas mode | Payer, Sponsored or Sponsored first |
| Daily budget | The cap on a day’s sponsorship spending on the chain, in its native coin |
| When spent | Payer pays gas or Stop sponsoring |
| Max gas price (gwei) | Above this price the hot wallet sends no transactions |
| Sponsor switches | Whether payment-method switches of subscriptions are sponsored. Off by default; see below |
TRON chains
Section titled “TRON chains”TRON fees are counted in energy and bandwidth, which come from an account’s staked TRX. On TRON chains the payer pays by default. Select Edit on the chain’s card to turn on Sponsor energy (delegation):
- When on, one-time payments are sponsored first: for a valid quote the system temporarily delegates energy to the payer, who then sends the transaction. When the budget or the stake is exhausted, the payer pays.
- Energy delegation covers one-time payments only. Payers always pay for subscription sign-up themselves; each later charge is sent, and paid for, by the hot wallet. When sponsorship is on, the card’s Scope row says so.
- Energy per payment is the most energy delegated for one payment.
- Reclaim after (minutes): delegated energy is taken back when the payer does not send the transaction in time.
- The daily budget is in TRX.
The card also shows the hot wallet’s balance, energy, bandwidth, staked amount and today’s sponsorship spending on the chain.
Solana chains
Section titled “Solana chains”Select Edit on the Solana chain’s card to turn on Sponsor fees (fee payer):
- When on, the chain is sponsored first: the hot wallet is the transaction’s fee payer and covers the base fee, priority fee and rent. The payer signs in the wallet; the server co-signs and broadcasts. When the budget is exhausted, the payer pays.
- When the payer’s wallet cannot sign a transaction without sending it (
solana:signTransaction), the payer pays for that payment. When the wallet fails to give the sponsored signature (other than the payer cancelling in the wallet), or alters the transaction so that it fails the server’s check, and the payer holds enough SOL for the fee and rent, the checkout gets a new quote in which the payer signs and sends the transaction. This applies to one-time payments, subscription sign-ups and payment-method changes in “My subscriptions”. - When off, the payer pays.
- The daily budget is in SOL.
- Priority fee is added to every transaction the server sends; 0 adds none.
Which payment methods can be sponsored
Section titled “Which payment methods can be sponsored”Sponsorship covers signature-based payment paths: the payer signs an authorization and the hot wallet submits it together with the payment.
| Case | Sponsorable |
|---|---|
| The token supports EIP-3009 | Yes |
| The token supports EIP-2612 permit or DAI permit | Yes, when the payer is a plain account |
| The payer has already approved Permit2 | Yes, smart contract accounts included |
| Subscription sign-up | Yes: with an EIP-2612 permit, with Permit2, or by signing only the subscription terms when an existing allowance already covers the allowance cap. On TRON, subscription sign-up is not sponsored; the payer pays |
| Native coin payment | No: the funds have to travel with the transaction |
| The token has no permit and the payer has not approved Permit2 | No: the payer must send an approve transaction first |
| Changing a subscription’s payment method | Only where Sponsor switches is on for the chain |
At the checkout:
- Networks that can be sponsored carry the Gas-free label.
- A network in Sponsored mode does not list the native coin or tokens payable only through approve.
- In Sponsored first mode, payer-paid methods come after sponsored ones. When the payer has to pay, the checkout says that the payment needs a small amount of gas from the wallet.

The authorization methods are described in Networks and tokens.
Sponsor switches
Section titled “Sponsor switches”When a payer changes a subscription’s payment method in “My subscriptions” (another wallet, token or network), the payer sends the transaction by default. With Sponsor switches on for a chain, a switch to that chain is submitted by the system in the same way as a sponsored sign-up, and counts toward that chain’s daily budget.
- The setting is per chain and off by default, so it can be turned on only where gas is cheap.
- When the budget is spent or the hot wallet is unavailable, the payer pays instead. The switch is never refused, so that a subscription in progress can keep charging.

The hot wallet
Section titled “The hot wallet”The hot wallet is a wallet the system holds on the server. It is used only to pay gas, and its private key is different from the quote signer key. It sends:
| Purpose | Description |
|---|---|
| Sponsored transactions | Payments and subscription sign-ups the payer has signed |
| Subscription charges | The charge the keeper sends each period |
| On-chain subscription cancellations | Cancelling on chain the subscriptions that were cancelled in the system |
| Supporting operations on Solana | Creating the merchant account, keeping the address lookup table, reclaiming rent |
Keep only a small balance of native coins in the hot wallet. Payments are split to payee addresses by the merchant contracts and never pass through it.
Setting up the hot wallet
Section titled “Setting up the hot wallet”The hot wallet’s key stays on the server and never passes through the console. Until one is configured, the page shows the Set up the hot wallet steps:
-
On the server, create an encrypted keystore file and set its password when prompted:
Terminal window cast wallet new /etc/flowpay hot-wallet.json -
Point
config.tomlat it and provide the password in an environment variable:[relayer]keystore = "/etc/flowpay/hot-wallet.json"password_env = "FLOWPAY_RELAYER_PASSWORD" -
Restart the service. The page then shows the hot wallet’s address. Fund it with a little of each chain’s native coin, then turn on sponsorship per chain.
The hot wallet per chain family:
| Chain family | Hot wallet |
|---|---|
| EVM | The address of the keystore above; the same on every EVM chain |
| TRON | The same key. Energy and bandwidth come from the TRX the hot wallet has staked |
| Solana | A separate Solana key file (solana_keystore under [relayer]), in addition to the EVM hot wallet above. It must differ from the ed25519 quote signer key |
For the full configuration, see Deployment.
Sponsorship budgets and abuse protection
Section titled “Sponsorship budgets and abuse protection”The system limits sponsorship so that the hot wallet’s gas cannot be abused:
- Only currently valid quotes are sponsored, with at most 3 submissions per order or subscription.
- Each transaction is simulated before submission; one that fails simulation is not sent.
- The payer address is screened again before submission. On a hit the hot wallet spends no gas; see Risk screening.
- Each chain has a gas price cap and a daily budget. The budget counts what has been spent plus the worst-case cost of transactions in flight.
- A transaction that stays unconfirmed for too long is replaced at a higher fee, and is booked only once.
The Gas mode per chain table shows what each chain has sponsored today.
When the budget is spent
Section titled “When the budget is spent”| Setting | Behaviour |
|---|---|
| Payer pays gas (default) | The payer pays instead, and the checkout says that the payment needs a small amount of gas from the wallet |
| Stop sponsoring | Methods that need sponsorship are no longer offered |
An alert is raised in both cases.
Transactions outside the budget
Section titled “Transactions outside the budget”The keeper’s subscription charges and on-chain cancellations are the system’s own transactions. They are sent on chains in any gas mode, are not limited by the daily budget and do not count as sponsorship spending; the gas price cap and the hot wallet balance still apply. Gas spent on hot wallet withdrawals and on reclaiming Solana rent is likewise outside the sponsorship budget.
Low-balance alerts
Section titled “Low-balance alerts”When the hot wallet balance falls below its minimum, sponsorship on that chain pauses and an alert is raised:
- The alert appears on the overview page and in the Alert center, and is sent to the configured notification channels according to the alert routes.
- The business system receives the
system.relayer_low_balancewebhook. - A further notice is sent when the balance recovers.
The minimum is set in the server configuration under [relayer] (min_balance_wei; solana_min_balance_lamports for Solana).
When the keeper cannot send subscription charges because of an insufficient balance, a node failure or a gas price above the cap, a separate alert is raised; it clears when a transaction next goes out. For notification channels, see Admins and passkeys.
Withdrawals
Section titled “Withdrawals”Native coins in the hot wallet can be withdrawn to the primary payee’s verified address on the same chain. No other destination can be chosen.
- On the Hot wallet card, select Withdraw for a chain.
- Check the address shown under To (primary payee).
- Enter an amount, or leave it empty to withdraw everything available (the system keeps back what pending sponsored transactions may still cost).
- Select Withdraw and complete step-up verification with a security key. The verification is bound to this chain, destination and amount.

- If the primary payee has no address for the chain, nothing can be withdrawn until one is set; see Payees and split rules.
- With dual approval on, another admin must approve the withdrawal; on approval the system checks that the destination has not changed.
- Withdrawals are written to the audit log and notify other admins. Recent withdrawals lists the latest ones.
Solana rent
Section titled “Solana rent”Accounts on Solana hold a rent deposit. Payments through FlowPayra Lite create these accounts on Solana:
| Account | Created |
|---|---|
| The order’s paid record | With each order payment; it prevents the same quote from being paid twice |
| The subscription account | At subscription sign-up |
| The merchant account | Once per merchant; see Chains, tokens and merchant contracts |
Who pays
Section titled “Who pays”| Case | Rent is paid by |
|---|---|
| Payer pays | The payer, as the transaction’s fee payer, pays the fee and the rent |
| Sponsored | The hot wallet, as fee payer, pays the base fee, priority fee and rent |
| Merchant account | The wallet that sends the creation: the hot wallet, or the wallet an admin connects in the console |
The sponsorship budget is counted in SOL and includes the rent of newly created accounts.
Reclaiming rent
Section titled “Reclaiming rent”Rent that the hot wallet funded is reclaimed automatically by the keeper:
- Every hour, on each Solana chain, the keeper looks for accounts that the hot wallet funded and that can now be closed, closes them, and the rent returns to the hot wallet.
- An order’s paid record can be closed once the deadline of its quote has passed.
- A subscription account can be closed once the subscription is cancelled or completed and the deadline of its terms has passed.
- Only the party that funded an account can close it, and the rent returns only to that party.
- Reclaim transactions are the system’s own spending and do not count toward the sponsorship budget.