Rubbi on Stellar

Rubbi is a payment automation platform built on Stellar. You fund a USDC balance, pay recurring subscriptions and bills, run payroll for your team and spend through a virtual card. Money moves in USDC through three Soroban contracts; Rubbi's backend indexes them and issues the card.

  • • Sign in with your own Stellar wallet (SEP-10). Rubbi never holds your keys.
  • • Subscriptions are non-custodial: funds stay in your wallet until a period is due.
  • • Payroll is escrow-based: one period is paid per due schedule, missed periods stay owed.
  • • The card is funded from your Rubbi wallet (the on-chain vault); on testnet it is a visibly labelled mock card.

Getting started

  1. Install a Stellar wallet such as Freighter and switch it to testnet.
  2. Open Get started and connect the wallet.
  3. Sign the SEP-10 challenge. It is a transaction that is never submitted; it only proves you control the address.
  4. Choose a username (one per address). This creates your Rubbi card.

Your session token lives in this browser tab only and is discarded when you disconnect or close the tab.

Wallet & USDC

A Stellar account needs a little XLM to exist and must opt in to USDC with a trustline. The Wallet page checks both and offers a one-click Enable USDC step.

Testnet funds

  1. XLM: use Friendbot (linked from the Wallet page).
  2. USDC: use Circle's testnet faucet after enabling the trustline.

Rubbi wallet (vault)

Deposit moves USDC from your Stellar account into the vault contract; Withdraw moves it back and works even if the vault is paused. The vault balance is what you can load onto your card.

Card

Load cardmoves USDC from your Rubbi wallet onto the card: Rubbi's operator settles the amount on-chain first, then the issuer funds the card. Unload card defunds the card and the treasury credits your vault. Each movement shows its status; PENDING_TREASURY means the unload is waiting for the treasury operator.

Cards marked MOCK come from the mock issuer: a deterministic test card with no real number. Card data always comes from the backend; the app never generates card numbers.

Subscriptions

  1. Pick a plan (created on-chain by approved merchants).
  2. Approve an allowance on the USDC contract for 3 periods, with an expiration ledger covering them.
  3. Subscribe: the first period is charged immediately and the next due date is set.

Rubbi's keeper charges each period when it is due. A failed pull marks the subscription past due until the next successful charge; a user who was past due for months is charged once, not retroactively. Pause, resume and cancel any time. The allowance status shows how many payments are still covered and when it expires.

Payroll

Fund an escrow, then create up to 25 schedules per transaction (recipient, amount, period, label). Each schedule pays one period when due; Pay due now runs the payouts yourself instead of waiting for the keeper. Pause keeps the owed salary owed; cancel is final. Escrow can be withdrawn any time.

Smart contracts

Three Soroban contracts hold the logic. Ids are read from the backend's public configuration.

Connect to the backend to see the deployed contract ids.

Fees: subscriptions and payroll take a small configurable fee (0.5% at deployment) from the payee; the payer always pays exactly the plan or salary amount.

FAQ

Which wallets work?

Freighter, xBull, Albedo, Lobstr, Rabet, Hana and the other wallets supported by Stellar Wallets Kit.

Is Rubbi custodial?

Subscriptions and payroll are non-custodial for the payer. The vault that funds your card is custodial by design: Rubbi's operator settles card loads from it, and you can withdraw the rest at any time.

Why did my transaction fail?

Every contract error is translated into a message in the transaction dialog (for example an expired allowance or a merchant that cannot receive USDC). Make sure your wallet is on the right network and your account holds some XLM for fees.