Synthetic Python reference example

Follow an allowed request and an over-limit refusal through a local HTTP6 pilot. The example uses the public Python SDK adapter and precompiled WASIX demonstration guests. The example uses precompiled guests while circuit-generation source remains private.

Download the Python example · Read the setup instructions · Inspect the local qualification report

What the example checks

Using a fresh synthetic wallet, the program verifies an allowed response, checks an over-limit refusal observation, rejects altered response and request evidence, verifies the returned signed ledger chain, and checks the local wallet journal for one synthetic effect. It checks the compiled guests and Python adapter against the documented SDK revision before running.

The example uses locally generated fixture trust pins on one host. A failure proof records a gateway observation. Caller identity, policy correctness, external effects, and the newest ledger head each require separate evidence. Production security and information-theoretic claims require evaluation of the actual deployment and its assumptions.

Run the example

Use Python 3.10 or later, Go 1.23 or later with CGO and a C compiler, Wasmer 7.4.0, and a compatible Unix-like environment. Review the compiled circuit notice (opens in a new tab), then choose fresh output paths.

Scroll within the command block to see each complete line.

git clone https://github.com/HTTP6-ORG/http6-sdk.git
cd http6-sdk
git checkout 6e37a6b015ddb6612d82597a4870dd5884758fe3
./pilot/assemble-demo.sh /tmp/http6-demo-bin
python3 /path/to/synthetic_reference.py \
  --sdk "$PWD" \
  --pilot /tmp/http6-demo-bin/http6-pilot \
  --output /tmp/http6-reference-run

The fixture directory is retained and contains generated test keys and evidence. The example refuses to overwrite an existing directory. The pilot host is built from the public integration source; the operator is responsible for verifying the checkout, toolchain, host binary, and environment. Read the full instructions

Source and licensing

The Python example and HTTP6 integration patterns are available for inspection. Circuit-generation source and private provisions remain private. This WASIX 02 example exercises its own local pilot, while the earlier executable reference kit remains withdrawn.

The compiled circuit implementation has separate copyright and licensing terms. Read the circuit notice and request permission

Read the Internet-Drafts · Compare implementation paths · Run the separate W1 examples