How it works
Architecture
- Bitcoin is held on Taproot (bc1p) addresses controlled by a FROST threshold Schnorr key (BIP 340). No single key holder can sign alone.
- Key generation is distributed (DKG); there are three separate DKGs for the EVM, confederation and Bitcoin roles.
- Bitcoin deposits are verified on Ethereum by a ZK-SPV proof or a header relay, and are represented by a token on Ethereum.
- Withdrawals go through an escrow contract and are paid only to P2WPKH (minimum 294 sat) or P2TR (minimum 330 sat) addresses.
FROST threshold signatures
- The private key never exists in whole: each participant holds a share, and signing requires a threshold number of partial signatures.
- BIP 340 Schnorr signatures are natively valid in Bitcoin Taproot, so on the Bitcoin side the result is an ordinary signature.
- DKG does not generate secrets on-chain: the contract only coordinates the protocol (commitments, share hashes, public key shares, group key approval).
- In production mode only real aggregate signatures are accepted, and the simplified approval-counting mode is permanently disabled after launch.
- Every privileged operation is bound to a specific contract, function, parameters and counter, so an approval cannot be reused for another operation.
Verifying Bitcoin on Ethereum
A full Bitcoin node is not run on-chain. The contract checks block headers (structure, difficulty target, accumulated work) and transaction inclusion through a Merkle path, and only then accounts for incoming and outgoing funds. The confirmation depth for production is configured separately.
Withdrawal flow
- The user submits a request: the balance is checked and funds are locked in escrow.
- The quorum approves the operation with a threshold signature; a Confederation additionally requires the custodian threshold.
- A Bitcoin transaction with an explicit miner fee is built, signed by the threshold and broadcast.
- Inclusion is verified on Ethereum, the escrow is burned and the request is closed.
Layers of defense
- Role-based access: privileged functions are available only to defined roles.
- Reentrancy protection on every function that touches tokens or reserves.
- Threshold signing instead of a single signer: no participant moves funds alone.
- SPV verification of Bitcoin transactions before any accounting of funds.
- 1:1 reserve accounting: token issuance is bounded by the available reserve.
- Independent audits of the contracts (see below).
Self-Custody and Confederation
Self-Custody is a confederation with a custodian: the client holds a key share and the custodian co-signs. In a Confederation every participant holds a share, and the fees are set by its creators.
All operations are performed by the operator, UniLayer Solutions.
Status
- The contracts are deployed on Ethereum mainnet, except the ULR contract and the contracts of a specific federation or Confederation, which are products of the factory.
- Two launches with real funds were completed on 2026-12-04.
- Not implemented yet: cross-graph operation and key migration. A separate address per request is under qualification.
Audits
The contracts were audited by MRS-Audit and Smart State. The auditors share a minor ownership overlap; the teams that performed the work do not overlap.
- MRS-Audit — audit report available (link)
- Smart State — audit report available (link)