tane/spike/block2_spike
vjrj 49b872b405 spike(block2): de-risk social layer — key derivation, OfferTransport, NIP-99 round-trip
Throwaway research spike (spike/ branch, outside pub workspace, no prod deps
touched). Validates the open Block 2 decisions before committing a funded round:

1. Deterministic one-way secp256k1 (Nostr) key derived from the Ğ1 root seed
   via HKDF — user still backs up ONE thing. Reproducible + signs (BIP340).
2. OfferTransport abstraction over Nostr NIP-99 (kind 30402); Offer stays
   inventory/location-agnostic, geohash coarsened on the wire (tested).
3. publish->discover-by-geohash proven end-to-end against an in-process
   hermetic mini-relay (~34ms round-trip).

Findings + risks + recommendation in docs/design/spike-block2-findings.md.
Block 1 suite untouched. 14 tests green, analyzer clean.
2026-07-10 01:57:25 +02:00
..
lib spike(block2): de-risk social layer — key derivation, OfferTransport, NIP-99 round-trip 2026-07-10 01:57:25 +02:00
test spike(block2): de-risk social layer — key derivation, OfferTransport, NIP-99 round-trip 2026-07-10 01:57:25 +02:00
.gitignore spike(block2): de-risk social layer — key derivation, OfferTransport, NIP-99 round-trip 2026-07-10 01:57:25 +02:00
pubspec.yaml spike(block2): de-risk social layer — key derivation, OfferTransport, NIP-99 round-trip 2026-07-10 01:57:25 +02:00