Player deposits any token.
Your treasury stays USDT.

iGaming vaults must hold crypto 24/7, but players deposit SHIB, SOL, ETH, PEPE. TRDEFI SDK gives you an internal DEX inside your own treasury vault — converts any deposit to USDT/USDC using your own funds and your own rates. No external LP, no custody transfer, no TRDEFI hosting.

Request SDK Demo → View main engine

SDK · Self-hosted · Curacao fast-track · No VASP needed for internal conversion

Internal flow — your funds onlyNo external LP
PLAYERDeposits 1,200,000 SHIBDEPOSIT SAFE
↓ TRDEFI SDK (allowance) ↓
TREASURY VAULT$14.40 USDT credited (your rate)USDT
Your rate0.000012 USDT / SHIB + 0.3% spread
InventoryVault → Vault (no DEX)
CustodySelf-hosted Safe

No funds leave your Safe. SDK only moves allowance between your own vaults at your price.

Volatile deposits eat the house balance.

Player deposits DOGE at 0.15, you credit $150 USDT. DOGE drops 15% before you hedge — your SHIB inventory is now $127. Player wins and withdraws $150 — you are $23 short. Repeat 100 times a day and the treasury leaks without a single bad bet.

External DEX for every deposit means gas, slippage, MEV, and a VASP flag. Doing nothing means directional risk. Both cost money.

Without vs with SDK
Manual external swap per deposit
GAS + SLIPPAGE + VASP
Hold volatile inventory
DIRECTIONAL RISK
Third-party converter / OTC
CUSTODY + COMPLIANCE
TRDEFI SDK (own funds)
Vault→Vault · your rate · no LP
01 — INTEGRATE

SDK in your backend

We do not host. You install TRDEFI SDK in your platform backend. It connects to your existing Treasury Safe (Safe multisig / EOA) and Deposit Safe. No funds move to TRDEFI, no TRDEFI keys.

npm install @trdefi/igaming-sdk → Safe.connect()
02 — CONVERT

Your rate, your inventory

Player deposits any token. SDK checks your treasury price (you set: e.g., Chainlink + 0.3% spread), checks vault balances, then moves allowance Vault→Vault at that rate. No external DEX, no LP.

allowance.permit(SHIB, amount, USDT, yourPrice)
03 — CREDIT & YIELD

Credit instantly, yield idle

DB credits player in USDT instantly. Player never sees chain. Idle USDT in Treasury Vault can optionally earn fee-based yield (same engine) — still self-hosted, still revocable.

player.balance += USDT // off-chain
Why SDK, not hosted?

Hosted = we become custodian / VASP → licensing liability for you. SDK = you stay principal, we stay technology. Our code never holds keys, never signs without your Safe, never touches external LP. For Curacao fast-track this is the only scalable path; for MGA/UKGC you add your own VASP partner (PayRam) later without changing SDK.

Your funds, your rates — no external LP. Is there a bottleneck?

Your instinct is correct: no external LP is the right call for compliance and speed. But it creates inventory risk — the classic market-maker problem. We solve it inside the SDK, not by adding LP.

BOTTLENECK 1 — Inventory depth

USDT runs out

100 players deposit SHIB → you need $14k USDT to credit them. If Treasury USDT is low, swaps halt.

SDK mitigation: Live inventory dashboard + auto-halt + low-balance webhook. You set min USDT buffer (e.g., $50k) — SDK rejects new swaps until you rebalance.
BOTTLENECK 2 — Price risk

You hold the other side

You gave USDT for SHIB at 0.000012. SHIB drops 15% — your SHIB inventory is now worth less.

SDK mitigation: Your spread (0.3–1.5% per token) + oracle (Chainlink/Pyth) + per-token cap. Volatile inventory is capped (e.g., max 20% of treasury in SHIB). No cap = no swap.
NO EXTERNAL HEDGE (by design)

Hedge is your choice

SDK never auto-hedges to an external DEX/CEX. If you want to rebalance, you do it from your own CEX account (you keep keys). SDK just alerts: “SHIB inventory 18% — rebalance suggested”.

Result: TRDEFI never touches external liquidity — zero VASP risk for us, full control for you.

BOTTOM LINE: Own-funds model is correct. Bottleneck is inventory, not speed. SDK makes it visible and controllable — external LP is optional, not required.

Stay principal, not VASP.

Because funds never leave your Safe and conversion is Vault→Vault at your price, this is treasury management, not third-party exchange — typically within Curacao `GCB` scope without additional VASP. For MGA/UKGC, add your licensed off-ramp (PayRam) — SDK unchanged.

  • No TRDEFI custody — your Safe, your keys
  • Allowance revocable in 1 tx
  • Chain risk scoring pre-swap (TRM/Chainalysis hook)
  • Full on-chain audit trail for regulator
What regulators see
Who holds funds?Platform Safe (self-hosted)
Who sets price?Platform (oracle + spread)
External LP?None (by design)
TRDEFI role?SDK — technology only

Your treasury, your rates — we provide the rails.

14-day SDK pilot on Base Sepolia: we integrate to your Treasury Safe (no mainnet funds), you test any-token → USDT swaps with your own rates, plus inventory dashboard and risk hooks. Then you decide.

TargetCuracao platforms, $500K+ float
ChainsEthereum / Arbitrum / Base / Optimism
ModelSDK license + spread share
Request SDK Demoresponse < 24h

No wallet connection required. SDK install guide sent after scoping call.