Motivation
GoodWidget needs Worker APIs beyond credit ingestion: users should see history and funding status, onboard the AntSeed buyer operator, withdraw principal, and manage payment channels.
Chain reads and EIP-712 signing payloads are handled in the UI via direct RPC calls. The Worker exposes KV-backed reads and on-chain write/submit endpoints only.
Details
History — Paginated credit/transaction list from KV (gdCredits), with optional filters for funding status.
Operator onboarding — EIP-712 consent flow so the buyer accepts AntseedBuyerOperator on Base before deposits are funded.
Motivation
GoodWidget needs Worker APIs beyond credit ingestion: users should see history and funding status, onboard the AntSeed buyer operator, withdraw principal, and manage payment channels.
Chain reads and EIP-712 signing payloads are handled in the UI via direct RPC calls. The Worker exposes KV-backed reads and on-chain write/submit endpoints only.
Details
History — Paginated credit/transaction list from KV (gdCredits), with optional filters for funding status.
Operator onboarding — EIP-712 consent flow so the buyer accepts AntseedBuyerOperator on Base before deposits are funded.