Skip to main content

chaincraft

Reference implementation of the Chaincraft wire protocol and object semantics.

Install

pip install chaincraft

Ed25519 is optional: pip install "chaincraft[ed25519]".

Example

Assumes chaincraft is installed.

from chaincraft import Envelope, encode_frame

env = Envelope.build("app.counter", {"by": "alice", "delta": 1})
frame = encode_frame(env.to_bytes())

Specification and the Rust and TypeScript implementations live in the monorepo.

Metadata

Release files for chaincraft 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for chaincraft 1.0.0
File Size Uploaded Provenance
chaincraft-1.0.0.tar.gz 54.5 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for chaincraft 1.0.0
File Interpreter ABI Platform
chaincraft-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 106.7 kB

Release files / chaincraft-1.0.0.tar.gz

Download URL chaincraft-1.0.0.tar.gz
Size 54.5 kB
Tags Source
SHA-256 checksum
How to use checksums
0bb007132476d919ee7e455cffa04ad6987b5da8f3567938d7825d9af3183fe3
BLAKE2b-256 checksum
How to use checksums
0bdfc4deb4619d129b2e260dd43d05fc4dbb9b08af84b278767e93c4f7599115
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 19, 2026.

Transparency log

Release files / chaincraft-1.0.0-py3-none-any.whl

Download URL chaincraft-1.0.0-py3-none-any.whl
Size 52.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
72387ebe41243646855107f66155faa5758fb93fcc04133be9aacf52c33500db
BLAKE2b-256 checksum
How to use checksums
2bc12a68411ac7b73a3a416de3d3d1b2d0c6726af4b0fc85b755ea2ab3678986
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 19, 2026.

Transparency log

Security for chaincraft 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for chaincraft-1.0.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 19, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page