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.
  • chainsign_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.
  • signaturesverify_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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

funduq_contract-0.0.2.tar.gz (29.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

funduq_contract-0.0.2-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

Details for the file funduq_contract-0.0.2.tar.gz.

File metadata

  • Download URL: funduq_contract-0.0.2.tar.gz
  • Upload date:
  • Size: 29.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for funduq_contract-0.0.2.tar.gz
Algorithm Hash digest
SHA256 04635434364e406e32698f5a0e8bd39603209737a3f6386174bd93819adc8c20
MD5 e235ce8638a9aa03d1d5bf0ad4a811de
BLAKE2b-256 f3a81fe373ac656d672d5788e701f1ffe01a0a3c6315577f5e4e7d937a2cf2fe

See more details on using hashes here.

Provenance

The following attestation bundles were made for funduq_contract-0.0.2.tar.gz:

Publisher: release.yml on hukaichun/funduq

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file funduq_contract-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: funduq_contract-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 14.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for funduq_contract-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7e145b91ea6cf010d7b2879749e5865cc852bc708aa303bffacca49643336fef
MD5 309b0727b1a72b2e82d6fa8545819985
BLAKE2b-256 af315e9f75daac50f5f760a78dcd9234c09c4975b96d719326c7242ea88af8f6

See more details on using hashes here.

Provenance

The following attestation bundles were made for funduq_contract-0.0.2-py3-none-any.whl:

Publisher: release.yml on hukaichun/funduq

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.0.4

2 files

0.0.3

2 files

This release

0.0.2 This release

2 files

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page