Connector Output

A linking output in Ark that binds an on-chain transaction to off-chain state so neither can be replayed alone.

Basically

A connector output links an Ark round on Bitcoin to a transfer outside the blockchain. It makes both happen together and stops double-spending without Lightning-style penalties.

Key Takeaways

  • A connector output is a small-value UTXO, typically at the dust limit, in an Ark round transaction. It creates a spending dependency between on-chain confirmation and off-chain state transitions.
  • Connector outputs solve the atomicity problem. Your forfeit transaction gives up your old VTXO and is only valid if the round transaction that creates your new VTXOs has confirmed on-chain, so neither side can cheat.
  • Connector outputs enforce conditional transaction validity, unlike Lightning's anchor outputs, which handle fee bumping. The result is trustless double-spend prevention without penalty mechanisms.

What Is a Connector Output?

A connector output is a special Bitcoin transaction output used in the Ark protocol to cryptographically bind off-chain VTXO transfers to on-chain transactions. It is a small-value UTXO, often at the dust limit of around 294 sats for SegWit outputs, and carries no meaningful financial value itself. Its role is entirely structural: it makes a forfeit transaction valid only when the corresponding round transaction has been confirmed on the Bitcoin blockchain.

Burak Keceli introduced the concept in his original Ark protocol proposal on the bitcoin-dev mailing list in May 2023. Connector outputs address a fundamental challenge in shared UTXO models: giving up an old off-chain coin and receiving a new one atomically, without trusted intermediaries or Lightning-style penalty mechanisms.

The Ark protocol uses connector outputs. See the Ark protocol deep dive for a comprehensive overview of how it works.

How It Works

Ark uses a round-based transaction model in which an Ark Service Provider (ASP) periodically creates round transactions that batch multiple users' off-chain transfers. Each round replaces old VTXOs (virtual UTXOs) with new ones. You must give up your old VTXOs by signing forfeit transactions, but you need assurance that your new VTXOs will be created before the forfeits become valid.

Connector outputs solve this in three steps. You pre-sign the forfeit, the round transaction confirms and makes the connector output spendable, then the ASP co-signs the forfeit.

The connector output only exists as a spendable UTXO after the round transaction confirms on-chain, so the forfeit transaction cannot be executed unless the new VTXOs have also been created. Either the entire round completes, with new VTXOs created and old VTXOs forfeitable, or nothing happens.

Round Transaction Structure

The ASP creates each round transaction with a specific structure. Its inputs come from the ASP's liquidity pool, and its outputs fan out into two covenant trees.

Each connector output is a singlesig output that only the ASP can spend. The connector tree mirrors the input VTXOs, with one connector for each VTXO consumed in the round.

Forfeit Transaction Structure

For each input VTXO, you pre-sign a forfeit transaction before the round is broadcast. It covers the old VTXO and the matching connector output.

Your SIGHASH_ALL signature covers both inputs. The ASP later co-signs the multisig VTXO input and the singlesig connector input, but only after the round transaction confirms because the connector UTXO does not exist until then.

Why Connector Outputs Prevent Double-Spending

Lightning Network channels prevent double-spending with penalties. If one party broadcasts a revoked commitment transaction, the counterparty can claim all funds through a justice transaction, but this requires constant monitoring or watchtowers and relies on a game-theoretic deterrent.

Ark uses forfeit-based revocation instead. Its connector outputs make the forfeit conditional on the round transaction rather than punishing a party after a revoked state is broadcast.

The forfeit transaction is a pre-authorised conditional transfer, not a punishment for misbehaviour. There is no penalty multiplier, no need for continuous watchtower monitoring, and no game-theoretic bluffing. The connector dependency guarantees atomicity, and the forfeit gives the ASP insurance against double-spending.

Connector Outputs vs. Anchor Outputs

Connector outputs and anchor outputs are both small-value UTXOs in layer-2 protocols. They solve entirely different problems.

Lightning introduced anchor outputs so pre-signed transactions could still be confirmed when on-chain fees spike. Connector outputs solve a structural problem in shared UTXO models: they make state transitions atomic across on-chain and off-chain layers.

Ark Round Participation

Connector outputs are mainly used in standard Ark rounds. Every time you transfer VTXOs through the ASP, they make the transfer atomic. You can safely sign a forfeit for your old VTXO because it cannot be executed unless you receive new VTXOs in the same round.

Connector Swaps

Connector outputs can also support atomic swaps between protocols. Two parties can use one as an input to a swap transaction, making the cross-protocol exchange conditional on on-chain confirmation. This is conceptually similar to HTLC-based atomic swaps on Lightning, but it uses transaction structure rather than hash-locked contracts.

Offboard Payments

Connector outputs make offboarding atomic when you move funds from Ark back to the Bitcoin base layer. The on-chain payment and VTXO consumption happen together, so you do not risk losing your VTXO without receiving the on-chain payment.

Evolution and Protocol Improvements

The connector output mechanism has evolved since Ark's initial design. Version v0.5.0 moved from linear connector chains to connector trees.

Future Bitcoin covenant opcodes could enhance connector outputs further. SIGHASH_ANYPREVOUT (BIP-118) could enable non-interactive round participation by letting connectors bind to any transaction matching a given template, removing the need for all users to be online simultaneously during a round. OP_CHECKTEMPLATEVERIFY (BIP-119) could constrain transaction outputs directly and streamline the connector mechanism.

ASP Trust Assumptions

Connector outputs are singlesig and spendable only by the ASP, so the connector mechanism alone does not protect you if the ASP colludes or acts maliciously. You can still unilaterally exit your VTXOs on-chain after the timeout period, which bounds the damage an ASP can cause. The ASP cannot steal funds; at worst, it can refuse to cooperate and force you to wait for timeout-based recovery.

On-Chain Footprint

Each Ark round produces one connector output for every input VTXO consumed. Each connector has a dust-limit value, but rounds with many participants create proportionally more on-chain data. The move from linear connector chains to connector trees in v0.5.0 improved efficiency, but large rounds still need significant block space for the connector tree.

Interactivity Requirement

Without covenant opcodes, all VTXO recipients in a round must co-sign the round transaction and be online simultaneously. Covenant proposals like APO and CTV could address this practical constraint by letting connector outputs reference transaction templates rather than specific transaction IDs.

Timeout and Liquidity

VTXOs created in a round expire after a timeout period, typically four weeks. Before expiry, you must join a new round to refresh your VTXOs or unilaterally exit on-chain. This creates a recurring liquidity requirement for both users and the ASP, unlike Lightning channels, where state can persist indefinitely.

The glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.

0

← All 1876 glossary terms