About the project
What we built
DYNEXA is an AI-powered Web3 rewards infrastructure that allows brands to create loyalty campaigns and automatically reward customers with USDT after they complete a real world action, such as purchasing a product and uploading a receipt.
The entire wallet and blockchain experience is abstracted from the user. Customers register with a phone number or email, receive a real WDK-powered wallet in the background, and can earn or send rewards without managing seed phrases or manually acquiring ETH.
How it works?
- A business creates a reward campaign, defining the product, reward amount, budget, participant limits and security rules.
- DYNEXA provisions an isolated campaign wallet using Tether WDK.
- A customer registers and receives a WDK powered user wallet automatically.
- The customer uploads a photo of a receipt or purchase evidence.
- OpenAI Vision checks whether the evidence matches the campaign requirements.
- Deterministic security rules verify the reward amount, campaign budget, user limits and recipient allowlist.
- WDK first performs a dry-run to preview the transaction and fees.
- If every rule passes, WDK executes the real USDT payment.
- The application displays the transaction hash and provides a direct link to Sepolia Etherscan for independent verification.
Tether WDK integration
DYNEXA integrates the WDK CLI through a dedicated backend service. It uses execFile not shell command strings to prevent command injection.
The production flow uses WDK to:
- Create, unlock, lock and delete wallets.
- Obtain wallet addresses and on-chain balances.
- Provision separate wallets for campaigns and users.
- Preview token transfers with
dry-run. - Execute real USDT reward payments.
- Sponsor native gas from a dedicated treasury wallet when required.
Every parsed WDK response includes the literal command executed. The frontend displays this information in a “What WDK CLI just did” panel, making the integration transparent and easy understand
The repository also includes standalone WDK MCP demonstrations that connect to the official WDK MCP server, list its available tools, retrieve balances and preview token transfers. A separate smart-account demonstration documents WDK’s preconfigured paymaster flow for gasless transactions.
AI with deterministic guardrails
The AI never chooses the reward amount and cannot authorize a payment by itself. Its only responsibility is validating the submitted evidence.
Before WDK can move funds, a deterministic security layer checks:
- Global kill switch
- Campaign status and expiration
- Maximum reward per transaction
- Daily spending limits
- Available campaign budget
- Participant capacity
- Per-user campaign limits.
- Human-approval thresholds.
- Server-side recipient allowlist.
The destination address is resolved from a registered DYNEXA user. The API never accepts an arbitrary wallet address directly from the payment request.
If an OpenAI API key is unavailable, the demo switches to an explicitly labeled simulated validator instead of pretending that AI validation is real.
Why it matters
Traditional loyalty points are fragmented, difficult to redeem and frequently expire without delivering value. DYNEXA transforms brand rewards into programmable and verifiable USDT payments while keeping the blockchain invisible to the customer.
Businesses gain measurable campaigns, isolated budgets and automated reward execution. Customers receive real digital value without needing prior crypto knowledge, seed phrases or manual gas management.
DYNEXA combines AI validation, deterministic financial controls and Tether WDK infrastructure to make Web3 rewards practical and functional for everyday commerce.
ON-LINE DEMO: https://wdk.dynexa.us/
THANKS A LOT!!! DYNEXA TEAM!!
Hacki