BPS Companion app.bpshub.dev · the phone companion BPS Hub

A4Phone companion · Testing

Spend from home.
Carry no coin keys.

BPS Companion pays and receives BPS from your phone, but the coins never leave home. Your own BPS Relay keeps a small allowance wallet and signs for the phone, within limits only the relay can change.

  • On the phoneOne device key. It can spend nothing by itself.
  • At homeYour relay signs, per payment and per day, with your PIN.
  • In betweenThree relays. None of them learns where the phone is.
The home screen: what the allowance holds, and what is left of today's limit. Figures are illustrative.
01

How it works

The phone asks. Home decides.

1The phone asks

The phone holds one key of its own, kept in the Android Keystore. It proves the request came from your paired phone, and that is all it can do. It signs no transaction and holds no coin.

2Three relays carry it

For every question the phone picks three relays from the roster and builds a path through them. No relay on it, and nobody watching your home connection, learns where the phone is. A relay that fails a path is left out of new ones for ten minutes.

3Home signs, within limits

Your BPS Relay pays from an allowance wallet: a small wallet of its own, apart from your savings, which does not stake. It signs only with your PIN, the phone's signature over that exact payment, and room left in the phone's limits.

Keep in the allowance what you would keep in a pocket. You top it up from your main wallet on the computer, with BPS Relay's ordinary Send tab.

02

Pairing

Once, at home, in under a minute.
  1. Step 1 · on your computer

    Show a pairing code

    In BPS Relay, open Server, then Phone companion, and choose Pair a phone. It shows a one-time code as a QR code and as text, for when the camera can't be used.

  2. Step 2 · on the phone

    Scan it and choose a PIN

    Scan the code, give the phone a name you'll recognise on the home node, and choose a PIN twice. The home node keeps the PIN, not the phone.

  3. Step 3 · both screens

    Compare six digits, set the limits

    Phone and computer each show six digits made from the code, the phone and the node. If they match, accept on the computer and set how much the phone may spend per payment and per day. Nothing is paired until both are agreed.

03

Paying and receiving

To an address, to a name, or from a scanned code.
Send. A BPS name like bob, an address, or a scanned bps: payment code that fills in both.
Check and send. The home node prepares the payment and holds its coins; the fee is counted against your limits too. Your PIN sends it.
Sent. Signed at home and handed to the network. The phone never saw a coin key.

Receiving

The Receive screen shows a fresh address, as a QR code and as text, every time you ask. Coins sent there go straight into the allowance wallet at home, so the phone itself never holds a balance.

04

Limits and safety

The rules live on your relay, not on the phone.
  • U1Per paymentThe most one payment may be, fee included. Set when you pair; change it any time on the home node.
  • U2Per dayA rolling 24 hours, not a calendar day. A payment is counted before it is broadcast and given back only if the network refuses it.
  • U3PINChecked by the home node, which stores it salted and keyed by a secret only it has. The phone never keeps it.
  • U4Five wrongFive wrong PINs in a row lock the phone until you unlock it on the home node. Guesses are also capped across all phones together.
  • U5RestartsPaired phones and the day's spending are written to disk at once, so a restart of the relay can't forget what was sent today.
  • U6UnpairRemove a phone from the home node at any time, or from the phone's own Settings.
05

Get it

in testing

What you need

  • A BPS Relay at home, listed as a relay, with Phone companion turned on in its Server page. That's where the allowance wallet lives.
  • An Android phone running Android 9 or later, or a Linux phone or desktop.
  • A camera helps, for scanning codes. Without one, paste the code's text or choose a picture of it.

Where it is

  • Androidarm64 · armv7 · x86_64Testing
  • F-Droidlisting in preparationSoon
  • LinuxFlatpak, phones and desktopsTesting

Releases are published on GitHub once they have been tried on real devices, signed, with a SHA-256 checksum for every package. The button picks the file for your phone or computer, and All systems lists the rest.