Skip to content

Wrapping and Unwrapping

Wrapping and unwrapping are not exposed as a dedicated top-level Rust facade yet, but wrapper handling is already part of the current SDK internals.

What exists today:

  • circles-pathfinder understands wrapper token types, owner rewriting, and inflationary-to-demurraged conversions.
  • circles-transfers assembles unwrap / operateFlowMatrix / re-wrap transaction sequences when path-based transfers or replenish flows need them.
  • plan_replenish / replenish and path-based transfer helpers already use wrapped balances by default.

What is still missing:

  • a standalone user-facing wrap(...) / unwrap(...) convenience API in circles-sdk
  • browser-hosted signing/submission for Safe-based wrapper flows

For now, think of wrapper support as a capability inside transfer planning rather than a separate finished product surface.