Release v0.0.4 - #13
Merged
Merged
Conversation
feat: Add x402 Permit2 proxy & batch-settlement contracts (v0.0.4)
…loy addresses Point x402ExactPermit2Proxy and x402UptoPermit2Proxy deploy scripts at the Tron Permit2 address TYQuuhGbEMxF7nZxUHV3uHJxAVVAegNU9h (0xf62f506D1FaA02e2354a9886B4A200496EE96F4b), and update the README with the freshly deployed Nile addresses for the three contracts. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Replace OZ SafeERC20.safeTransfer with sun-contract-std SafeTransferLib in x402BatchSettlement and ERC3009DepositCollector for TRON-safe token handling (USDT non-standard return). Wrap calls in a TransferFailed revert since the lib returns a bool instead of reverting. Update README Nile addresses for the redeployed x402BatchSettlement, ERC3009DepositCollector, and Permit2DepositCollector. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- Add TRON-PRO-API-KEY header (TRONGRID_API_KEY) to tron/nile/shasta networks - Skip legacy PaymentPermit in deploys - Select Permit2 address per network (mainnet/Nile) in Permit2DepositCollector - Record TRON mainnet addresses in README Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…ddresses - Remove EVM proxy/batchSettlement deploy scripts (deploy/02-04); keep only PaymentPermit - README: note BSC contracts are deployed from x402-foundation/x402 (CREATE2), addresses for reference - README: record BSC Testnet x402BatchSettlement + deposit collector addresses - Add bscTestnet network to hardhat.config.ts Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Rewrite README sections (Features, Architecture, Project Layout, Integration, Security) to describe the current x402 Permit2 proxy and batch-settlement contracts instead of the legacy PaymentPermit design. Drop stale AGENTS.md and add CLAUDE.md with repo guardrails. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Record the redeployed x402ExactPermit2Proxy and x402UptoPermit2Proxy contracts wired to mainnet Permit2. Co-authored-by: Cursor <cursoragent@cursor.com>
Will-Guan
approved these changes
Jul 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.