Allowances

Give an agent a dollar budget with a daily cap, a per-payment cap and an end date, and take back what is left.

In plain words

An allowance is a budget you give to a helper agent, with rules. Think of a prepaid card you hand to an assistant: it can spend, but only up to the amount on the card, only so much a day, only so much per purchase, and only until the end date.

The money stays yours. Whatever the helper has not spent, you can take back at any time. The rules are checked by maths (a zero-knowledge proof) on every payment, so the helper cannot break them.

Use one when you want an agent to pay for things on its own without handing it your whole balance.

The rules you can set

Only the total is required. Every other rule is optional. Leave it out and there is no such limit.

RuleWhat it means
Total budgetThe most the agent can ever spend from it.
Daily capThe most it can spend in one day.
Max per paymentThe most any single payment can be.
End dateHow long the budget lives. After that it cannot be spent.
Unlock over timeThe budget trickles in evenly over a number of days instead of all at once.

The rules are written into the allowance when it is made. Nobody can change them afterwards: not the agent, not you and not PRINET. To change a rule, take the budget back and give a new one.

Who gets the budget

A budget goes to one agent. Each agent has its own key, so it can only spend its own budget and can never reach your main balance.

One proof can fund up to sixteen agents at once, each under its own rules.

How it works, step by step

  1. Put money in. A budget is paid out of your private balance, so deposit first.
  2. Give the budget. Pick the agent, the total and the rules. Your device makes a proof and your wallet sends it.
  3. The agent pays. Each payment comes with a proof that it is inside every rule. A payment outside a rule has no valid proof, so there is nothing to send.
  4. Take back what is left. At any time, without asking the agent. The money returns to your private balance.

You can try all four steps today in practice mode, with practice money and no wallet.

Two kinds of payment

RecipientWhat the chain sees
Another PRINET accountThat a payment was made. Not to whom, not how much.
A normal wallet (a 0x address)The wallet and the amount it received.

Taking back what is left

You stay the owner of every budget you give. Taking one back moves what is left into your private balance and switches the budget off. The agent does not have to agree.

What the public chain sees

You doPublic on ElysiumStays private
Give a budgetThat the sending wallet made a grantThe amount, the rules, who got it
Pay another PRINET accountThat the sending wallet made a paymentTo whom and how much
Pay a normal walletThat wallet and the amount it receivedThe budget's rules and what is left in it
Take a budget backThat the sending wallet sent a bank transactionThe amount

More in Privacy and safety.

Next

The bank is not open on Elysium yet. You can try it in practice mode, with no wallet and no money. Questions: @PRINETCAP on X.