Living Passport: repair history for phones and laptops on CKB (testnet)

Hi everyone :waving_hand:

I’m Anthony, building on the CKB Builder Track. For the last few weeks I’ve been working on Living Passport, a service history for phones and laptops that lives on CKB.

The problem

When you buy a used phone or laptop, you rely on what the seller tells you about repairs. Repair shops here mostly don’t keep records either, they rely on what the owner says.

How it works

  • Each device gets a passport, a cell on CKB with its history in the cell data
  • The shop registers the device at intake from its own wallet, so the customer doesn’t need a wallet or a smartphone
  • The shop records repairs and gives the customer a QR card. Anyone can scan it and see the history, no wallet needed
  • The customer can claim the passport later. After that, every repair needs both the shop’s and the owner’s signature
  • Shops can publish their name with did:ckb, so a repair shows shop name instead of a wallet code

What I tested

  • Created a passport and approved a co-signed repair with JoyID on testnet
  • Visited a repair shop (Dflex Technologies) and demoed it. They were interested and liked JoyID, but said it should work mainly within the repair network and not rely on the customer. The shop-first mode came from that
  • Two-device test with a laptop as the shop and a phone as the customer

Things I learned on CKB

  • The shop-first mode didn’t need a contract change, because the contract only checks who signed
  • Anyone can create a DID cell under someone else’s lock without their signature, so the app only accepts a shop name if that wallet also signed the transaction that wrote it
  • A DID proves the same wallet published the name, not that the shop is real

Try it

It’s on testnet only, and the shop names aren’t verified by anyone yet.

Feedback I’d like

  • Who could vouch that a shop is real? A repair association, other shops, something else?
  • Is anyone working on did:ckb or reputation who I could learn from?
  • If you know a repair shop that would try it, I’d love to talk to them

Thanks for reading :slightly_smiling_face:

2 Likes