Add BRC-146: Miner-Enforced Resale-Royalty Covenant Tokens (OP_PUSH_TX) - #179
Merged
Merged
Conversation
A class of self-replicating covenant tokens whose resale terms are enforced by miners: every spend re-creates the token for its new holder and pays fixed royalty/creator outputs to immutable addresses, so a resale that omits or redirects a payout is an invalid transaction. Two profiles on one mechanism — single-payee (publisher + holder fee; deployed on mainnet) and multi-payee (N genesis-bound creator payouts; interpreter-proven). Self-verifying (bind to genesis + one Merkle proof, no lineage walk). Adds tokens/0146.md + README and SUMMARY index rows.
…itives the covenant builds on
Collaborator
|
Merged as BRC-226 (renumbered from proposed BRC-146), commit 5219919 on master. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds BRC-146: Miner-Enforced Resale-Royalty Covenant Tokens (OP_PUSH_TX) — a class of self-replicating covenant tokens whose resale terms are enforced by miners, not a platform. Every spend re-creates the token for its new holder and pays fixed royalty/creator outputs to immutable addresses, so a resale that omits, reorders, underpays, or redirects a payout is an invalid transaction. The terms are unstrippable and travel with the coin.
One mechanism, two profiles:
@bsv/sdkScript interpreter; ready for deployment.Tokens are self-verifying: identity binds to a genesis transaction, confirmed by a single Merkle proof (BUMP / BRC-74), with no lineage walk — the Merkle Proof Token (BRC-113) principle. No BEEF/ancestor chain required.
Numbering: 145 is claimed by the BMF PR (#177), 141–144 by other open PRs; highest merged is 140, so 146 is next-free. Filed under
tokens/beside MPT (BRC-113).Reference implementation (open source, mainnet): https://github.com/sun-dive/PharLap —
src/pushtx.ts(OP_PUSH_TX),src/covenant.ts(single-payee + quine),src/bundleCovenant.ts(multi-payee); both profiles validated end-to-end with negative tests.