Skip to content

sunny9240/dex-arbitrage

Repository files navigation

Dex Arbitrage

Please note that Aurora on Near Protocol have now introduced gas/transaction fees. More info on their twitter account https://twitter.com/AuroraIsNear If running it on that chain you need a little ETH to pay gas fees in the owner address wallet that is firing off transactions.

Setup Instructions

Edit the .env-example.txt file and add a private key, create one using this script if necessary:-

Build using the following commands:

cd DEX-Arbitrage
mv .env-example.txt .env
npm install
npx hardhat run --network aurora .\scripts\deploy.js

Then add the arbContract deployment address to config/aurora.json edit the base assets and move the funds across to the the arbContract address.

Then to execute run:-

npx hardhat run --network aurora .\scripts\deploy.js

Finally to recover any funds use the script.

npx hardhat run --network aurora .\scripts\recover.js

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published