@DumplingsTonBot code
A bot created for an example of accepting payments on TON, in the form of a dumpling shop🥟
Article with a full explanation of the bot's work: https://tonspace.co/develop/dapps/payment-processing/accept-payments-in-a-telegram-bot-js/
- Clone this repo:
git clone https://github.com/coalus/DumplingShopBot - Go to the folder:
cd DumplingShopBot - Create
.envwith the environment variables listed below - Run
npm install - Run
npm run app
BOT_TOKEN— Telegram bot token, which you can get from @BotFatherTONCENTER_TOKEN— Token for (testnet.)toncenter.com, which you can get from @tonapibot/@tontestnetapibot for the mainnet and testnet, respectivelyNETWORK—mainnetortestnetOWNER_WALLET— Wallet for accepting payments
MIT — use for any purpose. Would be great if you could leave a note about the original developers. Thanks!