UniLayer Solutions

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.

Self-Custody: creation and use. Creation: lock ULR, create via factory, DKG with custodian, Taproot address, stake ULR. Use: deposit each UTXO to a new address, SPV proof on Ethereum, withdrawal command per UTXO, threshold signature, Bitcoin payout.Creation1Client holds10,000,000 ULRwith lock2Create Self-Custodyvia factory contract3DKG: client share+ custodian share4Taproot (bc1p)custody address5Client stakes ULR:withdrawals enabledUse1Deposit: every UTXOis sent to anew address2SPV proof of depositverified on Ethereum3Withdrawal commandselects a UTXO4Client + custodianthreshold signature5Bitcoin paid out toP2WPKH or P2TRaddressBitcoinEthereumThreshold signingClient / participants
Self-Custody lifecycle. Sending each UTXO to a new address is the target flow; a separate address per request is under qualification.
Confederation: creation and use. Creation: lock ULR, create via factory, DKG among all participants, Taproot address, creators set fees. Use: deposit Bitcoin, wrapper minted on Ethereum, wrapper burned on Ethereum, threshold signature, Bitcoin withdrawal.Creation1Creators hold10,000,000 ULRwith lock2Create Confederationvia factory contract3DKG among allparticipants4Taproot (bc1p)custody address5Creators setthe feesUse1Deposit: Bitcoin tothe confederationaddress2SPV proof verified;wrapper mintedon Ethereum3Wrapper burnedon Ethereum:withdrawal request4Threshold signatureby the participants5Bitcoin withdrawalto P2WPKH or P2TRaddressBitcoinEthereumThreshold signingClient / participants
Confederation lifecycle: deposit, wrapper on Ethereum, burning the wrapper, withdrawal.

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)