{"id":25133133,"url":"https://github.com/cryptodev523/blockchain-scan-bot","last_synced_at":"2025-04-03T01:24:43.627Z","repository":{"id":241394028,"uuid":"799699511","full_name":"cryptodev523/blockchain-scan-bot","owner":"cryptodev523","description":"Telegram bot that scans the on-chain data on blockchain","archived":false,"fork":false,"pushed_at":"2024-05-27T19:55:39.000Z","size":35,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-08T15:38:38.086Z","etag":null,"topics":["bitquery","blockchain","dextools","etherscan-api","express-js","telegram-bot","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/cryptodev523.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":"2024-05-12T22:42:27.000Z","updated_at":"2025-01-19T08:21:42.000Z","dependencies_parsed_at":"2024-05-28T05:26:44.281Z","dependency_job_id":"b2f84d02-3153-41f8-981a-d94af14f958b","html_url":"https://github.com/cryptodev523/blockchain-scan-bot","commit_stats":null,"previous_names":["cryptodev523/blockchain-scan-bot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptodev523%2Fblockchain-scan-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptodev523%2Fblockchain-scan-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptodev523%2Fblockchain-scan-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptodev523%2Fblockchain-scan-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cryptodev523","download_url":"https://codeload.github.com/cryptodev523/blockchain-scan-bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246918691,"owners_count":20854869,"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":["bitquery","blockchain","dextools","etherscan-api","express-js","telegram-bot","typescript"],"created_at":"2025-02-08T15:34:19.987Z","updated_at":"2025-04-03T01:24:43.604Z","avatar_url":"https://github.com/cryptodev523.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Blockchain Scanning Telegram Bot\n\n## Description\n\nThis is a Express server that runs Telegram bot to interact with users and fetches token information from the EVM blockchain.\n\n## Installation\n\n1. Clone the repository:\n```\ngit clone git@github.com:cryptodev523/blockchain-scan-bot.git\n```\n\n2. Install the dependencies:\n```\nyarn\n```\n\n3. Create a `.env` file in the root directory and add your environment variables:\n\nYou can refer the `.env.example` file and replace with your variables.\n\n4. Run the server (Local)\n```\nyarn dev\n```\n\n## Endpoints\n\n- `GET /`: Returns a simple message indicating the server is running.\n- `POST /bs_webhook`: Receives a webhook from a Telegram bot and responds with token information.\n\n## Connect webhook with the Telegram bot.\n\n- Contact the `BotFather` Telegram Bot and create a new bot.\n- Set Webhook url to the Telegram bot with the token.\n```\nhttps://api.telegram.org/${BOT_TOKEN}/setWebhook?url=${SERVER_URL}/bs_webhook\n```\n\n## Interact with the bot.\n\n- Type the `/bs ${ERC20_TOKEN_ADDRESS}` in the bot.\n![Screenshot at May 27 15-53-09](https://github.com/cryptodev523/blockchain-scan-bot/assets/3051782/c2bbe106-5a78-41ba-91b1-d233410e0176)\n\n- Bot will reply in 20 seconds.\n![Screenshot at May 27 15-53-24](https://github.com/cryptodev523/blockchain-scan-bot/assets/3051782/8ebffd49-7c9d-495e-a740-0b70a94da639)\n![Screenshot at May 27 15-53-33](https://github.com/cryptodev523/blockchain-scan-bot/assets/3051782/0373f510-a18f-4c15-9077-b7832553ca8b)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcryptodev523%2Fblockchain-scan-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcryptodev523%2Fblockchain-scan-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcryptodev523%2Fblockchain-scan-bot/lists"}