Steer Protocol
Developer Guide

New Market Onboarding

Stripe-style, high-level setup flow for launching a new collateralized stable market.

What this does

Use this page before you turn on a new market for users.

The goal: launch quickly, but with explicit risk checks that can stop a bad market before it breaks.

Audience

This is for operators/operators-in-the-making. If you are a trader, this is not a direct trading guide.

1. Define your market

  • Pick the stable token and collateral token pair.
  • Decide which oracle(s) should define true value.
  • Decide who is allowed to approve risk changes.
  • Confirm treasury and ops roles (admin + guardian roles).

2. Register oracle + policy once

  • Set the oracle adapter config for the collateral token.
  • Set collateral risk config (mint/redeem caps, fees, safety ratio, MCR).
  • Set global limits (global debt ceiling and global daily throughput).

3. Wire hook and vault

  • Point your CollateralManager at the hook (setSettlementHook).
  • Point the hook at its oracle adapter (setOracleAdapter).
  • Set hook-level pool config for your specific pair (pool risk caps + min price + max impact).
  • Ensure hook globalSafeMode is in normal/degraded mode before launch.

4. Seed market health

  • Add LP liquidity to the Uniswap v4 pool in your desired range.
  • Let operators do small signed-quote dry-run swaps:
    • one mint-path swap (negative amountSpecified)
    • one redeem-path swap (positive amountSpecified)
  • Verify event logs for both LP flow and signed vault callbacks.

5. Go live

  • Open swap routes and LP limits in your production router/aggregator.
  • Monitor settlement callbacks and cap utilization each block/day.
  • Keep a runbook for pause/restrict actions (Redeem-only, paused, and cap changes).

Signed-quote rollout

Use this before routing any vault or signed quote settlement traffic. Unsigned swaps remain pure AMM pool traffic and do not exercise the vault rail.

  1. Configure quoteSigner for target collateral and keep signedQuoteEnabled = false.
  2. Validate quote construction (poolId, expiry in seconds, signer, policy envelope) in staging.
  3. Enable signed mode for a canary cohort and monitor rejection reason distribution.
  4. Scale gradually after rejection rates stabilize.

Emergency downgrade:

  • disable signed mode for impacted collateral.
  • continue routing without signed payloads only when pure AMM execution is acceptable.
  • restore signed vault settlement only after root-cause validation.

Quick status board

Pre-launch

Oracle + risk configs are set, roles are ready, and the pool is still in review mode.

Smoke test

No production traffic yet. Validate tiny signed swaps and settle callbacks in both directions.

Pilot

Enable small real routes, watch settlement events, and keep one operator on watch.

Full launch

Scale slowly after all guards are stable and metrics stay within expected bounds.

Operational checkpoints (copy/paste for runbook)

Simplified launch flow

Why this order

  • You set policy before liquidity so governance has a safe gate.
  • You link the hook before user traffic so no swap can bypass checks.
  • You start with low-volume dry-runs so you can recover before opening wide.

Next step

After you finish this checklist, continue to:

On this page