Skip to content

Conversation

@onmax
Copy link
Member

@onmax onmax commented Oct 27, 2025

Before: Missing Polygon & gasless tutorials
Expected: Complete OpenGSN v2 implementation

Changes:

  • Section 5: Polygon basics (wallet, POL, ERC20, USDT)
  • Section 6: Gasless transfers (static relay, discovery, fee optimization)
  • Follows Nimiq wallet: HttpClient + HttpWrapper, USDT nonces, MetaTransaction

Preview: https://tutorial-opengsn-gasless.pages.dev

onmax added 9 commits October 27, 2025 12:50
- Section 5: Polygon basics (intro, wallet, POL, USDC)
- Section 6: Polygon & USDC (wallet, mainnet transfers)
- Section 7: Gasless transfers (OpenGSN v2.2.6)
  - Wallet setup, intro, gasful baseline
  - Static relay, relay discovery, optimized fees
  - Following Nimiq wallet implementation patterns
L6 updates:
- use getRequiredRelayGas() from contract
- Uniswap V3 quoter for POL/USDT pricing
- reduce lookback 10h→1h

L7 new:
- USDC EIP-2612 permit approval
- transferWithPermit vs transferWithApproval
- version-based domain separator
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