Endpoint

Signed answers

What is signed

The signed bytes are the sha256 of the canonical JSON (keys sorted, no spaces) of:

{ "method": "<method>", "params": <your params or null>, "data": <result.data>,
  "hypercoreTime": <result.hypercoreTime>, "servedAt": <result.servedAt> }

proof.digest is that sha256 in hex; proof.signature is the ed25519 signature of the 32 digest bytes, in base58.

Verify in JavaScript

import { verify } from "./hyperwafer.mjs";   // curl -sO https://<this site>/sdk/hyperwafer.mjs
const ok = await verify("hyper_getBook", { coin: "BTC" }, answer.result);

The key

The public key is on the protocol page and at /api/keys. It signs answers and nothing else; it holds no funds.