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
Metadata
Release files for xycore 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| xycore-1.0.2.tar.gz | 19.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| xycore-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 32.9 kB
Release files / xycore-1.0.2.tar.gz
| Download URL | xycore-1.0.2.tar.gz |
|---|---|
| Size | 19.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b5ad31f25c6944a6f2cedba7e18b3d0a1f2aaca6db112008eff925db2b59ee72
|
|
BLAKE2b-256 checksum How to use checksums |
bd2f03480345fa7580275f72bd11a87a85ea16ecca1a0272b2720ed277b827c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Release files / xycore-1.0.2-py3-none-any.whl
| Download URL | xycore-1.0.2-py3-none-any.whl |
|---|---|
| Size | 13.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
43c6e795ba46a91f6686c5647a922e4538a79e51c06bdc22b292c1c9091e758d
|
|
BLAKE2b-256 checksum How to use checksums |
180d115911048c14ce9e821835f901b3a8e68bf3c499a2512b1ec679cbb8e08f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|