QuantumSafe — Post-quantum cryptography SDK for blockchain
Project description
quantumsafe
Post-quantum cryptography SDK for blockchain. Scan wallets for quantum risk, generate PQC keys, and verify hybrid signatures.
Install
pip install quantumsafe
Quick Start
import asyncio
from quantumsafe import QuantumSafe
async def main():
qs = QuantumSafe(api_key="your-api-key")
# 1. Scan a wallet for quantum risk
scan = await qs.scan_wallet(chain="ethereum", address="0xYourAddress")
print(f"Risk score: {scan.risk_score}")
# 2. Generate a post-quantum key pair
keys = await qs.generate_key(algorithm="ml-dsa-65", chain="ethereum")
print(f"Public key: {keys.public_key}")
# 3. Register key on-chain & verify
registered = await qs.register_key(chain="ethereum", public_key=keys.public_key)
result = await qs.verify(
chain="ethereum",
address="0xYourAddress",
attestation_id=registered.attestation_id,
)
print(f"Verified: {result.verified}")
asyncio.run(main())
Supported Chains
- Ethereum
- Solana
- Bitcoin
- Polygon
- Avalanche
- Cosmos
Documentation
Full API docs: https://docs.qsafe.dev
License
MIT — see LICENSE
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
quantumsafe-1.0.1.tar.gz
(8.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file quantumsafe-1.0.1.tar.gz.
File metadata
- Download URL: quantumsafe-1.0.1.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96989cf1de9c1cbeb6102aa2b3c16b043256ec7c47b8ec453c98558525ec6ec3
|
|
| MD5 |
e89871bc84b50d5b6f83d0e9010c4bff
|
|
| BLAKE2b-256 |
7771695b6dae44045a360f5365239e49b4503d5130ea3c73cb424f20075ce65d
|
File details
Details for the file quantumsafe-1.0.1-py3-none-any.whl.
File metadata
- Download URL: quantumsafe-1.0.1-py3-none-any.whl
- Upload date:
- Size: 11.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
816f1590cdc8f33219b5687f39d3c5f506964815c428da725a3119a3637472b3
|
|
| MD5 |
28dab1c6716af92d05a1a8c21d451b52
|
|
| BLAKE2b-256 |
1074438cd84dfb814664a115c7f035de68b9151e50db26f734536c165befd548
|