Repository Public
1# Multi-chain oracle scripts23One script per family (`ed25519.py`, `solana.py`, `tron.py`, `utxo.py`, `evm.py`), run with the Python of4`security/.tools/venv-mc` (`security/tests/oracles/requirements-multichain.txt`). Protocol, identical to5`../oracle.py`: `python3 -I <script> <operation>` reads a JSON array of cases on standard input and writes a6JSON array of the same length; a case that the reference rejects answers `{"error": "..."}`. Every script7implements the operation `versions` (one case in, one object out: package name to version).89| Script | References | Operations |10|---|---|---|11| `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` |12| `solana.py` | solders 0.29, bip-utils | `address`, `pda`, `ata`, `constants`, `payment`, `compile`, `v0`, `decode_message`, `decode_transaction`, `sign`, `derive`, `derive_path`, `compact` |13| `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 |14| `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 |15| `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 |1617Test environment only: nothing here is a dependency of the engine or of the application.18