Skip to content

BIP 433: Add P2A BIP - #1982

Merged
Roasbeef merged 1 commit into
bitcoin:masterfrom
instagibbs:2025-09-p2a
Jan 9, 2026
Merged

Roasbeef merged 1 commit into
bitcoin:masterfrom
instagibbs:2025-09-p2a

Conversation

@instagibbs

Copy link
Copy Markdown
Member

For interoperability with other schemes, it behooves me to write a BIP for this output type. It's already standard to spend in well over half the network.

h/t roasbeef for bothering me about this repeatedly

@jonatack jonatack left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quick first pass.

Comment thread bip-paytoanchor.mediawiki Resolved
Comment thread bip-paytoanchor.mediawiki Resolved
Comment thread bip-paytoanchor.mediawiki Resolved
Comment thread bip-0433.mediawiki Resolved
Comment thread bip-0433.mediawiki

====Backward Compatibility====

Creation of P2A outputs has been considered standard since the deployment of Segwit softfork on the network.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe link here to the SegWit BIP section making them standard.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the BIPs aren't standardness BIPs, so I'm not sure that helps.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I’m not sure if the segwit BIPs (141–144) mentioned it, but BIP 173 (Bech32) states that “implementations MUST allow the use of any version”. And that recommendation is repeated in BIP 350 (bech32m), which mentions it in the Implementation advice for test vectors.

@Roasbeef Roasbeef left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for making this. Nearly done with an implementation for btcsuite.

Comment thread bip-paytoanchor.mediawiki Resolved
Comment thread bip-paytoanchor.mediawiki Resolved
Comment thread bip-paytoanchor.mediawiki Resolved
Comment thread bip-paytoanchor.mediawiki Resolved
Comment thread bip-paytoanchor.mediawiki Resolved
Comment thread bip-0433.mediawiki Resolved

@murchandamus murchandamus left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks pretty good already. I got a bag of nits for you.

Comment thread bip-paytoanchor.mediawiki Resolved
Comment thread bip-paytoanchor.mediawiki Resolved
Comment thread bip-paytoanchor.mediawiki Resolved
Comment thread bip-paytoanchor.mediawiki Resolved
Comment thread bip-paytoanchor.mediawiki Resolved
Comment thread bip-paytoanchor.mediawiki Resolved
Comment thread bip-paytoanchor.mediawiki Resolved
Comment thread bip-0433.mediawiki

====Backward Compatibility====

Creation of P2A outputs has been considered standard since the deployment of Segwit softfork on the network.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I’m not sure if the segwit BIPs (141–144) mentioned it, but BIP 173 (Bech32) states that “implementations MUST allow the use of any version”. And that recommendation is repeated in BIP 350 (bech32m), which mentions it in the Implementation advice for test vectors.

Comment thread bip-0433.mediawiki Resolved
Comment thread bip-paytoanchor.mediawiki Resolved
@Roasbeef

Roasbeef commented Dec 9, 2025 •

Copy link
Copy Markdown
Contributor

This BIP has been assigned number 433!

(can update the readme in the PR to reflect assignment)

@Roasbeef Roasbeef changed the title Add P2A BIP BIP 433: Add P2A BIP Dec 9, 2025
@murchandamus

Copy link
Copy Markdown
Member

Please add an entry to the table in the README.md for your BIP, add the number to the preamble, and update the “Created” header to 2025-12-08.

@instagibbs
instagibbs force-pushed the 2025-09-p2a branch 2 times, most recently from 7ab1a16 to 3afec38 Compare December 9, 2025 16:05
@instagibbs

Copy link
Copy Markdown
Member Author

Thanks for the review and number!

@murchandamus murchandamus left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good to me. ACK ab9bc69

@Roasbeef Roasbeef left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🌉

@Roasbeef
Roasbeef merged commit 1a75a3d into bitcoin:master Jan 9, 2026
4 checks passed
glozow added a commit to bitcoin/bitcoin that referenced this pull request Jan 11, 2026
44b12cd doc: add 433 (Pay to Anchor) to bips.md (Sebastian Falbesoner)

Pull request description:

  See PR bitcoin/bips#1982 (merged recently) and #30352 (first released in v28.0).

ACKs for top commit:
  instagibbs:
    ACK 44b12cd
  glozow:
    ACK 44b12cd

Tree-SHA512: 0389bfd9b57a354ef15eff726783c83969586a73de52d27b6d3b042dba14c1361af29303b6ce42330a841310811a81c5e45b5c7d25e307787f1cfbfd75ab3e62
Kino1994 pushed a commit to Kino1994/bitcoin-full-history that referenced this pull request Jun 28, 2026
6032ba3 doc: add 433 (Pay to Anchor) to bips.md (Sebastian Falbesoner)

Pull request description:

  See PR bitcoin/bips#1982 (merged recently) and #30352 (first released in v28.0).

ACKs for top commit:
  instagibbs:
    ACK 6032ba3
  glozow:
    ACK 6032ba3

Tree-SHA512: 0389bfd9b57a354ef15eff726783c83969586a73de52d27b6d3b042dba14c1361af29303b6ce42330a841310811a81c5e45b5c7d25e307787f1cfbfd75ab3e62
BigcoinBGC pushed a commit to BigcoinBGC/bigcoin that referenced this pull request Jun 30, 2026
d31b5ff doc: add 433 (Pay to Anchor) to bips.md (Sebastian Falbesoner)

Pull request description:

  See PR bitcoin/bips#1982 (merged recently) and #30352 (first released in v28.0).

ACKs for top commit:
  instagibbs:
    ACK d31b5ff
  glozow:
    ACK d31b5ff

Tree-SHA512: 0389bfd9b57a354ef15eff726783c83969586a73de52d27b6d3b042dba14c1361af29303b6ce42330a841310811a81c5e45b5c7d25e307787f1cfbfd75ab3e62
Kino1994 pushed a commit to Kino1994/bitcoin-full-history that referenced this pull request Aug 19, 2026
44b12cdb11f0fd3264f24f537a5d6989e4fe96a9 doc: add 433 (Pay to Anchor) to bips.md (Sebastian Falbesoner)

Pull request description:

  See PR bitcoin/bips#1982 (merged recently) and #30352 (first released in v28.0).

ACKs for top commit:
  instagibbs:
    ACK 44b12cdb11f0fd3264f24f537a5d6989e4fe96a9
  glozow:
    ACK 44b12cdb11f0fd3264f24f537a5d6989e4fe96a9

Tree-SHA512: 0389bfd9b57a354ef15eff726783c83969586a73de52d27b6d3b042dba14c1361af29303b6ce42330a841310811a81c5e45b5c7d25e307787f1cfbfd75ab3e62
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants