Hey everyone 👋, I am Himanshu. I have been working as a frontend engineer at a Crypto Wallet extension in the Cosmos ecosystem for the last 1.7 yea

Write your own Telegram Wallet bot

submited by
Style Pass
2024-02-11 15:30:05

Hey everyone 👋, I am Himanshu. I have been working as a frontend engineer at a Crypto Wallet extension in the Cosmos ecosystem for the last 1.7 years. Outside my work, I have done many freelance projects through a mutual friend. In freelance, mostly I have worked on web3 projects only, related to making a TG buy bot tracker, a coin flip web app game, and a TG wallet bot in the Ethereum ecosystem.

I have always found it difficult to find some good resources while working on those projects, most of the time I refer to Chat GPT, some random blogs, and YouTube videos. That’s why I thought I should write a blog on an actual working TG wallet bot, and that’s why this blog.

I will use a NodeJS environment to make this project. So, first, create a new folder tg-wallet-bot, and run npm init -y in that. After running this command, you must have got a package.json file in your tg-wallet-bot folder. Now, let’s add a few dependencies that will help us to quickly test our bot. Create dependencies, a new field in the package.json file object, and add the following dependencies with the mentioned version.

Why pinned dependencies and not a semver range? The reason for that is related to Security. Just to make sure that our project does not get compromised when an attacker tries to do some shady stuff in later versions.

Leave a Comment