The XY primitive — cryptographic verification for any system.
Project description
xycore
The zero-dependency cryptographic protocol for proving state transitions.
X is state before. Y is state after. XY is proof the transition happened. Chain them. Anyone can verify.
Not a blockchain. Not a database. Not a logging framework. A standalone protocol — the cryptographic core, extracted, with nothing else attached.
Install
pip install xycore
Usage
from xycore import XYChain
chain = XYChain(name="my-chain") chain.append("deploy", x_state={"version": "1.0"}, y_state={"version": "1.1"} ) chain.append("configure", x_state={"version": "1.1"}, y_state={"version": "1.1", "configured": True} )
valid, break_index = chain.verify() assert valid
Properties
- Zero dependencies. Standard library only.
- Works offline. Works without an account. Works forever.
- Anyone can implement against this spec in any language.
- Anyone can verify a chain independently — no trust required.
Signatures (optional)
pip install xycore[signatures]
pruv
pruv is the verification layer built on xycore. https://pruv.dev
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file xycore-1.0.2.tar.gz.
File metadata
- Download URL: xycore-1.0.2.tar.gz
- Upload date:
- Size: 19.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5ad31f25c6944a6f2cedba7e18b3d0a1f2aaca6db112008eff925db2b59ee72
|
|
| MD5 |
d65a5cea112f24f2265225fbbdc976f6
|
|
| BLAKE2b-256 |
bd2f03480345fa7580275f72bd11a87a85ea16ecca1a0272b2720ed277b827c1
|
File details
Details for the file xycore-1.0.2-py3-none-any.whl.
File metadata
- Download URL: xycore-1.0.2-py3-none-any.whl
- Upload date:
- Size: 13.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
43c6e795ba46a91f6686c5647a922e4538a79e51c06bdc22b292c1c9091e758d
|
|
| MD5 |
ea90a8af111135d10d4a570bcc826e0e
|
|
| BLAKE2b-256 |
180d115911048c14ce9e821835f901b3a8e68bf3c499a2512b1ec679cbb8e08f
|