Currently, there are two folders in the bin folder, so I modified the command to test the opensea sudoswap arbitrage strategy.
When you run the bin cli cargo run --bin cli -- --strategy-name <NAME>, it returns a PANIC error if the folder name already exists.
I wrote logic to create the strategy dir by checking if it is an already existing folder.
Currently, the folder under strategies is named Kebab case and the folder created by the cli is Snake case, so it is not possible to run the existing opensea-sudo-arb.
First, we need to create a
We changed the case to snake -> kebab so that we can run the existing strategy.
in the existing readme is not executed.
Currently, there are two folders in the bin folder, so I modified the command to test the
opensea sudoswap arbitrage strategy
.cargo run --bin cli -- --strategy-name <NAME>
, it returns a PANIC error if the folder name already exists.I wrote logic to create the
strategy dir
by checking if it is an already existing folder.Kebab case
and the folder created by the cli isSnake case
, so it is not possible to run the existingopensea-sudo-arb
.First, we need to create a We changed the case to
snake -> kebab
so that we can run the existing strategy.