Frequently asked questions

What is threshold signing (MPC signing)?

Threshold signing splits one private key into several key shares held by independent nodes. A signature is produced only when a minimum number of nodes, the threshold, run a multi-party computation (MPC) protocol together. In this demo 4 nodes hold a share and any 3 of them can sign. The full private key is never assembled, neither when it is created nor when it is used.

How is the key created if no one ever holds it?

With Distributed Key Generation (DKG). Each node contributes its own randomness, and the protocol outputs one public key plus one private share per node. The private key that matches the public key exists only as a mathematical combination of the shares. No machine, operator or administrator ever sees it, so there is no plaintext key to back up, export or leak.

How is this different from a multisig wallet?

A multisig uses several independent keys and a smart contract that counts their signatures. Its rules live on-chain, depend on the blockchain, and reveal the number of signers. Threshold signing produces a single standard ECDSA signature for a single public key. To the blockchain or to any verifier it looks like an ordinary signature. The same setup works on any chain or system that accepts secp256k1 ECDSA, and the signing policy stays off-chain.

What happens if a node goes offline or is compromised?

With a 3-of-4 threshold, one node can be offline and signing continues. If two nodes are down, signing stops until one comes back. On the security side, an attacker who steals one or two key shares cannot sign anything and learns nothing about the private key. Producing a signature requires control of three nodes at the same time, which is why the nodes are meant to run on separate machines, operators or clouds.

What exactly does this demo sign?

Each time you trigger an update, the coordinator fetches the current BTC/USD price from CoinGecko, hashes the price record (price, decimals, timestamp, source) with SHA-256, and asks the nodes to sign that hash with threshold ECDSA on the secp256k1 curve. The signed price is then sent to an oracle program on Solana devnet, which stores it with replay protection. The Solana transaction fees are paid by a separate fee-payer account.

Which cryptographic library does it use?

The MPC protocols come from cb-mpc, the open-source threshold cryptography library published by Coinbase, called from Go services. The on-chain program is written in Rust with Anchor, and the dashboard is a React application that streams node logs in real time.

How does this compare to a KMS or an HSM?

A Key Management System (KMS) or a Hardware Security Module (HSM) keeps the whole key in one place and decides who may use it. If that service, its administrator account or its cloud tenant is compromised, the key can be used or extracted. With threshold signing, no single place holds the key. HSMs and Trusted Execution Environments can still protect each node's share, adding hardware protection on top of the distribution.

Is this production-ready?

No. It is a live demonstration on Solana devnet. To keep it simple, the on-chain program does not yet verify the secp256k1 signature, and the four nodes and the coordinator run on the same server. A production deployment would verify every signature on-chain through Solana's secp256k1 precompile, run each node with a different operator or cloud provider, protect each share with an HSM or a TEE, and add monitoring and key share rotation. Katvio can help you design that deployment.

Where can I find the source code?

The source code is private. If you are evaluating threshold signing for your own keys, contact a Katvio representative for a technical walkthrough of the architecture.

What else can threshold signing do?

Digital asset custody

Hold treasury or customer wallets without a single key that an insider, a stolen laptop or a breached server could use alone.

Payment and treasury approvals

Require several departments or people to take part before a large transfer is signed, while the blockchain sees one ordinary signature.

Oracles and data attestation

Publish prices, measurements or reports that only count when a quorum of independent nodes agrees to sign them.

Software release and code signing

Sign releases, firmware or container images so that one stolen developer token or CI secret cannot ship a malicious build.

Bridges and cross-chain messaging

Authorize messages between networks with a key no single relayer controls.

Certificate and token issuance

Protect the root key of an internal certificate authority or the key that signs authentication tokens.