Backpack: paid app repos on the LEZ testnet

Recorded 2026-10-29 on the public LEZ v0.3 testnet (testnet.lez.logos.co) with real proofs. Publisher and subscriber in Basecamp 0.3.2, the phone in the Backpack Android app. The waits for proofs are sped up in the video.

4 min 34 s · download the video (5 MB)

What happens

  1. The publisher creates a members-only repo with one app and sets the price: 1 LEZ per month. That writes the repo's terms to the chain.
  2. The subscriber follows the repo link, sees the price read from the chain, and joins for a month with the phone's member code. Joining pays the publisher on chain.
  3. The publisher's Backpack sees the new membership on chain and publishes the next update by itself, with a copy of the read key for the phone.
  4. The phone adds the repo. It can read the members-only app list because one key copy is for it.
  5. The subscriber renews for another month, then takes the phone off.
  6. The publisher republishes without the phone, and the phone is refused at the next update. It keeps what it already had.

On chain

StepTook, with real proofTransaction
Publisher saves terms (config_create)147 sd8c40133b01fc569…
Subscriber joins and pays (register)155 sbb888d3613b8a4c2…
Renewabout 130 s45a8c317208a799f…
Take the phone off (remove_device)134 s–

Program backpack_access, id 01f0369ec40456b4be54ebb09ac8af8cee704af51fc28be08b7fbcae218ea567, built with SPEL ported to LEZ v0.3. Repo config 0cb966b0f2fa165aaf02a2fdee35a5681da61b9cc4103d33a356b7ee777355b6. Fees match the local runs, 0.3M to 0.97M base units per step; only the time differs.

Built from

The same flow also passed on a local v0.3 chain on desktop and on linux-arm64 (a Duet), before anything was spent on the testnet.