quorum-sdk (Python)
Python SDK for the Quorum Protocol API — server-side request creation, webhook verification, group management.
Install
pip install quorum-sdk
Quick start
from quorum import QuorumClient, verify_webhook_signature
client = QuorumClient(
base_url="https://api.quorum.dev",
api_key="qrm_..."
)
# Create an auth request
req = client.create_request(
group_id="your-group-uuid",
action_descriptor="Approve payment instruction",
payload_hash="sha256_hex_of_payload",
expires_in=300,
)
print(req.id, req.status) # pending
# Verify webhook (e.g. in a Flask handler)
from flask import request
@app.post("/webhooks/quorum")
def handle():
sig = request.headers.get("X-Quorum-Signature-256", "")
if not verify_webhook_signature(request.data, WEBHOOK_SECRET, sig):
return "Unauthorized", 401
event = request.json
if event["event"] == "request.approved":
# handle approval
pass
return "ok"
Server-side share derivation (USSD / server path)
from quorum.crypto import derive_share
share_hex = derive_share(pin="284751", salt_hex="a3f2e1d4..." * 2)
client.authorize(request_id=req.id, member_id=member_id, share_hex=share_hex, token=token)
Metadata
Release files for quorum-sdk 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| quorum_sdk-1.0.1.tar.gz | 7.3 kB | Without provenance | Details for quorum_sdk-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| quorum_sdk-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for quorum_sdk-1.0.1-py3-none-any.whl |
Total release size: 15.8 kB
Release files / quorum_sdk-1.0.1.tar.gz
| Download URL | quorum_sdk-1.0.1.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
522ee975554b91c146d6ede09f5690d060f977c37a8b6624e5779c55a7ac53d5
|
|
BLAKE2b-256 checksum How to use checksums |
600efc01c70235e3ccfde2b9ed5d53d4450ecdbedef9636b73f3290d1b861875
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Release files / quorum_sdk-1.0.1-py3-none-any.whl
| Download URL | quorum_sdk-1.0.1-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bc877f01f28f3759c1c1eda01824564b20688c6523b7b625f31bb044c8317269
|
|
BLAKE2b-256 checksum How to use checksums |
2e4a9d2005cca17940b3c0a217ddb12a178ceb74e5308ea6cb0d4a423605be03
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Security for quorum-sdk 1.0.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.