BlueprintsSurplus MarketDapp and Indexer

Dapp and Indexer

Surplus currently has a hosted market app at https://surplus-market.pages.dev/. Tangle Cloud should expose it as a first-party link-out app until a dedicated blueprint.tangle.tools iframe host and iframe policy are deployed.

Metadata Contract

The deployed metadata currently declares:

FieldValue
namesurplus
categoryinference-market
authorTangle
code_repositoryhttps://github.com/tangle-network/surplus

Unlike Sandbox and Trading, this metadata does not yet carry a rich blueprintUi object. The dapp should keep the first-party registry entry for surplus until the repo publishes equivalent metadata on-chain.

Dapp Behavior

SurfaceBehavior
Tangle Cloud routeReserve the surplus slug and match first-party Surplus metadata.
Hosted appOpen https://surplus-market.pages.dev/ as a trusted link, not an iframe.
Protocol fallbackPreserve the raw indexed blueprint and service-instance route for operator and settlement inspection.

Indexed State

The indexer should expose:

StateWhy it matters
Blueprint creation and source updatesFinds the Surplus operator binary and metadata.
Operator registrationDiscovers venues and issuer/attester operators.
Service creationDistinguishes independent books from shared CLOB books.
Job eventsTracks list_instrument, status, and workflow_tick.
Operator endpoint metadataLets the app discover venue endpoints.
QoS heartbeatsShows venue liveness and reliability.

Settlement-specific fills, lots, redemption receipts, and attestation state live in Surplus settlement contracts and venue APIs. The Tangle indexer should at least preserve pointers so product surfaces can reconcile protocol service instances with market state. Endpoint liveness and venue honesty still need venue checks, settlement evidence, or proof paths.