Ark, in practice: bark
How does Second’s bark run Ark?
bark is Second’s Ark wallet and server. A boarded coin becomes a VTXO without waiting for a round; rounds use hash-locks so users sign their forfeits only after the round is on chain; out-of-round payments pass through checkpoint transactions; and the server caps how long and how deep any VTXO can get.
This page assumes the Ark chapter: VTXOs, rounds, forfeits and expiry.
Three ways to get a VTXO
- Board. You pay into an output you share with the server, and the server co-signs the transaction that turns it into your VTXO. No round is needed, and the exit path is a single transaction. In the template configuration a board needs at least 20,000 sats and three confirmations before it can join a round.3,7,13
- Refresh. You trade VTXOs for a fresh one in a round. It sits at the bottom of the round’s tree, whose nodes have up to four children.4,8
- Spend (arkoor). Someone pays you out of round. You can use it at once, but until you refresh it you trust that earlier senders did not collude with the server.8
Board and refresh VTXOs carry no trust beyond liveness; a spend VTXO carries the out-of-round assumption until it is refreshed or spent.8 Figure 1 follows one payment and one refresh.
A payment and a refresh
Rounds with hash-locks
Second’s rounds originally worked like the connector design in the Ark chapter: users had to sign forfeits before the round transaction was broadcast. Phones that cannot reliably wake up made that hard, so in January 2026 Second switched refreshes to hArk, short for hash-lock Ark.10,11
For each new VTXO the server picks a secret. The new leaf transaction needs it, as does the server’s claim of the forfeit output. The server broadcasts the round transaction first; the user signs the forfeit afterwards, whenever it comes online, and receives the secret in return. The signed forfeit can itself confirm without the secret. If the server publishes it but withholds the secret, the user can recover its output after a relative delay; if no forfeit is published, the old VTXO’s exit remains available. When the server claims the forfeit output, that claim reveals the secret on chain.5,10,11
Users still sign their branch of the tree during the round. Wallets that can’t can delegate that to co-signers; today the only co-signer is Second’s server, so delegating means trusting it for that round.11 Connectors remain in use for leaving Ark and for on-chain payments.10
Refresh, then cash the old VTXO too?
A refresh leaves Bob with a new VTXO, but his old one still has a working exit path: its pre-signed branch is still valid on Bitcoin. What stops him from refreshing and then broadcasting the old branch anyway? The forfeit he signed, and a server that watches the chain. Figure 2 plays it out.5,15
vtxo_exit_delta.The whole defence rests on one asymmetry. Bob’s own path out of the old VTXO waits 144 blocks after it confirms, while the forfeit uses the cooperative key path, which Bob already signed and which needs no wait at all.5 The server stores the forfeit as the transaction that spends Bob’s old VTXO; when that VTXO shows up on chain, its watchman broadcasts the forfeit, and it always claims a forfeit output once one confirms.15 Revealing the secret p in that claim costs the server nothing, because Bob received p when he completed the refresh.
Two variations behave differently:
- If Bob exits before signing the forfeit, the refresh never finished. There is no forfeit, so the old VTXO is genuinely his and he can take it out. But he never received p, so his round-2 VTXO stays locked, and the server sweeps it at round 2’s expiry. He ends with one coin either way.
- If the old VTXO came from an out-of-round payment, it sits below a checkpoint. The server may have to broadcast the checkpoint transaction on the way to the forfeit; checkpoints keep that to one transaction rather than a whole chain of payments.6
The Ark chapter shows the same attempt with a connector-based forfeit, as Arkade uses; the logic is the same, only what ties the forfeit to the new round differs.
Out-of-round payments
An arkoor payment spends exactly one VTXO; a payment larger than any single VTXO is split into several arkoor packages. Each goes through a checkpoint transaction with one output per destination, each spendable by the sender and server together or by the server alone at the round’s expiry height. Then one more transaction per output hands it to its owner.6
Second’s design notes give two reasons for checkpoints. Without them, a user could split a VTXO into a large tree of off-chain payments to itself, refresh them all, then exit the original, leaving the server to publish the whole tree to claim its forfeits. And one user’s exit would drag their neighbours’ coins on chain. With checkpoints, the server answers an exit by broadcasting one transaction, and other users’ coins stay in the checkpoint until expiry, as before.6
Two limits follow. The template server allows at most four outputs per input, and refuses to co-sign once a VTXO’s exit path is 100 transactions long; an ordinary arkoor hop adds two, with one more for dust isolation when needed.3,7 Outputs below twice the dust limit are moved into a separate “dust isolation” transaction so small payments don’t share a transaction with large change.6 Refreshing resets the depth.
Leaving, and Lightning
Cooperatively, an offboard swaps VTXOs for an on-chain payment, tied together with connectors.13 Alone, the user broadcasts the branch from the round output down to the VTXO, one confirmation at a time, then claims the coins after the exit delay. Other users exiting from the same round make it cheaper, because shared branches are already on chain.14
Lightning payments use special VTXOs that work as HTLCs with the Ark server, which is connected to Lightning, so users don’t manage channels.1,5
Fees. A refresh costs a liquidity fee: the amount, times the days left on the old VTXO divided by 365, times the server’s yearly rate, plus a share of the round’s on-chain fee. Second’s example: about 68 sats to refresh 100,000 sats with five days left at 5%.12
What you trust
- For board VTXOs and refresh VTXOs whose tree you signed yourself, no one, as long as you delete temporary tree-signing keys, refresh or exit before expiry, and can pay the exit fees.
- For spend VTXOs, earlier senders and the server, until you refresh.
- The server, for rounds you delegate, while it is the only co-signer.
- The server’s availability for everything but leaving alone.
The precise version
Spending policies (bark’s VtxoPolicy types):5
Template server settings (captaind.default.toml):3
Second’s documentation describes its own server as running rounds hourly with a 28-day lifetime.8,9 Tree nodes have at most four children.4
Exit depth counts the transactions between the chain and a VTXO. In bark’s test vectors a board VTXO has depth 1, a round VTXO 3, and each arkoor hop adds one checkpoint and one arkoor transaction.7
Sources
Code is cited from the GitHub mirror ark-bitcoin/bark at commit 04c5545 (9 October 2026).
- Bitcoin Magazine, “Second launches Bark on Bitcoin mainnet”, 9 June 2026.
- bark source code, ark-bitcoin/bark (also on Codeberg).
- Server configuration template: server/captaind.default.toml, lines 15–90.
- Tree radix: lib/src/tree/mod.rs, lines 6–7.
- VTXO policies: kinds, including Lightning HTLC VTXOs (lines 147–176); pubkey and checkpoint (lines 243–310); hArk leaf (lines 381–420); hArk forfeit output (lines 821–880); forfeit transaction construction (lib/src/forfeit.rs, lines 19–55).
- arkoor and checkpoints: lib/src/arkoor/mod.rs, module documentation; design notes docs/checkpoints.
- Exit depth test vectors: lib/src/vtxo/mod.rs, lines 1622–1642;
max_vtxo_exit_depthin the template. - Second documentation, “VTXOs”.
- Second documentation, “Rounds”.
- Second documentation, “Forfeits”.
- Second, “hArk explained”, 12 February 2026; changelog, 0.1.0-beta.6 (23 January 2026).
- Second documentation, “Liquidity”.
- Board and offboard flows: lib/src/board.rs; lib/src/offboard.rs.
- Second documentation, “Exit”.
- Forfeit transaction: lib/src/forfeit.rs, lines 21–55; watchman decisions for forfeited VTXOs and forfeit outputs: server/src/watchman/policy.rs, lines 92–183 and lines 344–400.
Checked 10 October 2026.