HomePhabricator

[ecash-agora] Add `AgoraPartial.script` to build the Script for partial SLP…

Description

[ecash-agora] Add AgoraPartial.script to build the Script for partial SLP offers

Summary:
Add a function building the SLP version of the script for offers that can be partially accepted.

This doesn't add a way of spending them yet, and tests are more to "pin" the script code (which is important, so future refactors don't change the script code), than to actually test if they work as intended. All of which will be added in a future diff.

Depends on D16735.

Test Plan: npm run test

Reviewers: bytesofman, #bitcoin_abc

Reviewed By: bytesofman, #bitcoin_abc

Differential Revision: https://reviews.bitcoinabc.org/D16743

Details

Provenance
tobias_ruckAuthored on Sep 10 2024, 22:24
tobias_ruckPushed on Sep 24 2024, 07:14
Reviewer
Restricted Project
Differential Revision
D16743: [ecash-agora] Add `AgoraPartial.script` to build the Script for partial SLP offers
Parents
rABC8eb49c5bc9c9: [Cashtab] Do not render parenthesis around non-existent NFT tickers
Branches
Unknown
Tags
Unknown