Skip to main content
Research Preview — The stamps module is under active development.

Stamps module

The StampsModule orchestrates evidence collection, stamp creation, signing, and verification across registered plugins. Each stamp represents evidence from a single proof-of-location system.
For conceptual background, see Location Proofs.

stamps.collect()

Collect raw signals from registered plugins.
Returns an array of RawSignals — one per plugin that implements collect(). Not all plugins support collection; ProofMode, for example, collects on-device via its mobile app rather than through the SDK.

Parameters

Example


stamps.create()

Process raw signals into an unsigned stamp using a specific plugin.

Parameters

Example


stamps.sign()

Sign an unsigned stamp with a key.

Parameters

StampSigner

Example


stamps.verify()

Verify a stamp’s internal validity.

Parameters

Example


Types

RawSignals

UnsignedLocationStamp

LocationStamp

StampVerificationResult

StampsCollectOptions

StampsCreateOptions

StampsSignOptions


Complete example

Next: Location proofs

Bundle stamps into proofs and verify with CredibilityVector