Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Telegram bot that scans the on-chain data on blockchain

NotificationsYou must be signed in to change notification settings

cryptodev523/blockchain-scan-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

This is a Express server that runs Telegram bot to interact with users and fetches token information from the EVM blockchain.

Installation

  1. Clone the repository:
git clone git@github.com:cryptodev523/blockchain-scan-bot.git
  1. Install the dependencies:
yarn
  1. Create a.env file in the root directory and add your environment variables:

You can refer the.env.example file and replace with your variables.

  1. Run the server (Local)
yarn dev

Endpoints

  • GET /: Returns a simple message indicating the server is running.
  • POST /bs_webhook: Receives a webhook from a Telegram bot and responds with token information.

Connect webhook with the Telegram bot.

  • Contact theBotFather Telegram Bot and create a new bot.
  • Set Webhook url to the Telegram bot with the token.
https://api.telegram.org/${BOT_TOKEN}/setWebhook?url=${SERVER_URL}/bs_webhook

Interact with the bot.

  • Type the/bs ${ERC20_TOKEN_ADDRESS} in the bot.Screenshot at May 27 15-53-09

  • Bot will reply in 20 seconds.Screenshot at May 27 15-53-24Screenshot at May 27 15-53-33

About

Telegram bot that scans the on-chain data on blockchain

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp