DCDigital Credit Network

PUBLIC INTEGRATION KIT / PHASE 102

Sign evidence without sharing your private key.

Use this local-only Node.js tool to create an Ed25519 response for one DCN verifier invitation and independently validate the receipt returned by the platform.

1

Prepare

Install Node.js 20 or newer. Download the CLI and run its built-in public test vector.

node dcn-verifier-cli.mjs self-test
2

Review

Open the invitation, compare the evidence facts to your external proof, then download the statement JSON.

3

Sign locally

Keep your approved Ed25519 PEM key in your own controlled environment.

node dcn-verifier-cli.mjs sign review.json verifier-key.pem envelope.json
4

Submit and verify

Paste envelope.json into the portal. Save the returned receipt and verify it independently.

node dcn-verifier-cli.mjs verify-receipt receipt.json

INTEROPERABILITY

Canonical statement contract

The signature covers compact UTF-8 JSON with these fields in this exact order:

  1. version
  2. issuer
  3. pack_id
  4. anchor_id
  5. package_hash
  6. proof_sha256
  7. anchor_reference
  8. anchored_at
  9. verified_at

The portal calculates the byte length and SHA-256 hash of a pasted envelope before submission. The public test vector allows another implementation to confirm identical serialization and Ed25519 verification.

WHAT THIS PROVES

Bounded evidence, explicit responsibility

A valid response proves the approved verifier key signed the displayed facts. It does not prove the external fact by itself, authorize money, create credit, grant workspace access, or complete launch readiness. The organization owner must still confirm quorum and complete the renewal.