Skip to main content
This is the Advanced execution path, which is not open yet. Today every order is Basic: TetraFi executes it on your venue accounts or from organisation wallets granted to your key, without these contracts (Basic execution).
With Advanced execution, every workspace gets its own on-chain router: an immutable contract deployed for you, owned by you. Trades enter through it, flow through shared immutable venue modules, and settle delivery-versus-payment through a compliance-gated escrow: the counterparty delivers, or you are refunded. TetraFi holds no custody key and no upgrade key anywhere in the stack.

The Contract Stack

Never send funds directly to a settlement address. Value moves only through a signed order’s flow.
Your router’s address is deterministic, predicted before deployment, and yours permanently. Module and escrow addresses vary by chain and version. Never hardcode any of them: the addresses in quote responses are authoritative.

Settlement Lifecycle

An Advanced quote carries its own EIP-712 escrow-v0 payload. Your signature authorizes it, your router locks the input into escrow on those terms, and only a delivery proof moves the funds onward. If the expiry passes without a delivery proof, the escrow refunds your input through a path that is permissionless and unpausable. There is never a half-settled state.

Where the Next Layers Plug In

Coming soon. Multilateral Netting and the Shared Collateral Network are in design.
A settlement opted into clearing posts an obligation, and only the net residual later takes the escrow path above. A vault draw funds a fill or settlement leg through the same opener and escrow, whose release repays the vault. Integration shapes: netting, shared collateral.

Rolling Out on the Rails

  • Bonded firm quotes - a proven no-show refunds you; the bond is slashed only on positive evidence
  • A governed compliance plane - a delayed main lane and an instant emergency lane
  • Per-corridor settlement oracles
  • An add-only module catalogue - a refund is bound to the version that opened the trade
  • The same escrow model on Solana and Tron

Funding Locks

The order selects the lock for the corridor and token.

Signed Payloads

Each quote names your next step in next. When that step is sign, next.typedData is the complete EIP-712 document - for escrow-v0, the StandardOrder typed data - and you sign exactly what it returns, then place the order. When an order needs more than one signature, the quote says how many in signaturesRequired and the later ones arrive on the order. Signing flows: Orders, Quickstart.