At its core, Opensea-Arbitrage-Bot is architected as an event processing pipeline. The library is made up of three main components:
The following strategies have been implemented and fixed:
First, make sure the following are installed:
In order to build, first clone the github repo:
git clone https://github.com/WendellRyan/Opensea-Arbitrage-Bot
cd Opensea-Arbitrage-Bot
Next, run tests with cargo(Ensure that Rust is installed):
cargo test --all
In order to run the opensea sudoswap arbitrage strategy, you can run the following command:
cargo run --bin artemis -- --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>
[!IMPORTANT]
where
ARB_CONTRACT_ADDRESS
is the address to which you deploy the arb contractBefore deploying the contract, you can fill this in as
"invalid_address"
to test for any errors. However, make sure the other four parameters are filled in correctly, and the bid-percentage can be set to"0"
. Before making any adjustments, I recommend running the existing strategy first to familiarize yourself with how it works.
The current version has been deeply optimized, now capable of capturing arbitrage opportunities faster and more accurately to generate profits. In the future, I plan to build more strategies on this framework, such as arbitrage between decentralized exchanges.
The program is currently working properly
If you have any ideas, please contact me:
Discord: @wendellryan