Skip to content

Num trading - #199

Merged
buffrr merged 2 commits into
spacesprotocol:subspacesfrom
buffrr:num-trading
Aug 14, 2026
Merged

Num trading#199
buffrr merged 2 commits into
spacesprotocol:subspacesfrom
buffrr:num-trading

Conversation

@buffrr

@buffrr buffrr commented Aug 14, 2026

Copy link
Copy Markdown
Member

No description provided.

buffrr added 2 commits August 14, 2026 16:45
Add `walletfundtransfer`: fund and broadcast one or more
externally-signed transfer PSBTs (single input/output, signed with
SIGHASH_SINGLE|ANYONECANPAY, input value == output value) as a single
transaction.

Generalize buy/sell/verify_listing to nums: `Listing.space` becomes
`subject` (with a serde alias for back-compat) and resolves @space,
#numeric, or num1... A num sale delivers to the buyer's N+1 output and
requires a non-zero price. `walletbuy` gains an optional `recipient` so a
buyer can fund a purchase and deliver the handle to an external keystore.

Add `sign_transfer` (+ regtest `debugsigntransfer`) to produce transfer
PSBTs. Update the RPC schema docs. Covered by unit tests (PSBT validation,
incl. a real nacho transfer PSBT) and regtest integration tests (single +
batch fundtransfer, num sell/buy via numeric and num-id subjects, external
delivery).
@buffrr
buffrr merged commit cab5cee into spacesprotocol:subspaces Aug 14, 2026
9 checks passed
@buffrr
buffrr deleted the num-trading branch August 14, 2026 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant