Skip to content

feat: XLS-93d: Token-Enabled Payment Channels - #7935

Open
dangell7 wants to merge 14 commits into
developfrom
token-paychan
Open

feat: XLS-93d: Token-Enabled Payment Channels#7935
dangell7 wants to merge 14 commits into
developfrom
token-paychan

Conversation

@dangell7

@dangell7 dangell7 commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

High Level Overview of Change

Token-Enabled Payment Channels (XLS-93d). Extends payment channels to IOUs and MPTs the same way XLS-85 extended escrows, reusing the issuer opt-in flags and the locked-amount accounting introduced there.

This is the XRPLF-branch move of #5448. PaymentChannelClawback is split into a stacked PR that merges into this branch; it is part of the same featureTokenPaychan amendment, so it lands before activation.

Context of Change

Payment channels were the last XRP-only locking primitive. This mirrors XLS-85: issuers opt in with lsfAllowTrustLineLocking / lsfMPTCanEscrow, locked value is tracked in sfLockedAmount, and the shared lock/unlock helpers are reused so escrow and payment channels behave identically under the same token conditions.

API Impact

  • Public API: New feature (new fields on the PaymentChannel transactions and ledger object)
  • libxrpl change

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

This PR has conflicts, please resolve them in order for the PR to be reviewed.

# Conflicts:
#	include/xrpl/protocol/detail/features.macro

@xrplf-ai-reviewer xrplf-ai-reviewer Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clean, thoughtful implementation that extends existing patterns well. No issues to flag.

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

All conflicts have been resolved. Assigned reviewers can now start or resume their review.

@xrplf-ai-reviewer xrplf-ai-reviewer Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks solid. Ready to merge.

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.

2 participants