{"id":26520960,"url":"https://github.com/mesamirh/0gai-testnet-bot","last_synced_at":"2026-02-16T17:36:45.031Z","repository":{"id":280115109,"uuid":"941021673","full_name":"mesamirh/0gAi-Testnet-bot","owner":"mesamirh","description":"0gai testet bot. Auto swap.","archived":false,"fork":false,"pushed_at":"2025-03-20T10:26:24.000Z","size":36,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-07T05:34:20.830Z","etag":null,"topics":["automation","crypto","nodejs"],"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/mesamirh.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-01T09:43:39.000Z","updated_at":"2025-03-20T10:26:28.000Z","dependencies_parsed_at":"2025-03-17T18:23:27.972Z","dependency_job_id":"02265fb1-a61e-4a0f-915d-0ddac140e3e8","html_url":"https://github.com/mesamirh/0gAi-Testnet-bot","commit_stats":null,"previous_names":["mesamirh/0gai-testnet-bot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mesamirh/0gAi-Testnet-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mesamirh%2F0gAi-Testnet-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mesamirh%2F0gAi-Testnet-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mesamirh%2F0gAi-Testnet-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mesamirh%2F0gAi-Testnet-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mesamirh","download_url":"https://codeload.github.com/mesamirh/0gAi-Testnet-bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mesamirh%2F0gAi-Testnet-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29514028,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T09:05:14.864Z","status":"ssl_error","status_checked_at":"2026-02-16T08:55:59.364Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["automation","crypto","nodejs"],"created_at":"2025-03-21T12:30:18.515Z","updated_at":"2026-02-16T17:36:45.013Z","avatar_url":"https://github.com/mesamirh.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 0gAi-Testnet-Bot\n\nAn automated trading bot for the 0G Newton Testnet that performs random swaps between available token pairs using Uniswap V3 protocol.\n\n## Features\n\n- Automated random swaps between supported token pairs (USDT, BTC, ETH)\n- Dynamic gas price adjustment\n- Optimal fee tier detection\n- Configurable transaction count and time period\n- Random or fixed delay between swaps\n- Balance tracking and validation\n- Error handling and automatic retries\n\n## Prerequisites\n\n- Node.js v16 or higher\n- A wallet private key with testnet tokens\n- Basic understanding of DeFi and Uniswap V3\n\n## Installation\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/mesamirh/0gAi-Testnet-bot.git\ncd 0gAi-Testnet-bot\n```\n\n2. Install dependencies:\n\n```bash\nnpm install\n```\n\n3. Create a `.env` file:\n\n```\nWALLET_PRIVATE_KEY=your_private_key_here\nSWAP_DELAY=60\nMIN_BALANCE_FOR_SWAP=0.1\n```\n\n## Usage\n\nRun the bot:\n\n```bash\nnode main.js\n```\n\nFollow the prompts to:\n\n1. Enter the number of transactions\n2. Enter the time period (optional)\n\n## Supported Tokens\n\n- USDT\n- BTC\n- ETH\n- A0GI (native token, not available for swaps)\n\n## Available Trading Pairs\n\n- USDT-BTC\n- USDT-ETH\n- BTC-USDT\n- ETH-USDT\n\n## Safety Features\n\n- Minimum balance checks\n- Maximum gas price limits\n- Transaction timeout protection\n- Automatic retry mechanism\n- Slippage protection\n\n## Disclaimer\n\nThis is a testnet bot. Use at your own risk.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmesamirh%2F0gai-testnet-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmesamirh%2F0gai-testnet-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmesamirh%2F0gai-testnet-bot/lists"}