← All Products

Confium Verify

Verify threshold signatures anywhere.

Web DevelopersMonitoring ToolsCI Pipelines

Verify threshold signatures, transparency proofs, and cert chains anywhere — browser, edge, server, CLI.

Time: ~5 minutes  ·  Prerequisites: Rust 1.85+ (or Docker / language SDK per the tabs below)

  1. 1

    Install the WASM package

    npm install @confium/confium-wasm

    npm install @confium/confium-wasm
  2. 2

    Load the WASM module

    Import + init in your page.

    // ESM
    import init, { CompositeSignature } from '@confium/confium-wasm';
    await init();  // one-time WASM bootstrap
  3. 3

    Verify a composite signature

    Browser-side, no server calls.

    const sig = new CompositeSignature(components);
    const ok = sig.verify(message);
    console.log(ok ? '✅ valid' : '❌ invalid');
  4. 4

    Verify a transparency inclusion proof

    Same module, different API.

    import { verifyInclusionWithHead } from '@confium/confium-wasm';
    
    const ok = verifyInclusionWithHead(proofJson, headJson);
    console.log(ok ? '✅ in log' : '❌ not in log');
  5. 5

    Optional: deploy verify-server

    HTTP endpoint for non-WASM clients.

    docker pull confium/verify-server:latest
    docker run -p 8080:8080 confium/verify-server
    
    # Verify via HTTP:
    curl -X POST http://localhost:8080/v1/composite/verify \\
        -H 'Content-Type: application/json' \\
        -d '{"message":"...","signature":"..."}'

Next steps