Skip to content

Release v0.0.4 - #13

Merged
Will-Guan merged 13 commits into
mainfrom
release-v0.0.4
Jul 2, 2026
Merged

Release v0.0.4#13
Will-Guan merged 13 commits into
mainfrom
release-v0.0.4

Conversation

@roger-gan

Copy link
Copy Markdown
Contributor

No description provided.

app and others added 13 commits June 15, 2026 14:44
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
Will-Guan merged commit 3584517 into main Jul 2, 2026
1 of 2 checks passed
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