Skip to content

dgornin/telegramCryptoBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram bot to find info about wallet owner in blockchain by passing it Nowadays, there is a problem that cryptocurrency address do not represent the owner if you know just address it is hard to untested who is an owner to contact with him. If owner want he can make note in blockchain with his contact information. This information will be secured in blockchain and every one cen get access to this information. Bot provide access to web3 provider to get this information from blockchain,to make UX better.

  • Creation by bot you can create note about your eth address and every one can see it just by placing your address in bot this will help other people to contact with you if they want.
  • Observation by bot it is possible to enter eth address and parse blockchain on existing of notes related to this account

Deployment

Run locally

Bot (python) part

To run bot you should install python 3.10 and some additional libraries you can find them in bot/requirements.txt

pip install python-telegram-bot --pre

Then to run bot you can use "python3" command

python3 bot_main.py

Or "nohup python3" to run it background on server

nohup python3 bot_main.py &

Front (Next.js) part

You will need to install node js locally then go to front folder and run "npx install" it will install all dependencies that require to run server

npx install

Then "npm run dev" to run server on local address

npm run dev

Smart contract (solidity) part

You should to download hardhat package

npm init
npm install --save-dev hardhat

Then change token to your and deploy contract to test net by

npx hardhat run scripts/deploy.js --network goerli

Contributors

License

telegramCryptoBot is MIT licensed.