{"id":25406526,"url":"https://github.com/tnodes/lens-faucet-bot","last_synced_at":"2025-10-31T02:31:06.513Z","repository":{"id":276459330,"uuid":"926024275","full_name":"Tnodes/lens-faucet-bot","owner":"Tnodes","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-08T10:56:53.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-08T11:35:49.747Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/Tnodes.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-02-02T11:11:10.000Z","updated_at":"2025-02-08T10:56:56.000Z","dependencies_parsed_at":"2025-02-08T11:35:55.056Z","dependency_job_id":"ae67571f-5264-48e1-8c98-4a6520f3dc7e","html_url":"https://github.com/Tnodes/lens-faucet-bot","commit_stats":null,"previous_names":["tnodes/lens-faucet-bot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tnodes%2Flens-faucet-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tnodes%2Flens-faucet-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tnodes%2Flens-faucet-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tnodes%2Flens-faucet-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tnodes","download_url":"https://codeload.github.com/Tnodes/lens-faucet-bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239092735,"owners_count":19580214,"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":[],"created_at":"2025-02-16T05:33:23.895Z","updated_at":"2025-10-31T02:31:06.506Z","avatar_url":"https://github.com/Tnodes.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e [!IMPORTANT]  \n\u003e **This repository is deprecated, the lens faucet now requires a Google account**\n\n# Lens Protocol Testnet Faucet Bot\n\nAn automated bot for claiming tokens from the Lens Protocol testnet faucet. The bot solves maze challenges and handles Cloudflare Turnstile captchas automatically.\n\n## Features\n\n- 🎮 Automated maze solving using A* pathfinding algorithm\n- 🔄 Proxy support with rotation\n- 👛 Multiple wallet support\n- 🤖 Automatic Cloudflare Turnstile captcha solving (via 2captcha)\n- 📝 Detailed logging with colored output\n- ⏱️ Configurable wait times between attempts\n\n## Prerequisites\n\n- Python 3.8 or higher\n- A 2captcha.com API key (optional but recommended)\n- Proxies (optional)\n- EVM wallet addresses\n\n## Installation\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/Tnodes/lens-faucet-bot.git\ncd lens-faucet-bot\n```\n\n2. Install the required dependencies:\n```bash\npip install -r requirements.txt\n```\n\n## Configuration\n\n1. Create a `.env` file in the root directory:\n```env\n# Your 2captcha API key (optional)\nTWOCAPTCHA_API_KEY=your_api_key_here\n\n# Wait time between attempts in seconds\nWAIT_TIME=60\n\n# Don't change these\nTURNSTILE_SITEKEY=0x4AAAAAAA1z6BHznYZc0TNL\nPAGE_URL=https://testnet.lenscan.io/faucet\n```\n\n2. Add your wallet addresses to `wallet.txt`:\n```\n# One wallet address per line\n0x1234567890123456789012345678901234567890\n0xabcdef0123456789abcdef0123456789abcdef01\n```\n\n3. (Optional) Add your proxies to `proxy.txt`:\n```\n# Format: protocol://username:password@host:port\nhttp://user:pass@proxy1.example.com:8080\nhttp://user:pass@proxy2.example.com:8080\n```\n\n## Usage\n\nRun the bot using either:\n```bash\npython run.py\n```\n\nThe bot will:\n1. Load your configuration\n2. Initialize the captcha solver if configured\n3. Start attempting to claim tokens by:\n   - Getting and solving mazes\n   - Solving Cloudflare Turnstile captchas\n   - Submitting solutions and claiming tokens\n4. Wait for the configured time between attempts\n5. Log all activities and results\n\n## Logging\n\nThe bot maintains two log files in the `logs` directory:\n- `success.txt`: Records successful claims with transaction details\n- `failed.txt`: Records failed attempts with error information\n\n## Project Structure\n\n```\n├── run.py                 # Entry point\n├── requirements.txt       # Python dependencies\n├── .env                   # Configuration file\n├── wallet.txt            # Wallet addresses\n├── proxy.txt             # Proxy list\n├── src/\n│   ├── main.py           # Main program logic\n│   ├── core/\n│   │   └── solver.py     # Maze solving algorithm\n│   ├── models/\n│   │   └── maze.py       # Data models\n│   ├── services/\n│   │   └── api_client.py # API interaction\n│   └── utils/\n│       ├── banner.py     # ASCII banner\n│       ├── logger.py     # Logging utilities\n│       ├── proxy_manager.py    # Proxy handling\n│       └── wallet_manager.py   # Wallet handling\n```\n\n## Error Handling\n\nThe bot includes comprehensive error handling for:\n- Network issues\n- Invalid proxies\n- API errors\n- Captcha solving failures\n- Invalid wallet addresses\n\n## Contributing\n\nFeel free to submit issues, fork the repository, and create pull requests for any improvements.\n\n## Disclaimer\n\nThis bot is for educational purposes only. Use at your own risk and make sure to comply with the Lens Protocol's terms of service. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftnodes%2Flens-faucet-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftnodes%2Flens-faucet-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftnodes%2Flens-faucet-bot/lists"}