# Real bitcoin, inside every smart contract

> Maxy runs a full Bitcoin node as a smart contract on Ethereum, Solana, Base, and more: every consensus rule enforced on-chain, settling to real Bitcoin wallets. Not a sidechain. Not wrapped. A verifier built to Bitcoin's own standard.

Skip to content

[![Maxy](https://maxy.co/maxy_orange_full_logo.svg)](https://maxy.co/)

Learn

[Compare](https://maxy.co/compare)[Museum](https://maxy.co/learn/museum)

/  06  Programmable

[Docs](https://maxy.co/docs)[Launch app](https://maxybeta.com/)

Programmable Bitcoin

# Real bitcoin, inside every smart contract

Maxy runs *a full Bitcoin node as a smart contract* on Ethereum, Solana, Base, and more, so BTC can be swapped, spent, and borrowed anywhere.

inside the contract: an IOU → a Bitcoin node · not a sidechain, not a wrapper, a full node

  The forgery lab

## Four forgeries, two verifiers

Four forged blocks, each shown to a generic SPV client and to the Maxy node: a fake proof of work, real work with a forged signature, real work with a double-spend, real work with a 1,000-BTC coinbase. The SPV client checks headers and inclusion only, so it accepts three of the four. The node runs all eight consensus checks and rejects every one.

**100%**  Of Bitcoin's consensus rules enforced on-chain   all eight checks, every block

**0**  Custodians, committees, or wrapped tokens   anywhere in the design

  01

## A full Bitcoin node, running as a smart contract

It runs Bitcoin's receive–verify–extend loop natively on each host chain, keeping its own fully validated copy of Bitcoin, live UTXO set included.

Bitcoin's own loop

### The same loop, running in two places

When a miner solves a block, nodes receive, verify, extend, propagate. Maxy's contract runs the identical loop, one layer down.

All 8 consensus checks

### Every consensus rule, checked on every block

Proof of work, difficulty, timestamps, Merkle commitments, every signature, every input against a live UTXO set, value conservation, the subsidy schedule, all eight checks.

Reorg-aware finality

### It reorganizes exactly the way bitcoind does

Heaviest-accumulated-work fork choice with stateful rollback and replay, settlement gated at a caller-selected depth of one to six confirmations.

Native settlement

### Swaps settle to real Bitcoin wallets

The contract releases the other leg only after verifying the Bitcoin payment itself, at the confirmation depth the parties chose.

Self-custodied collateral

### Borrow against bitcoin that never leaves your keys

The contract verifies your collateral position on Bitcoin directly, no custodian to trust, no rehypothecation to audit.

### Finality is a parameter you sign

One confirmation for everyday amounts, six for fortress-grade, enforced by the contract, with the attack cost public either way.

**~144**

Bitcoin blocks fully re-validated per day

per host chain, in its own consensus

  02

## Using bitcoin anywhere else meant trusting someone

Every workaround reintroduces the trust Bitcoin was built to remove, a custodian's promise, a partial check, or a verifier that breaks when Bitcoin breathes.

The workaround: a custodian

### Bridges are custody with extra steps

Wrapped BTC is an IOU minted by a committee. Every major bridge failure was the same failure: the custodian was compromised, the backing drained.

The workaround: a partial check

### Light clients verify work, not rules

SPV proves a transaction sits in a heavy chain, never that signatures are valid, coins weren't double-spent, or supply stayed at 21 million.

The workaround: frozen at the tip

### Shallow verifiers break when Bitcoin breathes

Bitcoin routinely rewrites its last block or two, by design. A verifier without stateful reorg handling halts, or settles against abandoned blocks.

What Maxy is instead

### Not a sidechain. Not wrapped. A verifier.

Sidechains ask you to trust their validators; wrappers ask you to trust a vault. Maxy asks you to check a proof.

  03

## Maxy turns other blockchains into Bitcoin miners

Mining is three jobs: hashing, validating, propagating. The last two keep Bitcoin honest, and every chain Maxy deploys to takes them up.

Everything but the hash

### Passive miners: everything but the hash

No hashrate is added, deliberately. Bitcoin has never needed more hashing; it thrives on more verification, and verification is what deployments multiply.

  Mining job 2: validation

### Whole validator sets now enforce Bitcoin's rules

Ethereum's validators, Solana's, Base's, each re-executes Bitcoin's full validation in consensus, multiplying the independent parties enforcing the rules by whole networks.

Ethereum's validators re-validating #903,241

Solana's validators re-validating #903,241

Base's validators re-validating #903,241

  Mining job 3: propagation

### New roads for Bitcoin's blocks to travel

Maxy's relay layer moves blocks between Bitcoin's gossip network and each host chain, distinct routes that make the network harder to partition.

> To lie to an SPV client, out-mine Bitcoin. *To lie to this contract, break SHA-256.*

  04 · The standing challenge

## Try to fool it

Forge a block, force a reorg, try to erase the record, every claim on this page is a check you can run.

### Fork it and watch it recover

A competing branch overtakes on accumulated work, heaviest, not longest. Blocks peel away, the UTXO set rewinds and replays, settlement holds until your depth.

The archive, multiplied

### Bitcoin's history, sealed into several ledgers

Headers, cumulative work, and per-block commitments live behind multiple consensuses, an eclipse-attack defense, a bootstrap reference, a data-availability layer Bitcoin never had.

### Nothing to hack that isn't Bitcoin

No pooled backing, no signer set, no mint function. The verifier's security reduces to Bitcoin's proof of work plus the host chain's execution.

  Programmable Bitcoin

## What's left is just Bitcoin, everywhere

Maxy is the settlement layer for applications where a single accepted-but-invalid block means stolen funds, built to Bitcoin's own standard of verification.

Swap into and out of BTC natively, lend against bitcoin your users never stop holding, or build BTC-aware contracts against a fully validated, reorg-safe copy of Bitcoin.

The same verification, running in two places.

8 checks · **0 committees** · ~144 blocks/day

## Move Bitcoin anywhere.

Start settling Bitcoin payments on any chain in minutes.

[Launch app](https://maxybeta.com/)[Read the Learn series](https://maxy.co/learn)

![Maxy](https://maxy.co/maxy_orange_full_logo.svg)

Bitcoin stays on mainnet. Settlement powered by proof-of-work verification.

### Learn

- [Unwrapping](https://maxy.co/learn/unwrapping)
- [Why We're Secure](https://maxy.co/learn/secure)
- [How We're Faster](https://maxy.co/learn/faster)
- [Time Is Money](https://maxy.co/learn/time)
- [How We're Cheaper](https://maxy.co/learn/cheaper)
- [Programmable](https://maxy.co/learn/programmable)
- [MaxyLock](https://maxy.co/learn/maxylock)
- [Partner Program](https://maxy.co/learn/partners)
- [MaxyMint](https://maxy.co/learn/mint)
- [Museum of Failed Bridges](https://maxy.co/learn/museum)

### Product

- [Launch app](https://maxybeta.com/)
- [Docs](https://maxy.co/docs)

© 2026 Maxy Labs

---
Source: https://maxy.co/learn/programmable
