Skip to content

Migrate x402 payments to official Core and TRON 2.1 beta - #1037

Open
boboliu-1010 wants to merge 2 commits into
tronprotocol:developfrom
boboliu-1010:feat/x402-sdk21-beta
Open

boboliu-1010 wants to merge 2 commits into
tronprotocol:developfrom
boboliu-1010:feat/x402-sdk21-beta

Conversation

@boboliu-1010

@boboliu-1010 boboliu-1010 commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Use official x402 Core, EVM and fetch packages with TRON 2.1.0-beta.3 and its independent resource sponsoring extension. Wallets with sufficient Permit2 allowance omit unused Approval declarations. Mixed hexadecimal/decimal TRON offers remain selectable under spend controls, and the SDK dependency graph is bundled for npm consumers.

Validation:

  • Full suite after syncing the latest develop: 4,825 passed, 2 existing skips.
  • Typecheck, lint, formatting, dependency boundaries and build passed after syncing the latest develop.
  • Independently installed npm package verification: 88 passed.
  • Production dependency audit: zero high or critical vulnerabilities; 11 low and 6 moderate reports remain.
  • Earlier integration acceptance covered 14 CLI → upgraded Gateway → Facilitator HTTP/database/signature checks with isolated chain I/O.
  • Live Nile acceptance on the current CLI commit covered ordinary Permit2, GasFree, existing allowance and first Approval resource sponsoring through both upgraded local services. Each settled and delivered real DefiLlama data; payment receipts, local settlement records and sponsored Energy reclaim were confirmed. GasFree retains the official authenticated relayer proxy; verification and settlement run locally.

@boboliu-1010
boboliu-1010 marked this pull request as ready for review October 20, 2026 08:19
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