Introduction
Welcome to the Dojo
documentation!
Do you want to...
- Test your existing DeFi strategies?
- Optimize or train a new DeFi strategy?
- Stress test your new DeFi smart contracts?
Compass Labs developed Dojo
, an agent-based DeFi simulation
software operating at the EVM smart contract for realistic and risk-free testing
and training of DeFi strategies and smart contracts.
Dojo is derived from the Japanese words representing immersive learning, and we believe that our solution captures the essence of this concept.
Features
Runs at Smart-contract Level
Dojo
forks the actual blockchain and runs on the same smart contracts that would be run in real life.- This eliminates concerns about bugs in the model or missed assumptions about the protocol, and enables capturing micro-effects that impact simulation results, such as precision and rounding.
Runs Locally on Your Machine
Dojo
operates fully on your local machine.- There is no sharing of information about your strategies or simulations with us or any other party.
Simple Python Interface
Dojo
's interface allows full experimentation with strategies using Python.- Take advantage of Python's rich ecosystem of tools for data analysis and visualisation.
Transaction Ordering
- Directly edit the order of transaction execution for simulating various MEV scenarios.
Custom Data Integration
Dojo
sources it's own protocol events data for a subset of environments.- For environments we don't natively support, you can load in your existing datasets.
Upcoming
Market Impact Model
Simulate the market's response to your agent actions. With support from Senior Fellows at the Alan Turing Institute, Imperial College London, and the Oxford MAN Institute, Dojo
will include more complex market scenario models.
MEV Models
Simulate block inclusion probability and transaction ordering.
Multi Protocol/chain Simulations
Conduct simulations across multiple protocols and chains simultaneously.
Integration with More Protocols
Test your trading strategies across various protocols such as Uniswap, AAVE, GMXv2 and Perpetual Protocol.
Execution Environment
Transfer your strategy from the Dojo
fork to mainnet without any modifications, since Dojo
runs at the smart contract level.
Simple UI
Start, pause or stop your active trading strategies on Telegram with our easy-to-use bot.
Protocol Integrations
Dojo
currently integrates with UniswapV3
and AAVEv3
on Ethereum.
If you want your chain or protocol to be integrated with Dojo, reach out!
Get Access to Dojo
Dojo
is currently in beta testing. Reach out for priority access & feel free to contact us with any questions or feedback:
- Support via email
- @labs_compass on Twitter