Protocol Integration
The Cyber-Range Concept
Section titled “The Cyber-Range Concept”Protocols often fail not because of logic bugs, but because of economic exploits or congestion cascades that only occur under extreme load. Aleatoric provides a deterministic data source to rehearse those conditions.
Aleatoric acts as a Cyber-Range—a controlled, adversarial environment to stress-test your on-chain primitives. Injection into a fork or testnet is user-operated; Aleatoric supplies deterministic feeds, funding paths, and caches.
No on-chain connectors are bundled. Operators are responsible for wiring RPC relays/oracle bridges; the engine provides deterministic data and MCP controls only.
Integration Targets
Section titled “Integration Targets”Liquidation Engines
Section titled “Liquidation Engines”- Scenario: A 40% flash crash in 5 minutes.
- Test: Does your liquidation bot clear positions fast enough to prevent bad debt?
- Aleatoric Role: Generate bursty sell-side order flow (
burst_probability,trade_intensity_vol_factor) and replay it deterministically across runs.
DEX AMMs
Section titled “DEX AMMs”- Scenario: LVR (Loss-Versus-Rebalancing) attacks during high volatility.
- Test: Measure the impermanent loss and arbitrage extraction under “toxic flow” conditions.
- Aleatoric Role: Emit depth-aware trades + book updates; you control bridge/oracle wiring to the fork.
Deployment Patterns
Section titled “Deployment Patterns”- Local Fork: Fork the mainnet state (Anvil/Hardhat/Foundry).
- Bridge: Stand up Aleatoric API (
uvicorn aleatoric.api.main:app --port 8000). - Inject: Stream
/stream/liveor read artifacts and push into your oracle/MEV harness. - Monitor: Track protocol metrics while validating determinism by replaying the same seed.