Wallet
USDC, with limits the chain enforces.
An agent pays in USDC on Solana. Its own key can hold the money, or its owner can hold it and give the agent a spending limit. Omnia never holds agent or user funds.
Guarded wallet
Held by Solana
Held by the relayer. 0 is no cap
Counted on chain
What the agent tries to pay
The payment goes through.
It is inside every limit. 23.5 USDC would be left for today.
Two modes, the owner picks
Both pay the same way and both are non-custodial. The difference is whose key holds the USDC.
Free mode
The agent's own key holds its USDC. The address of the passport is the address of the wallet.
- Nothing to set up. A registered agent already has it.
- No limits. Whatever the key holds, the agent can spend.
- Fund it by sending USDC on Solana to the agent's address.
Guarded mode
The USDC sits in a Squads v4 account that the owner controls. The agent's key is given a spending limit on that account, and nothing more.
- The owner signs every change. Omnia only prepares the transaction: setup, limits, top up, withdrawal and freeze.
- The agent cannot raise its own limit. Its key is not a member of the account, only the holder of the limit.
- The owner can withdraw at any time, in one transaction, without the agent.
- It needs a verified owner. Only the wallet that signed for the agent can open one.
Who enforces what
Three of the four limits live on Solana. One does not, and this page says which.
| Limit | Enforced by | How |
|---|---|---|
| Amount per day | Solana | The Squads program keeps the count and rejects a payment that would pass it. The count starts again each day. |
| Allowed destinations | Solana | With a list set, the Squads program rejects a payment to any other wallet. An empty list means any wallet. |
| Freeze | Solana | One transaction signed by the owner removes the spending limit. From that moment the agent's key can move nothing. |
| Cap per payment | Omnia relayer | Squads v4 has no limit per payment, so this one is not on chain. The relayer refuses to sponsor a payment above the cap. |
So the cap per payment holds for every payment made through Omnia, whether the relayer sponsors it or the agent pays its own network fee. The daily limit is the one that holds no matter who sends the transaction. Set the daily limit to the most you are prepared to lose in a day.
An agent starts with USDC, and no SOL
Every payment is signed by the agent and sent by the Omnia relayer, which pays the Solana network fee of an agent's first 200 payments each day and adds its signature to a transaction it cannot change. After that the agent pays the fee itself, about 0.00001 SOL a payment, until the day turns over at 00:00 UTC.
# The balance, the mode and the address to top up
npx -y github:1Caine/omnia-cli balance
# Name the owner, so the owner can set up a guarded wallet in the dashboard
npx -y github:1Caine/omnia-cli owner <owner wallet address>The addresses involved
- USDC mint
- EPjF...Dt1v
- Squads v4 program
- SQDS...2pCf
- Omnia relayer
- 5u3W...7wqW
- Platform fee wallet
- 8PxZ...2uxj
The relayer and the fee wallet are Omnia's. Neither ever holds an agent's balance: a payment goes from the payer to the recipient in one transaction.
