Skip to content

Releases: akash-R-A-J/idmap-core

v0.1.0-alpha — Initial Public MPC Core

18 Jan 04:52
76b32c6

Choose a tag to compare

🚀 Overview

This is the first public alpha pre-release of idmap-core, the cryptographic backbone of the IdMap protocol.

It provides a production-grade foundation for 2-of-2 Distributed Key Generation (DKG) and threshold Ed25519 signing for Solana, built using the CGGMP21 MPC protocol.


✨ Features

  • 2-of-2 CGGMP21 Distributed Key Generation (no trusted dealer)
  • Collaborative Ed25519 threshold signing (Solana-compatible)
  • Zero private key reconstruction (true non-custodial security)
  • TCP-based MPC protocol transport with length-delimited framing
  • Redis Pub/Sub orchestration for stateless session coordination
  • Async Rust (Tokio) with structured logging via tracing
  • Modular workspace: core library + server + client binaries

🧩 Architecture

  • Server (NODE_ID=0) and Client (NODE_ID=1) run as independent MPC participants
  • Redis coordinates DKG and signing sessions
  • TCP transport handles round-based MPC message exchange
  • In-memory key share storage per (node_id, session_id)

⚠️ Alpha Status / Limitations

  • Key shares are stored in-memory only (lost on restart)
  • No persistent storage or recovery yet
  • TCP transport is not TLS-secured (planned)
  • Fixed 2-of-2 threshold (N-of-M coming next)

This release is intended for:

  • protocol evaluation
  • integration testing
  • infrastructure experimentation

Not yet recommended for production custody.


🔮 Roadmap

  • N-of-M threshold support (e.g. 2-of-3, 3-of-5)
  • Persistent key share storage (PostgreSQL via sqlx)
  • Mutual TLS for transport security
  • High availability & monitoring
  • Proactive key refresh

🔗 Related