Skip to content
getAlbyPublic

About

Goldfish: a stateless, camera-based Bitcoin signer. Sign and forget.

Topics

Resources

Security policy

Stars

5 stars

Watchers

1 watching

Forks

Repository files navigation

Goldfish

Goldfish

Sign and forget. A Bitcoin signer you build from an off-the-shelf board and a printed case. Load your seed from a QR code, review and sign transactions, unplug and it forgets. Nothing is ever saved on the device, the board has no Wi-Fi or Bluetooth hardware, and the firmware has no USB stack, so the USB cable only powers it: transactions go in and out through the camera and the screen.

🌐 Website

Goldfish start screen: Scan QR or enter words

Confirm a transaction's amount and fee, then slide to sign Make a new seed from dice rolls Writing a new seed's words onto a paper word card

Status: the firmware runs on the Waveshare board (screen, touch and camera), in a desktop simulator, and in the browser (WebAssembly: plug in the device at the top of the website). It loads seeds from a photo of a handwritten backup, typed words or a SeedQR, makes new seeds from dice, coins or drawn words, and reviews and signs single-sig and multisig transactions. On a real board, one 2-of-3 multisig wallet has been set up with Sparrow 2.5.2 on signet and a transaction signed and broadcast, and single-sig transactions have been signed with Sparrow, on mainnet too.

There has been no paid audit, and there won't be one. The code has been through several rounds of review by different AI models. Don't trust, verify: the website has a prompt to hand your own coding agent.

Repository

Folder What's in it
firmware/ PlatformIO firmware (RP2350, LVGL, libwally-core), desktop and browser simulators, tests
companion/ Dove (draft name), the wallet app for Goldfish (Linux desktop): a watch-only single-sig or multisig wallet that has Goldfish sign over QR codes; not for real funds
case/ Printed case in gcad: glass on top, press-fit, no screws, STL and STEP exports
hardware/ Parts list and board notes
cards/ Blank word and SeedQR cards for 12-word seeds, to print (open index.html, works offline)
metal/ Guide to stamping a 12-word seed into stainless steel washers on a bolt
marketing/ Product renders made from the real case and firmware screens

How it works

  1. Scan your written words (12 or 24): hold the paper still in front of the camera, then check each word the device read against it. Or type the words; a SeedQR scans too. The device shows the seed's fingerprint so you can match it with your wallet. New seed makes a seed from dice rolls, coin flips or words you draw (the last word from coin flips), warns when the rolls or flips look made up (advice only) and shows the words to write down. Blank word cards for 12-word seeds to print are in cards/. Any loaded seed can also be copied onto a paper QR card, square by square (Back up as QR).
  2. Connect wallet (in Wallet options): show the public key as a QR, so Sparrow (or another wallet app) can set up a watch-only wallet that tracks your balance and builds transactions.
  3. Sign transaction: Scan QR on the transaction from your wallet, check the amount, fee, change and every address, slide to sign, and scan the signed QR back into your wallet to broadcast it. A payment that spends several coins needs each coin's previous transaction, to check the fee. Sparrow's QR leaves them out, so from Sparrow you can spend one coin at a time; Dove (companion/) sends them.
  4. Verify address: Scan QR on a receive address to confirm it belongs to your seed. Signing and verifying share the one scanner.
  5. Child seed: derive a BIP-85 child seed from your seed and a number, then sign with it (no words to write down), or export it to another wallet: its words, a Standard SeedQR for a phone wallet, or a Compact one for a signing device.
  6. Multisig: in Wallet options, Show my key gives this seed's key for a new wallet; Load multisig takes the wallet's descriptor QR to check on the device. Then sign that wallet's transactions as one of its cosigners (native segwit wsh(sortedmulti)).

On any screen, drag down from the top edge to set the screen's brightness.

Quick start

cd firmware
pio test -e test                              # unit tests
uv run --with-requirements e2e/requirements.txt pytest e2e   # end-to-end, against the simulator
pio run -e sim && .pio/build/sim/program      # simulator window
pio run                                       # board firmware (UF2)

See firmware/README.md for flashing and the simulator's test images, and case/README.md for printing.

Roadmap

Tracked as issues: address explorer and more.

About

Goldfish: a stateless, camera-based Bitcoin signer. Sign and forget.

Topics

Resources

Security policy

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages