funduq-contract
The bytes both sides of funduq sign and verify: the signing payloads, the
actor-chain hop format, and signature checking. Core depends on it and so
does funduq-provider-sdk; neither depends on the other.
pip install funduq-contract
It holds no private key. Producing the bytes and having custody are
different jobs, which is what lets one package sit under core and an SDK at
once without either lending the other its keys. Nothing here talks to a
network or a database; the dependencies are cryptography and pyjwt.
payloads— one function per act, returning the canonical bytes a signer signs. The domain tag on each is what stops a signature made for one act being spent as another.chain—sign_hop,new_chain,extend_chain,dispatch_hop, andverify_chain. A hop carries the signer's key and a hash-link to the hop before it, and nothing else — no subject, and no time.verify_chainreturns the hops it parsed, so reading a dispatch isresult.hops[-1] .dispatched_to, never a hand-decoded JWT.signatures—verify_signature,new_nonce, provider fingerprints.
Implementing funduq's contract in another language
Replay contract-vectors.json:
build each payload from its inputs, assert the exact payload_utf8 bytes,
and check signature_hex verifies under the published test key. The test key
is for vectors only — never accept it in a real deployment.
The vectors are recorded, not derived. They work because they are old, so nothing in a build or a test run regenerates them: a file dumped from the code would pass whatever the code happened to do. Producing new ones is a deliberate act, and the contract revision in that file — with its changelog — is how you tell whether anything you depend on has moved.
Metadata
Release files for funduq-contract 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| funduq_contract-0.0.6.tar.gz | 33.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| funduq_contract-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 50.0 kB
Release files / funduq_contract-0.0.6.tar.gz
| Download URL | funduq_contract-0.0.6.tar.gz |
|---|---|
| Size | 33.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9c523ef57ff8948d3ccd1f15235edfdfb2d45c2a33d7a6427e17a4b7d5299ed8
|
|
BLAKE2b-256 checksum How to use checksums |
cfaae11d53f0e4c019dc9ccf4d0698ce53e6606d8b76f62b8f59234b35db13ae
|
| 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 Aug 27, 2026.
Transparency logRelease files / funduq_contract-0.0.6-py3-none-any.whl
| Download URL | funduq_contract-0.0.6-py3-none-any.whl |
|---|---|
| Size | 16.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a311b49d8aad80265795c784ac9c046820099d0aba363ddfd9458965a6601d12
|
|
BLAKE2b-256 checksum How to use checksums |
b70bdb5d79c984b535161f9d540cf474c70854512d6b97429f87185db52ce522
|
| 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 Aug 27, 2026.
Transparency log