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.1.tar.gz (29.0 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.1-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: funduq_contract-0.0.1.tar.gz
  • Upload date:
  • Size: 29.0 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.1.tar.gz
Algorithm Hash digest
SHA256 1580c3ac4a9bdd1767d4f6861bec0fb372ff6814fb85e473c71e6239d877574a
MD5 dd0a3e92134e7b950e30c8db41fdca1c
BLAKE2b-256 995f98734a5a47f5069d9fd77d57c680e6c3ab20f4e510aad71d6453a8b40635

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: funduq_contract-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 14.2 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4fc61cc16e949f7b5b4458154f9ea2f0a3f57092c19e472ca6fc061760d82518
MD5 0abf21fd7344f72284d47c45846903a5
BLAKE2b-256 795d3908e8af5e3842b0dc8dad892a586e68ba5a4bb29bd64d77085a9a576df4

See more details on using hashes here.

Provenance

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

0.0.2

2 files

This release

0.0.1 This release

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