Multi-chain oracle scripts
One script per family (ed25519.py, solana.py, tron.py, utxo.py, evm.py), run with the Python of
security/.tools/venv-mc (security/tests/oracles/requirements-multichain.txt). Protocol, identical to
../oracle.py: python3 -I <script> <operation> reads a JSON array of cases on standard input and writes a
JSON array of the same length; a case that the reference rejects answers {"error": "..."}. Every script
implements the operation versions (one case in, one object out: package name to version).
| Script | References | Operations |
|---|---|---|
ed25519.py |
PyNaCl (libsodium), cryptography (OpenSSL), solders (ed25519-dalek verify_strict), bip-utils, and an integer transcription of RFC 8032 and SLIP-0010 written in the script |
keys, sign, verify (verdict of each reference and the structure of the input: orders, canonical encodings, both equations), field, field_bytes, scalar, point, slip10 |
solana.py |
solders 0.29, bip-utils | address, pda, ata, constants, payment, compile, v0, decode_message, decode_transaction, sign, derive, derive_path, compact |
tron.py |
tronpy, coincurve, protobuf (descriptors shipped by tronpy) and a second encoder written in the script, eth-abi, bip-utils | addresses, raw_data and txID, decoding, signatures and recovery, TRC-20 call data, derivation |
utxo.py |
bitcash, bip-utils, embit, coincurve, and the Bitcoin Core and UAHF digests written in the script | CashAddr, address formats and derivations of the three coins, legacy and fork-id signature hashes, signed transactions, RFC 6979 |
evm.py |
eth-account, eth-keys, eth-abi, eth-utils | EIP-1559 payloads, signatures and hashes across chain identifiers, sender recovery, ABI words, registry constants |
Test environment only: nothing here is a dependency of the engine or of the application.