Skip to content
Fourohtwo

quantum.halowerk.com/v1/qkd-key-request

Compares caller-supplied Alice and Bob bases, retains matching-basis positions, calculates the quantum bit error rate over caller-selected revealed positions, and returns only a digest and count for remaining demonstration bits. It neither exchanges quantum states nor creates a secret key: all submitted bits are disclosed to this service and must never be used as production key material.

BaseUnchecked
POSThttps://quantum.halowerk.com/v1/qkd-key-request

UptimeNot checked yet

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://quantum.halowerk.com/v1/qkd-key-request", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"alice_bases":"ZXZZXXXZXZXZ","alice_bits":"011010110101","bob_bases":"ZZZXZXXZXZZZ","bob_bits":"001010110101","reveal_indices":[0,6,8]}),
});
console.log(await res.json());

Example input

{
  "alice_bases": "ZXZZXXXZXZXZ",
  "alice_bits": "011010110101",
  "bob_bases": "ZZZXZXXZXZZZ",
  "bob_bits": "001010110101",
  "reveal_indices": [
    0,
    6,
    8
  ]
}

More from HALOWERK quantumwerk