quantumscan-olas
QuantumScan client for Olas (Autonolas) skills and other Python-based autonomous agents — pre-transaction safety checks and contract scans, billed per call.
Not a heavyweight Autonolas FSM component — it's a plain HTTP client any skill/behaviour can import. Wire it into your Behaviour.act() before submitting a transaction to the Safe/multisig.
Install
pip install quantumscan-olas
# or, with autonomous x402 micropayments:
pip install "quantumscan-olas[x402]"
Usage
from quantumscan_olas import QuantumScanClient
client = QuantumScanClient(
wallet_private_key=self.params.quantumscan_wallet_key, # optional, see below
)
result = client.check_transaction_safety(address="0x...", calldata="0x...", network=8453)
if not result["safe"]:
self.context.logger.warning(f"QuantumScan blocked tx: {result.get('reason')}")
return # do not submit to the Safe
contract_scan = client.check_contract_safety(address="0x...", network=8453)
Paying for calls
Three modes, checked in this order:
wallet_private_key(recommended — install with[x402]extra) — pays a fraction of a cent in USDC per call via the x402 protocol, automatically, capped at $0.05/call.api_key— prepaid credits, free atPOST https://quantumscan.io/api/agent/register.- Neither — falls back to QuantumScan's small free daily trial per IP. Fine for development.
Both can also be set via environment variables: QUANTUMSCAN_WALLET_PRIVATE_KEY, QUANTUMSCAN_API_KEY, QUANTUMSCAN_API_URL.
Status
This is a plain Python HTTP client, tested and published independently of the Autonolas package registry. A registered Autonolas component (with an on-chain IPFS package hash, for use via autonomy packages add) is a natural next step once there's real usage — open an issue if that's what you need.
License
MIT
Release files for quantumscan-olas 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| quantumscan_olas-0.1.0.tar.gz | 5.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| quantumscan_olas-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.9 kB
Release files / quantumscan_olas-0.1.0.tar.gz
| Download URL | quantumscan_olas-0.1.0.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d7e6eb660e294539843ac8d06c8e91e6156cd86c8ef9abe1418a94b9853f9dc1
|
|
BLAKE2b-256 checksum How to use checksums |
34c81de7c59316dac2ae61215b5b4447df53d7fd6bea9d33769375d23b605604
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 1, 2026.
Transparency logRelease files / quantumscan_olas-0.1.0-py3-none-any.whl
| Download URL | quantumscan_olas-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2ef308429767591aa663780e820cc70e32299db0590998e86db057db960440b4
|
|
BLAKE2b-256 checksum How to use checksums |
f496c7e340eed75581cefdb0a152a35d704975bc20f2a815e8d55469b1bfb387
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 1, 2026.
Transparency log