Selected WorkSHARELOCK

Sharelock

Zero-knowledge key recovery system combining Shamir’s Secret Sharing with Circom circuits, Solidity verification, and a multi-node recovery protocol; published an NPM package for recovery workflows.

Zero-Knowledge Proofs & Shamir Secret Sharing AlgorithmCircomSolidityCryptography
Cover
Stack

Tech Stack

TypeScriptCircomSolidityCryptographyZero-Knowledge ProofsShamir’s Secret Sharing
SectionOverview

Overview

Sharelock is a ZK-backed key recovery prototype that uses threshold secret sharing and multi-party coordination to enable secure recovery without introducing a single point of failure.

SectionThe Problem

The Problem

Key loss is catastrophic in self-custody systems. Traditional recovery approaches either centralize trust or leak sensitive recovery signals. The goal is a recovery flow that is threshold-based, verifiable, and resistant to compromised parties,without exposing the secret or the recovery inputs.

SectionThe Solution

The Solution

Built an algorithmic, threshold-based recovery protocol using Shamir’s Secret Sharing across multiple independent nodes (three server participants). Implemented zero-knowledge proof circuits in Circom to prove recovery eligibility/valid reconstruction conditions without revealing the underlying secret data. Added on-chain verification via Solidity contracts, and packaged the core TypeScript primitives and workflow orchestration into an NPM module for easier integration into applications.

SectionResults

Results & Impact

Delivered a working end-to-end demo: distribute shares across nodes, generate and verify ZK proofs for recovery, and complete threshold-based reconstruction with on-chain verification. Shipped reusable recovery tooling as an NPM package and presented the system in a hackathon setting.