Code for the simplest paid subscription bot for Telegram groups and channels. Just add @paid_subscription_bot to your group or channel and start charging crypto for your content!
- Clone this repo:
git clone https://github.com/backmeupplz/paid_subscription_bot
- Launch the mongo database locally
- Create
.env
with the environment variables listed below - Run
yarn
in the root folder - Run
yarn develop
And you should be good to go! Feel free to fork and submit pull requests. Thanks!
TOKEN
— Telegram bot tokenMONGO
— URL of the mongo databaseWEB3_PROVIDER
- Your local/remote Ethereum node
Also, please, consider looking at .env.sample
.
Any commit pushed to main
gets deployed to @paid_subscription_bot via CI Ninja.
MIT — use for any purpose. Would be great if you could leave a note about the original developers. Thanks!