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
Implement a USDT crypto payment intake flow for MergeOS so customers can fund projects through supported crypto payment gateways, the gateway can send a verified callback/webhook to the backend server, and MergeOS can update project payment state, MRG token credit, admin review, and public proof ledger records safely.
Scope
Support USDT payment intake through a configurable crypto payment gateway provider.
Add a provider abstraction so additional coin payment gateways can be added later without rewriting the funding flow.
Provide sandbox/test-mode configuration through environment variables or documented local config.
Add a backend callback/webhook endpoint for payment status updates.
Verify gateway callback signatures or shared secrets before mutating payment state.
Handle idempotency so repeated callbacks do not mint duplicate MRG credit or duplicate ledger entries.
Map gateway statuses into MergeOS payment states such as pending, confirmed, expired, failed, or refunded where applicable.
Store sanitized proof metadata for admin review and the public proof ledger without leaking private customer data or gateway secrets.
Keep real production crypto credentials out of the repository.
Sandbox/Test Requirements
Include a documented sandbox/test configuration path for local development.
If the selected gateway does not provide a real sandbox, include a deterministic mock/test provider that exercises the same server callback flow.
Provide sample non-secret environment variable names for the provider, webhook secret, callback URL, and default USDT network.
Include tests or a clear local verification script for successful, failed, duplicate, and invalid-signature callbacks.
Bounty Reward
Reward: 1000 MRG
Goal
Implement a USDT crypto payment intake flow for MergeOS so customers can fund projects through supported crypto payment gateways, the gateway can send a verified callback/webhook to the backend server, and MergeOS can update project payment state, MRG token credit, admin review, and public proof ledger records safely.
Scope
Sandbox/Test Requirements
Acceptance Criteria
Required PR Evidence
Every PR for this bounty must include:
Labels
bounty,bounty: feature,payment,crypto,usdt,webhook,sandbox,reward:1000-mrg,evidence: missing