Repository navigation
feat(mandala): BRC-162 tokens via @bsv/mandala 0.3.0 - #35
Merged
Merged
Conversation
- vendor bsv-mandala-0.3.0.tgz; peer ^0.3.0; @bsv/templates ^2.0.0; @bsv/sdk ^2.8.11 (lib floor) with the sdk patch carried to 2.8.11 - core/mandala/token.ts: MandalaToken shim over Bsv21Binary (value-role outputs only are coins); all decode/lock sites use it - σI v3: submitToOverlay names [tokenTopic(assetId)] derived from the tx's token outputs; AdmissionEntryWire gains optional topic; the verifier derives it from the frame asset, settlement asset, or local tx bytes - SettleArgs.assetId threaded through the inbox pre-hold - assetId format <deployTxid>_0 in validators (peerpay URI, session codec), demo assets and test fixtures Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Ports the wallet to
@bsv/mandala0.3.0, the BRC-162 version of the Mandala token library, matching the new Go overlay (bsv-blockchain/mandalamaster).Changes
bsv-mandala-0.3.0.tgz(replaces 0.2.0); toolbox peer range^0.3.0;@bsv/templates^2.0.0.@bsv/sdk^2.8.11 (required by the lib);patches/@bsv+sdk+2.8.11.patchrenamed from 2.8.2 and applies cleanly.core/mandala/token.ts: BRC-162 (Bsv21Binary) decode/lock; only value-role outputs count as coins.tm_<deployTxid>; σI verified with the v3 per-topic digest.<deployTxid>_0(peerpay URI and localpay validators updated).Testing
Caveats
.0assetIds/8-chunk coins no longer verify or decode; a fresh install is clean. No migration included.🤖 Generated with Claude Code