Ephemeral Anchor

A zero-value output that anyone can spend, added purely so fees can be attached later.

Basically

An ephemeral anchor is a transaction output that contains no bitcoin and can be spent by anyone. It lets you add fees to a shared transaction, such as a Lightning commitment transaction, when you broadcast it.

Key Takeaways

  • An ephemeral anchor adds a tiny output that anyone can spend to a transaction. Any party can attach a child-pays-for-parent (CPFP) fee bump without special keys or signatures.
  • Ephemeral anchors use TRUC (v3) transactions and the ephemeral dust policy. The anchor output must be spent in the same package, so it never bloats the UTXO set.
  • For Lightning, ephemeral anchors replace the current two-anchor design on commitment transactions and remove the update_fee negotiation. Either channel party, or a watchtower, can fee-bump at broadcast time.

What Is an Ephemeral Anchor?

An ephemeral anchor is a special transaction output that is created and spent atomically within the same transaction package. It uses the Pay-to-Anchor (P2A) script type defined in BIP 433: a 4-byte witness v1 output, OP_1 <0x4e73>, that anyone can spend without a signature. The output can carry zero value and exists only to give any party a hook for attaching a CPFP fee-bumping child transaction.

Gregory Sanders (instagibbs) proposed the concept in October 2022 to solve a persistent problem in multi-party Bitcoin protocols: letting multiple participants independently fee-bump a shared transaction without introducing transaction pinning vulnerabilities. The answer combines TRUC transaction topology rules (BIP 431), the P2A output type (BIP 433) and the ephemeral dust relay policy introduced in Bitcoin Core 29.0.

How It Works

Ephemeral anchors combine three interlocking mechanisms. Together, they enable trustless, keyless fee bumping.

TRUC Transactions (BIP 431)

A TRUC transaction sets nVersion=3. The setting opts into strict topology rules enforced by the mempool.

The 1-parent-1-child rule is critical because it prevents an adversary from attaching junk descendants that block the honest party from adding their own CPFP child. The rule targets the core of package-limit pinning attacks.

Pay-to-Anchor Output (BIP 433)

The P2A output type uses the script OP_1 <0x4e73>, a witness v1 program with a 2-byte data push. Spending it requires no signature or witness data, so the witness is empty. On mainnet, the output encodes to the bech32m address bc1pfeessrawgf.

Anyone can spend a P2A output, so any participant in a shared protocol, or even an unrelated third party, can create the fee-bumping child transaction. The original signers do not need to provide private keys.

Ephemeral Dust Policy

Bitcoin nodes normally reject transactions with outputs below the dust threshold to prevent UTXO set bloat. The ephemeral dust policy, shipped in Bitcoin Core 29.0, creates a targeted exemption.

The rules guarantee that the dust output is ephemeral: it is created and destroyed in the same package and never persists in the UTXO set. The zero-fee requirement makes confirming the parent alone economically irrational for a miner, because it would earn no fees while adding a dust output to the UTXO set.

Putting It Together

A transaction using an ephemeral anchor follows a complete flow. TRUC topology rules, the P2A output and the ephemeral dust policy work together in that flow.

Why It Matters for Lightning

The Lightning Network is the primary beneficiary of ephemeral anchors. Ephemeral anchors resolve several problems with current anchor outputs on commitment transactions.

The Problem with Current Anchors

Each commitment transaction currently includes two 330-satoshi anchor outputs, one controlled by each channel party. The design has significant drawbacks.

The Ephemeral Anchor Solution

Ephemeral anchors turn the commitment transaction into a zero-fee TRUC transaction with a single P2A output. The design improves on current anchors in several ways.

Implementation Status

Ephemeral anchors required changes at both the Bitcoin base layer and the Lightning protocol level. The rollout has been incremental.

Bitcoin Core

Bitcoin Core 29.0 provides all three components on mainnet as standard relay policy. These components are TRUC, P2A and ephemeral dust.

Lightning Protocol

Bastien Teinturier (t-bast) authored the Lightning specification for zero-fee commitment transactions using ephemeral anchors in BOLTs #1228. The specification was merged in May 2026 and introduces a new channel type, feature bits 40/41, that uses TRUC commitment transactions with a single P2A ephemeral anchor.

LDK shipped support for zero-fee-commitment channels in version 0.2 in December 2025, and Eclair began integrating support in early 2026. Core Lightning has experimental support in development.

Lightning Channel Management

The primary use case is fee bumping Lightning commitment transactions during a force-close. When a channel closes uncooperatively, the party broadcasting the commitment transaction needs prompt confirmation. With ephemeral anchors, that party sets the fee at broadcast time by attaching a CPFP child to the P2A output, rather than relying on a feerate negotiated days or weeks earlier.

Watchtower Fee Bumping

Watchtowers monitor channels and broadcast justice transactions when they detect fraud. Under the current anchor design, watchtowers need channel-specific keys to spend a party's anchor. With ephemeral anchors, a watchtower needs only the pre-signed commitment transaction and a funded wallet to create the CPFP child, which simplifies watchtower architecture.

Multi-Party Protocols

Any protocol where multiple parties share a pre-signed transaction benefits from ephemeral anchors. These protocols include channel factories, CoinJoin transactions and Ark round transactions. The anyone-can-spend property means participants do not need to coordinate fee decisions at signing time.

Layer 2 Protocols

Bitcoin layer 2 protocols like Spark benefit from a more efficient on-chain fee market. Cheaper and more reliable force-close transactions improve the trust assumptions for off-chain protocols, because users can be more confident that their on-chain fallback will confirm in a timely manner, regardless of fee market conditions.

Policy vs. Consensus

The ephemeral dust exemption is a relay policy rule, not a consensus rule. Miners are technically free to confirm a zero-fee parent transaction without including the child that spends the P2A output. The zero-fee requirement makes this economically irrational, because a miner would earn nothing while adding a dust output to the UTXO set.

MEV Concerns

An ephemeral anchor with a non-zero value, for example from trimmed HTLC amounts, could let a counterparty or third party claim those funds by spending the P2A output. The Lightning specification addresses this by capping the ephemeral anchor value at 240 satoshis, the P2A dust threshold. Trimmed HTLC values already go to miners under the current protocol, so this does not introduce a new loss vector.

Adoption Timeline

Ephemeral anchors require upgraded Bitcoin Core nodes (29.0+) for relay and upgraded Lightning implementations for channel support. Transactions using ephemeral anchors may face propagation challenges until a critical mass of nodes supports TRUC and package relay. The new channel type also requires both peers to support feature bits 40/41, so adoption will be gradual as implementations roll out support.

Child Transaction Cost

The fee-bumping child must spend the P2A output, approximately 41 vbytes, and include its own inputs and change output. In practice, the party broadcasting the commitment transaction needs a confirmed UTXO available to fund the child. The requirement is similar to the current anchor output requirement but remains an operational consideration for mobile wallets and lightweight nodes.

Comparison: Current Anchors vs. Ephemeral Anchors

The research article on Lightning v3 transactions and package relay explains how these mechanisms work together to enable ephemeral anchors. You can also read more about fee-bumping techniques, including RBF and CPFP.

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