Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 843 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 843 Bytes

Telegram bot TON payments example

After cloning the repository, you can run the following command to install the dependencies:

pip install -r requirements.txt or

poetry install

Insert your tokens and wallets in the config.json file.

to start bot localy, run the following command:

py bot/main.py or

poetry run python3 bot/main.py

It starts in testnet mode by default. To run in mainnet mode, change "WORKMODE" in config.json from "testnet" to "mainnet".:

This repository is not for production. if you deploy it to heroku in this state you can lose data in bot/local.db database from time to time.

Articles with explanations