Skip to main content
ArcPay Somnia treats DeFi execution as a policy-bound adapter flow, not a fake fill. Operators and agents can prepare route or yield intents, but an action is only complete after real Somnia evidence is attached.

Adapter Map

Swap Flow

  1. Operator or agent chooses a venue on /swaps.
  2. ArcPay records source asset, target asset, amount, slippage, executor, and venue.
  3. Treasury policy checks run before wallet signing or agent order creation.
  4. Execution happens through the selected venue or a custom adapter.
  5. Audit record is completed only after tx hash and route evidence are attached.

Yield / Liquidity Flow

  1. Operator chooses a strategy on /yield: dreamDEX maker yield, Somnia Exchange LP, Somnex liquidity/perps, Potion Swap LP, or treasury hold.
  2. ArcPay records risk limit, max drawdown, asset, amount, and executor agent.
  3. Operator approval is required before any LP, perps, or strategy action.
  4. Final audit requires venue evidence, tx hash, final balance, and risk snapshot.

Developer Tools

HTTP developer tool:
Public adapter status:
CLI:
MCP:

Boundary

ArcPay does not claim an official private Somnia DeFi SDK where one is not published. The adapter layer is designed to be honest and useful:
  • use dreamDEX’s documented REST/CLI/contract flow for CLOB market discovery and signed order transactions
  • use live Somnia venues when they expose usable testnet flows
  • use a custom router when building directly from Somnia’s DEX tutorial
  • never mark execution done without transaction evidence
  • keep all route and strategy actions inside treasury policy controls

Source References