Skip to content

Clawback v1 - #815

Open
Jsewill wants to merge 13 commits into
xch-dev:mainfrom
Jsewill:clawback_v1
Open

Clawback v1#815
Jsewill wants to merge 13 commits into
xch-dev:mainfrom
Jsewill:clawback_v1

Conversation

@Jsewill

@Jsewill Jsewill commented Aug 12, 2026

Copy link
Copy Markdown

Stuff for clawback v1 support.

See companion PR at xch-dev/chia-wallet-sdk#424

Abraham Sewill added 13 commits December 3, 2025 02:49
…d to the clawbacks table and on CoinRecord.
…. Continued work toward clawbackv1 claiming.
Bring clawback_v1 up to date with main (SDK 0.33+, complete_spends prepare/spend
refactor, create_transaction, apps work) while retaining V1 version column, claim
path, and ClawbackV1 child kind scaffolding.
Sync V1 coins via REMARK parse, keep custody on the sender until claim,
enable claim/claw-back/finalize UI eligibility, and pin the local SDK
with parse_child and claim helpers. Sage still only issues V2 clawbacks.
Mempool confirmation now matches the correct coin and only drops pending
state on real on-chain updates, so claw-backs no longer flash as available
mid-flight. Also wire claim ACL/fees, keep V1 coins listed for both parties,
and show Spent/Pending in the clawback table.
V1 stores a relative timelock, so formatting it as unix produced epoch dates.
V1 senders can claw anytime until claimed; unlock times use numeric
birth+timelock math. V2 receivers see pending coins again before expiry.
Align claim UI with backend when block time is missing, require on-chain
confirmation before claim, and block clawback actions on offer-locked coins.
Replace the local path dependency with Jsewill/chia-wallet-sdk at a321b8c.
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