Overview
You swap with a provider, a program that takes the other side of your swap and earns a fee. You press Swap in your browser, and your browser does the signing and the checking itself. While the swap runs, your coins sit in locks, and they come back on their own if anything stops.
- Swap
- BTC for private ETH, or private ETH for BTC.
- Time
- About 15–20 minutes for BTC to ETH, 20–30 for ETH to BTC.
- Cost
- 0.20% of the amount, a flat fee and the Bitcoin network fee. The page shows the total before you press.
- Where
- tacit.finance/btc
Quickstart
Go to tacit.finance/btc and sign in with your Ethereum wallet or a passkey. Signing in opens your Tacit key, which holds your Bitcoin address and your private ETH, and the same sign-in opens the same key on any device.
Pick a direction and an amount. Before you press, the page shows a quote with the rate, the fee, what you receive and which provider will do the swap. The quote holds for about five minutes.
Bitcoin to ETH
- Press Swap. If a Bitcoin wallet is connected in this browser, a single payment from it starts the swap. If not, first send some BTC to your Tacit Bitcoin address (you’ll find it in your account menu).
- Wait for one Bitcoin block. Your page locks the BTC, the provider then locks the same value in ETH, and your page claims that ETH. Claiming reveals the secret the provider needs to take the BTC.
- Done in about 15–20 minutes. The ETH is in your private balance, and you can send it on from “Your ETH” whenever you like.
ETH to Bitcoin
- Press Swap. If your private ETH balance is too small, the page first deposits ETH from your wallet in one transaction. The deposit is public, but nothing on chain links it to the swap.
- Wait for the provider’s BTC. The provider locks its BTC first, and the page waits for that lock to confirm: one block for smaller swaps, more for larger ones. Then the page locks your ETH, the provider claims it, and the page takes the BTC.
- Done in about 20–30 minutes. The BTC is at your Tacit Bitcoin address (bc1q…), minus the network fee of the take. Send it on to any wallet or exchange.
Keep the page open until it says Done, because your browser does the signing. If you close it, see If something goes wrong.
Concepts
These terms come up throughout the docs.
- Provider
- The program that takes the other side of your swap and earns a fee. It never has custody of your funds, because both sides stay locked until the swap completes or refunds.
- Lock
- A coin set aside so that only this swap, or a refund after a timeout, can move it.
- Claim and refund
- A claim takes the lock that is meant for you. A refund takes back your own lock after its timeout. Claiming one lock reveals the secret that opens the other.
- Your Tacit key
- Signing in opens one key. It holds your Bitcoin address (bc1q…), where swapped BTC arrives, and your private ETH balance. The same sign-in opens the same key on any device.
- Private balance
- Your ETH inside Tacit’s pool, where amounts and owners are hidden. You can send it to any Ethereum address whenever you want to use it.
Fees and limits
- Limits. BTC to ETH: from 0.00025 BTC to 0.01 BTC, and a larger swap may be split across up to four providers. ETH to BTC: from 0.008 ETH, up to the BTC the providers hold at that moment.
- Provider fee. At the provider Tacit runs, 0.20% of the amount plus a flat fee of 400 sats (BTC to ETH) or 0.0001 ETH (ETH to BTC). Other providers set their own.
- Price adjustment. A provider running low on one side nudges its price to attract swaps that refill it: by up to 0.15% by default, and up to 0.40% at Tacit’s provider.
- Bitcoin network fee. About 500 sats. In BTC to ETH it is the fee on your lock transaction. In ETH to BTC it comes out of the BTC you receive.
- Price check. The page blocks any quote more than 3% under the market price, and asks you to confirm a Bitcoin fee above 2% of the amount.
The fixed parts weigh most on small swaps. At Tacit’s provider, before any price adjustment, a BTC to ETH swap of 0.00025 BTC costs about 3.8% in all, 0.001 BTC about 1.1%, and 0.01 BTC about 0.3%.
If something goes wrong
If a swap stops, your coins come back on their own. Every lock has a timeout after which its owner can refund it, so closing a tab or losing your connection normally costs you time, not money. There is one exception, under ETH to BTC below.
- You closed the page. Reopen it in the same browser and the swap carries on. On another device, sign in again and the page finds the swap from your key, as long as the provider still serves its offer.
- BTC to ETH, before the provider has locked. Your BTC returns to your address after 144 Bitcoin blocks, about a day.
- BTC to ETH, after the provider has locked its ETH. Come back within about 4 hours of its lock. If you don’t, its ETH goes back to it and your BTC returns after about a day.
- ETH to BTC, after you have locked your ETH. If the provider doesn’t claim it, your ETH returns to your private balance after about 4 hours.
- ETH to BTC, after the provider has claimed. The BTC is now yours to take, and your page does it for you while it is open. The take has to happen within about 16 hours of the provider’s lock confirming, before the provider’s refund opens. If you are away, a watcher can finish the take for you, and it can pay only your own address. If you are offline past that time and no watcher has taken it, the provider can take its BTC back and keep your ETH. This is the only case where being late can cost you money and not just time.
- Slow Bitcoin blocks. If no block arrives for 15 minutes, the page says so. Refunds count blocks, so they wait too. A quote with under two minutes left is refused, so ask for a new one.
Security
- This is a pilot. The code is new and has not been independently audited, and swaps are capped. Don’t move more than you can afford to have delayed.
- Your browser checks the provider. It verifies the provider’s offer before revealing anything, and compares each quote with Chainlink’s ETH/BTC price.
- Only the ETH side is private. The BTC amount and its transactions are public on Bitcoin, and the BTC arrives at your Tacit Bitcoin address.
- Which providers. ETH to BTC uses only providers the site names. BTC to ETH can also use community providers.
- Only sign the Tacit sign-in message on tacit.finance. The message is not tied to a website, so anyone who gets that signature controls your Tacit funds, swaps included.
How it works
The two locks are tied together by one secret. This section covers how that works, how the private pool fits in, and what stays public.
The swap
The swap is an adaptor-signature atomic swap. An adaptor signature is a signature that is incomplete on purpose: a secret t completes it, and the finished signature reveals t.
- On Bitcoin, the lock is a Taproot output. Taproot is Bitcoin’s address type that can hide a script. The output key is the claimer’s key plus
T = t·G, so spending it needs both the claimer’s key andt. One script leaf lets the locker refund after a number of blocks (CHECKSEQUENCEVERIFY). - On Ethereum, the pool has three operations:
adaptorlock,adaptorclaimandadaptorrefund. A lock holds a note of the exact amount under(T, deadline, recipient). A claim needs a signature that is whole only witht. A refund returns the note to its owner after the deadline. - The link is
t. The claimer pre-signs withT. Completing that pre-signature takest:z = s̃ + t. The claim’s proof carriesz, so anyone reading the pool can computet = z − s̃.
The pool
A private balance is a set of notes. A note is a sealed record of an amount and its owner. The pool stores only the seal, a commitment, in a Merkle tree of 32 levels.
To spend a note you publish its nullifier, a tag only the owner can compute. It marks the note spent without saying which note it was. Each operation is proved with SP1 and wrapped in Groth16, so Ethereum checks it cheaply. A relay posts the proof. It sees proofs, not keys, and cannot move your funds. The proofs use pairings, so they are not post-quantum.
What is public
On Bitcoin, the swap’s lock and its amount are public, and so is the take, which looks like an ordinary Taproot key-path spend. In the pool, anyone can see that a lock was added, claimed or refunded, and when, but not the amount or the owner. If the page first adds ETH, your Ethereum address and the deposit are visible, but not which swap the deposit was for.
The two directions
The side that locks its Bitcoin first is the one that holds t. The other side locks only after that lock confirms. The holder of t then claims first on Ethereum, which reveals t, and the other side uses it to take the BTC.
Bitcoin to ETH
t. The orange arrow is the claim, which shows t.- You make
tand lock the BTC to the provider’s key plusT, refundable to you after 144 blocks. - The provider waits for confirmations, then locks pool ETH to
Tfor your claim key, with a deadline of about 4 hours. It sends a pre-signature of the claim. - Your browser checks the offer (pre-signature,
T, recipient, time left), then claims witht. - The provider reads
z, works outt, and takes your BTC.
ETH to Bitcoin
t. The orange arrow is its claim, which shows t to you.- The provider makes
tand locks its BTC to your key plusT, refundable to it after 96 blocks (about 16 hours) in today’s ads. - Your page reads that lock itself, waits for confirmations, checks the windows, then locks your pool ETH to
Tfor the provider, with a deadline of about 4 hours. - The provider claims your ETH, which shows
t. You take the BTC with your key plust.
Why the order is safe
The Bitcoin refund opens at least two hours after the Ethereum deadline, so whoever locks ETH has time to see t and take the BTC before the other side can refund. A claim that is sent but misses its deadline would still reveal t, so the page will not build a claim with less than an hour left.
Secrets and recovery
The secret, the note blindings and a sealed hint in the Bitcoin lock are all derived from your Tacit key and the lock’s outpoint, so a swap can be found again from your key and the chains alone. That is how another device, or a browser with cleared storage, picks one up.
The take watcher
In ETH to Bitcoin, your page signs the take ahead of time, leaving out only the one value that needs t, and posts that pre-signature so a watcher can use it. On its own it is useless without t, so publishing it is safe.
It is signed with SIGHASH_SINGLE | ANYONECANPAY, which fixes the lock as the input and your own address as the output, with the fee taken out. Anyone may add inputs to raise the fee, but no one can change where the sats go. After the provider claims, the watcher completes the signature with t. The API and the watcher both check the pre-signature first.
The price check
A provider quotes the market rate plus its fee, and the page does not take that on trust. It reads Chainlink’s ETH/BTC price from at least two Ethereum nodes, asked at the same block, and uses it only while they agree and the reading is fresh. A quote 2.5% under that price gets a warning, and one more than 3% under is blocked. If the page cannot read the market price, it blocks the quote.
Run a provider
A provider is a small program with its own key. It quotes the market price plus its fee, and because each swap locks both sides, it never holds anyone’s funds. To run one you need a key (setup shows it once, so copy it somewhere offline), ETH shielded into the pool, optionally BTC at its own Bitcoin address, and a machine that stays on, with Node 22 or Docker.
git clone https://github.com/src-company/tacit && cd tacit
(cd worker-relay && npm ci --omit=dev --ignore-scripts) && (cd worker && npm ci --omit=dev --ignore-scripts)
node fastbridge-lp/setup.mjsSetup asks for a name and a fee (default 0.30% plus 1,000 sats), prints the two addresses to fund, checks the nodes and the price, and starts. Once it is running, the provider posts a signed ad to a board every minute, and the page checks each signature. It needs no public address. The provider earns the fee on each swap; the cost is capital tied up while a swap is open, up to about 16 hours if a user disappears. None of this is a promise of income.
Integrate
Providers answer over HTTP and through a board, and pages sign and prove on the user’s device.
curl https://tacit-fast-board.onrender.com/ads # providers' signed ads
curl https://api.tacit.finance/take-presig # signed-ahead takes, for a watcher- A provider:
GET /info,POST /quote,POST /reserve,POST /offerfor BTC to ETH.GET /reverse/info,POST /reverse/quote,POST /reverse/startfor ETH to BTC. Requests can also go through the board, sealed to the provider’s gateway key. - The client:
dapp/fastbridge-pair.jsis the user’s side of both directions.dapp/adaptor-xswap.jsholds the terms and checks.dapp/take-presig.jsmakes the take signed ahead. - The tile:
dapp/swap/atomic.jsexportsmakeAtomicLane({ host, wallet, provider, … }). Open the pair client withopenPairfromdapp/fast/pair-wire.js, asdapp/btc/app.jsdoes.
FAQ
Is my ETH wrapped?
No. It is ETH in the pool, held as private notes, and you can send it to any Ethereum address.
Can I get stuck?
Usually the worst case is a delay, because every lock refunds after a timeout. The exception is an ETH to BTC swap after the provider has claimed, where the BTC has to be taken within about 16 hours. See If something goes wrong.
Why does a small swap cost so much?
The network fee and the flat fee are fixed amounts, so near the minimum they make up a large share.
Can I swap without a Bitcoin wallet?
For ETH to BTC you need only ETH. For BTC to ETH you need BTC at your Tacit Bitcoin address, which you can fund from any wallet or exchange.
Glossary
- Atomic swap
- A swap in which both sides complete or both refund.
- Adaptor signature
- A signature made incomplete on purpose. A secret
tcompletes it, and the completed signature showst. - Taproot
- Bitcoin’s address type that can hide a script. A swap lock is a Taproot output.
- Note
- A sealed record of an amount and its owner. A private balance is a set of notes.
- Nullifier
- A tag that marks a note spent without saying which note it was.
- Watcher
- A process that finishes your take from a signed-ahead pre-signature. It can pay only your own address.