Skip to main content
Run a real exchange’s test environment behind the same contract every public provider follows, and prove it works before any real money is involved. The trdrs testnet provider wraps a testnet account at a supported exchange and serves it over the public provider contract. It supports Binance USD-M Futures and Hyperliquid, on their test networks alone. Use this page when you want evidence from a real test environment, not just from the reference provider. By the end you have one testnet account served over the contract and a conformance result saved as evidence.

Know what stays inside the provider

The provider keeps the exchange’s API key or wallet, its symbol names, its quantity rules and its streaming details to itself. trdrs sees only what the contract carries: the manifest, accounts, snapshots, events and command receipts. The provider writes its session generations, command receipts and replay positions to a file on a persistent volume, so they survive a restart, and it keeps the exchange credentials out of that file.

Configure one account

Run one provider process for each testnet credential and account. The deployment example and the full list of exchange settings are in packages/testnet-provider-app in the trdrs engine repository. Mount a persistent volume at /data. These settings are common to both exchanges: Binance needs BINANCE_API_KEY and BINANCE_API_SECRET. Hyperliquid needs HYPERLIQUID_MASTER_ADDRESS and HYPERLIQUID_AGENT_PRIVATE_KEY, and optionally HYPERLIQUID_VAULT_ADDRESS. The provider refuses to start if a required setting is missing.

Qualify it

Point provider conformance at the running provider and give it the exchange’s smallest testnet order: Then run:
This runs the same provider conformance every public provider passes. It places that one minimum order, checks session fencing, account isolation, event replay, payload hashes and command retries, and fences its own session last. It prints the result as JSON and exits with a failure code if any rule didn’t pass. Save that JSON as your evidence. A run against the reference provider proves the contract code; a passing run against the exchange’s testnet proves the integration. Production stays off, and trdrs turns it on only after reviewing that evidence and the operating controls.

Next steps

Provider conformance

Read what each of the fifteen rules checks, and why.

Hedge venue exposure

Use a qualified provider account to hedge your venue’s exposure.