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.3.tar.gz (31.6 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.3-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: funduq_contract-0.0.3.tar.gz
  • Upload date:
  • Size: 31.6 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.3.tar.gz
Algorithm Hash digest
SHA256 dd010444787188bb7d0390b2bf0edb08cb4eba658f11b49e00f29e63d76e3854
MD5 a8c53d7c41e3e5537e880f8a950e74e8
BLAKE2b-256 b30d683309edc44b591e39bf31ca5d9cb3af9ecf9ee70b60256818672192ceab

See more details on using hashes here.

Provenance

The following attestation bundles were made for funduq_contract-0.0.3.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.3-py3-none-any.whl.

File metadata

  • Download URL: funduq_contract-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 15.9 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 470a040f6ab385ac19e7018fb0039927d11feb3dad6747026ee9ff43706ff21a
MD5 3cb8297486f0fc2dd187af247d14b5cf
BLAKE2b-256 6afe8cd940542c57ff9491c0ae686c6bfd8c4596b18609b75dc1c3b6c2d689d8

See more details on using hashes here.

Provenance

The following attestation bundles were made for funduq_contract-0.0.3-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

This release

0.0.3 This release

2 files

0.0.2

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