{"id":27429432,"url":"https://github.com/byteball/stable-oswap-arb","last_synced_at":"2026-01-27T20:12:07.920Z","repository":{"id":53058560,"uuid":"391763070","full_name":"byteball/stable-oswap-arb","owner":"byteball","description":"Arbitrage AA and bot for arbitraging between Ostable and 2 Oswap pools","archived":false,"fork":false,"pushed_at":"2023-10-18T16:43:03.000Z","size":32,"stargazers_count":2,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T14:17:37.574Z","etag":null,"topics":["arbitrage","arbitrage-bot","autonomous-agent","autonomous-agents","obyte","trading","trading-bot"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/byteball.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-08-01T23:30:44.000Z","updated_at":"2025-02-24T21:00:35.000Z","dependencies_parsed_at":"2022-08-26T05:41:56.961Z","dependency_job_id":null,"html_url":"https://github.com/byteball/stable-oswap-arb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byteball%2Fstable-oswap-arb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byteball%2Fstable-oswap-arb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byteball%2Fstable-oswap-arb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byteball%2Fstable-oswap-arb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/byteball","download_url":"https://codeload.github.com/byteball/stable-oswap-arb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248894940,"owners_count":21179153,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arbitrage","arbitrage-bot","autonomous-agent","autonomous-agents","obyte","trading","trading-bot"],"created_at":"2025-04-14T14:17:41.884Z","updated_at":"2026-01-27T20:12:02.900Z","avatar_url":"https://github.com/byteball.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Arbitrage AA and bot for arbitraging between Ostable and 2 Oswap pools\n\nThis Autonomous Agent seeks opportunities to make profit by trading between [Ostable](https://ostable.org) and 2 [Oswap](https://oswap.io) pools that make a circle, e.g.\n* GBYTE -\u003e OUSDV2 on Ostable\n* OUSDV2 -\u003e USDC on Oswap\n* USDC -\u003e GBYTE on Oswap\n\nor the same circle in the opposite direction.\n\nThe AA trades only if it gets more GBYTE in the final trade than it sent in the first one.\n\nThe companion bot watches the markets and triggers the AA when it sees an arbitrage opportunity.\n\n\n## Usage\n\nThe base AA is already deployed (see its address by opening `arb.oscript` in VS Code with [Oscript plugin](https://marketplace.visualstudio.com/items?itemName=obyte.oscript-vscode-plugin)), deploy your personal arbitrage AA by indicating the following params:\n* `owner`: your address.\n* `stable_aa`: stable AA address, look it up on the Parameters tap at ostable.org.\n* `stable_oswap_aa`: Oswap Pool AA that connects two stablecoins: one from Ostable (O-token such as OUSDV2) and a stablecoin imported from another network (such as USDC) via [Counterstake bridge](https://counterstake.org).\n* `reserve_oswap_aa`: Oswap Pool AA that connects the imported stablecoin with the reserve currency (such as GBYTE).\n\nIndicate your address in the `owner` field of your conf.json.\n\nRun the bot:\n```bash\nnode run.js stable-oswap-arb 2\u003eerrlog\n```\n\nAdd some money to your arb AA and a small amount (for network fees) to the bot's balance.\n\n\n### Run tests\n```bash\nyarn test\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyteball%2Fstable-oswap-arb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbyteball%2Fstable-oswap-arb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyteball%2Fstable-oswap-arb/lists"}