Skip to main content

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, and verify_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_chain returns the hops it parsed, so reading a dispatch is result.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.15

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

Source distribution (sdist)

Source distribution for funduq-contract 0.0.15
File Size Uploaded Provenance Actions
funduq_contract-0.0.15.tar.gz 47.7 kB With provenance Details for funduq_contract-0.0.15.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for funduq-contract 0.0.15
File Interpreter ABI Platform Actions
funduq_contract-0.0.15-py3-none-any.whl Python 3 none any Details for funduq_contract-0.0.15-py3-none-any.whl

Total release size: 61.9 kB

Release files / funduq_contract-0.0.15.tar.gz

Download URL funduq_contract-0.0.15.tar.gz
Size 47.7 kB
Tags Source
SHA-256 checksum
How to use checksums
11b7fd8208ca85e4333be86bc38b90b0080d4106ba3812bf0db4d9561e556f64
BLAKE2b-256 checksum
How to use checksums
285c5212624d993fa9e91e4c05399202d060fe4c4d505682e686c9051dd11dc1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 28, 2026.

Transparency log

Release files / funduq_contract-0.0.15-py3-none-any.whl

Download URL funduq_contract-0.0.15-py3-none-any.whl
Size 14.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e2b39f4702f1efcc4ba26d1ff51780b9de42f717685b2b45948c7b4ffa12716f
BLAKE2b-256 checksum
How to use checksums
f06807ca860dd24d5e926292f317d492e2bb41a18f2ead2d102398aa184017bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 28, 2026.

Transparency log

Security for funduq-contract 0.0.15

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for funduq_contract-0.0.15.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 28, 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