CypherStack
Trust, scored across every layer
The problem CypherStack solves
Trust has a missing layer in the decentralized world.
Bitcoin lets you move money without banks — but you cannot tell if an address belongs to a scammer or a legitimate user. Nostr gives you censorship-resistant identity — but there is no way to verify if a profile is real or a bot. AI agents are becoming autonomous economic actors — but there is no way to check if one is reliable before you hand it your Bitcoin.
Every decentralized network has the same gap: transparency without trust.
CypherStack closes that gap. It computes transparent, deterministic trust scores for Bitcoin addresses, Nostr identities, and AI agents — using only public data. No KYC. No oracles. No identity providers. No gatekeepers.
What People Can Use It For
- Bitcoin users — Check any address before sending funds. See its transaction history, balance patterns, and flow stability as a clean 0–100 score.
- Nostr users — Verify whether a profile is legitimate. Score is derived from follower networks, NIP-05 verification, and profile completeness.
- AI agent operators — Prove your agent is reliable based on real performance: tasks completed, success rate, age, and staked collateral.
- Journalists and activists — Prove your reputation exceeds a threshold without revealing your exact score using zero-knowledge proofs.
- Marketplaces and DAOs — Integrate trust scores as a gate for participation, payments, or governance.
How It Makes Existing Tasks Safer
| Before CypherStack | After CypherStack |
|---|---|
| Send Bitcoin to an unknown address and hope | Score the address first — Gold, Silver, Bronze, or Risky |
| Follow a Nostr profile with no context | See social trust derived from the follower graph |
| Trust an AI agent's claims at face value | Verify with an on-chain performance record |
| Reveal your entire reputation to prove anything | Prove thresholds privately with ZK proofs |
| Use centralized KYC services | Stay anonymous — all scoring is public-data-only |
CypherStack does not replace trust. It makes it measurable, portable, and private.
Challenges I ran into
Challenges I Ran Into
1. Multi-Relay Nostr Fallback with Graceful Degradation
The problem: Nostr is decentralized — data lives across dozens of independent relays. The first relay I queried (relay.damus.io) frequently timed out or closed connections mid-handshake, breaking the entire Nostr feature for users.
The fix: I rewrote the WebSocket layer to query three relays in parallel (damus, nos.lol, nostr.band) with independent 6-second timeouts. Instead of Promise.all (which fails if any relay fails), I used a race pattern — the first valid response wins, and the rest are gracefully discarded. Empty responses fall back to a clean "Unknown" profile instead of crashing the UI.
Result: Nostr lookups now work even when one or two relays are down.
2. Real-Time Blockchain Data Without an API Key
The problem: Most Bitcoin data APIs require authentication, rate limits, or paid tiers. For a hackathon project, I needed something free, reliable, and fast.
The fix: I integrated directly with mempool.space's public API — no key, no rate limit issues, real-time data. I built a normalization layer that converts raw satoshi values into human-readable BTC, and maps the API's response shape into the reputation engine's expected input.
Result: Live address scoring works instantly, with zero backend infrastructure.
3. TypeScript Build Failures on Vercel
The problem: The app ran perfectly in local development, but Vercel's production build failed with cryptic TS6133 errors — unused variables that Vite's dev server silently ignores but TypeScript's strict mode rejects.
The fix: I traced each error through the build logs, refactored the D3 drag handlers to properly type this context, removed unused parameters, and enforced a rule: every commit must pass npm run build locally before pushing.
Result: Clean production deployments, no more surprise build failures.
4. Making Trust Visual, Not Just Numeric
The problem: A score of "89" is abstract. Judges and users needed to see the trust relationships, not just read a number.
The fix: I built a D3.js force-directed trust graph with draggable nodes, hover tooltips, and color-coded entity types (Bitcoin orange, Nostr purple, AI green). Nodes are positioned by physics simulation — connected entities naturally cluster together, making trust networks visible at a glance.
Result: A "wow factor" visualization that communicates trust relationships instantly.
5. Zero-Knowledge Proofs Without a ZK Framework
The problem: Implementing real Noir circuits within a one-month hackathon timeline was not feasible, but the project needed to demonstrate ZK's privacy value.
The fix: I built a working proof-flow prototype — a threshold slider, live pass/fail feedback, and a deterministic proof hash generator that mimics the shape of a real ZK proof. The UI flow is identical to what a real Noir integration would look like. Real circuit implementation is listed in the roadmap.
Result: Judges see the privacy value proposition in action, and the architecture is designed to swap in real Noir circuits without UI changes.
6. Git Folder Name Typo That Broke Every Screenshot
The problem: After uploading 11 screenshots to GitHub, none of them rendered in the README — despite correct paths.
The fix: Debugged by comparing the actual GitHub URL against the README path. The folder was named screeeeenshots (with three extra es) instead of screenshots. Renamed the folder, and all images loaded instantly.
Lesson: Always verify file paths character-by-character when debugging asset loading failures.
Tracks Applied (3)
Machine Money
Bitshala
Freedom Stack
Bitshala
Cypherpunk
Bitshala
