Skip to main content

createEdge

@totemsdk/edge


@totemsdk/edge / createEdge

Function: createEdge()

createEdge(opts): EdgeCommerceRuntime

Create a runtime-level machine commerce facade.

Optional ports degrade gracefully:

  • no durable store → explicit in-memory/dev mode
  • no negotiation transport → local/programmatic negotiation only
  • no Minima relay → commerce still works
  • no work admission → work-disabled policy only

Parameters

opts

CreateEdgeOptions

Returns

EdgeCommerceRuntime