Skip to main content

SDK examples and cross-runtime demo

Proposal and synthetic local pilot. The repository contains five minimal clients for the existing http6-wasix-delegation-02 agent. They submit real fixture requests over its private Unix socket. The Node example uses the proposed SDK. These original Python, Rust, Go and C# clients demonstrate transport. Separate basic SDKs now add response-proof and ledger verification.

ClientLocationRequirements
Node.jsexamples/languages/node/client.mjsNode.js 22 and the repository SDK
Pythonexamples/languages/python/client.pyPython 3 and its standard library
Rustexamples/languages/rust/client.rsrustc and Unix sockets
Goexamples/languages/go/client.goGo and Unix sockets
C#examples/languages/csharp/Program.cs.NET 8 and Unix sockets

Each client accepts SOCKET OP allowed|denied and prints a JSON object with the actual status and response. The fixture spends synthetic regtest units; it does not connect to a payment network. The clients do not, by themselves, verify a proof. The test runner compares the returned objects to private evidence and invokes the separately compiled native verifier with the fixture's operator and ledger keys. Each relying party provisions its trust pins independently.

Demo circuit controls​

The fixture uses separately provisioned Rust WASIX circuit and verifier guests, private local sockets, bounded request bodies, a fresh ledger challenge, one-use proof commitments, registered policy checks and signed ledger evidence. The tests verify response evidence and reject a changed request digest. These controls exercise the request and response paths, proof verification, and registered resource adapters in this fixture.

Reproduce the full test​

You need a Unix-like host, Node.js 22, Python 3, Rust, Go, .NET 8 and Wasmer. The compiled demonstration guests are provided with their rights notice, checksums and limited test results. Circuit and guest source are not distributed. Follow pilot/README.md to assemble the matching public Go host and verify the manifest. The Python guest uses the versioned Wasmer Registry package python/python@=3.13.18; resolving it requires registry access. Obtain and verify runtime packages under your organization's supply-chain policy.

git clone https://github.com/HTTP6-ORG/http6-sdk.git
cd http6-sdk
npm ci
# Review the circuit notice and assemble a new private demo bundle.
./pilot/assemble-demo.sh /private/path/to/a-new-demo-bin
python3 examples/languages/run.py \
--pilot /private/path/to/a-new-demo-bin/http6-pilot \
--out /private/path/to/a-new-http6-test-directory \
--dotnet dotnet --wasmer wasmer

Choose a parent directory that already exists. The runner refuses an existing output directory and retains the newly created fixture databases and evidence there. It compiles the language examples in that directory and starts a fresh agent per language. Keep the directory private. It shuts down only the agents it starts.

For each language the runner sends an allowed 100-unit operation and a separate denied 1,100-unit operation. It compares the response to the evidence file, verifies the successful and failure proofs through the pilot's native verifier, checks that a modified request digest fails, inspects signed response event presence, and checks the wallet has one synthetic effect. The failure proof is an authenticated broker observation, not proof that a policy decision was correct or an effect did not occur.

The runner also starts Python inside the Wasmer WASIX runtime. The Python guest canonicalizes a synthetic denied request and computes its SHA-256 digest. The host forwards those exact bytes to the local agent, where the existing Rust WASIX circuit and designated verifier create a native proof and the Go ledger records it. The test checks that the proof context binds the digest produced by the Python guest. The Python guest does not create an ENI6MA proof or directly invoke the circuit; the host and pilot perform those steps. This local composition binds the Python guest's request digest to the Rust WASIX failure proof.

The published synthetic test report gives the measured results. The failure-proof guide covers held, malformed and uncertain responses and replay checks. The existing pilot audit covers the registered endpoint, process, database and wallet adapters. GitHub's default documentation workflow cannot run the WASIX tests without the separately provisioned circuit crates and toolchain.

Inspect the proposal​

Use the SDK guide for minting and request, success-response and failure-response verification. The API navigator describes the separate http6-guide-01 design, including request and response bodies for all listed operations. It is read-only and the example server is invalid. The proposed message and ledger model is distinct from the pilot's ledger envelope, success proof and failure proof. The pilot ledger schema defines event-specific data for all 19 current event kinds.

Circuit licensing and contact​

ENI6MA circuits are patent pending and protected by copyright. Commercial deployments require a license available only through ENI6MA and Rosario Cybernetics. For production or extended implementations, including inquiries about the proposed information-theoretic properties of HTTP6 with embedded ENI6MA circuits, contact President Frank Rosario through Rosario Cybernetics to discuss licensing options.

No license to the separately distributed circuits is granted by this guide or its examples.

Nonprofit organizations and private entities may contact Rosario Cybernetics directly to request permission. Commercial use is strictly prohibited without a paid commercial license. The circuit notice describes enforcement and applicable legal limits.