This Autonomous Agent seeks opportunities to make profit by trading between OSWAP token and the Oswap v2 pool OSWAP-GBYTE that trades the same tokens. The AA tries to make money by buying OSWAP from OSWAP token AA and immediately selling to the Oswap v2 AA, or vice versa.
The companion bot watches the markets and triggers the arb AA when it sees an arbitrage opportunity.
The base AA is already deployed (see its address by opening oswap-token-arb.oscript in VS Code with Oscript plugin), deploy your personal arbitrage AA by indicating your address in the owner field of your conf.json and running
node deploy.jsRun the bot:
node run.js stable-oswap2-arb 2>errlogAdd some money to your arb AA and a small amount (for network fees) to the bot's balance.
yarn test