You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Code Example: Express REST API now includes x402
#11
This enables end users to purchase EVMAuth tokens using ERC-20 tokens (e.g. USDC, USDT, PYUSD), via the ERC-3009 "Transfer With Authorization" standard.
There is currently just one minor quirk, which was reported to the x402 team. Despite that, it still works as expected.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
We've added a working example of the x402 protocol to the EVMAuth TypeScript SDK + Express v5 code example:
evmauth-ts/examples/express/src/middleware.ts
Lines 37 to 55 in ac8a9f0
This enables end users to purchase EVMAuth tokens using ERC-20 tokens (e.g. USDC, USDT, PYUSD), via the ERC-3009 "Transfer With Authorization" standard.
There is currently just one minor quirk, which was reported to the x402 team. Despite that, it still works as expected.
All reactions