Artemis is a framework for writing MEV bots in Rust. It's designed to be simple, modular, and fast.
At its core, Artemis is architected as an event processing pipeline. The library is made up of three main components:
The following strategies have been implemented:
First, make sure the following are installed:
In order to build, first clone the github repo:
git clone https://github.com/paradigmxyz/artemis
cd artemis
Next, run tests with cargo:
cargo test --all
In order to run the opensea sudoswap arbitrage strategy, you can run the following command:
cargo run -- --wss <INFURA_OR_ALCHEMY_KEY> --opensea-api-key <OPENSEA_API_KEY> --private-key <PRIVATE_KEY> --arb-contract-address <ARB_CONTRACT_ADDRESS> --bid-percentage <BID_PERCENTAGE>
where ARB_CONTRACT_ADDRESS
is the address to which you deploy the arb contract.