Skip to content

token and dep update#54

Merged
kylexqian merged 13 commits intomainfrom
ani/token-update
Apr 21, 2026
Merged

token and dep update#54
kylexqian merged 13 commits intomainfrom
ani/token-update

Conversation

@dixitaniket
Copy link
Copy Markdown
Collaborator

No description provided.

adambalogh
adambalogh previously approved these changes Apr 21, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the gateway’s x402/OG payment stack to a newer og-x402 prerelease, switches payment configuration from Base testnet to Base mainnet (network + token + default recipient), and updates the server route payment configuration accordingly.

Changes:

  • Bump og-x402[evm] from 0.0.1.dev6 to >=0.0.1.dev9 and update uv.lock (including new nest-asyncio dependency).
  • Migrate constants from Base testnet to Base mainnet (network ID, OPG token address, default payment recipient).
  • Update x402 route configs to use mainnet + new token address and enable the ERC20 approval gas sponsoring extension.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
uv.lock Locks new og-x402 version and adds nest-asyncio as a resolved dependency.
pyproject.toml Loosens og-x402[evm] dependency to >=0.0.1.dev9.
tee_gateway/definitions.py Updates network/token constants and default payment address to Base mainnet values.
tee_gateway/__main__.py Registers x402 schemes for mainnet, updates route payment config, and adds gas sponsoring extension.
tests/test_pricing.py Updates tests to reference the new mainnet OPG token constant.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tee_gateway/__main__.py
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@kylexqian kylexqian merged commit 8e74b4d into main Apr 21, 2026
8 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.

4 participants