Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

coalus/DumplingShopBot

Repository files navigation

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/

Installation and local launch

  1. Clone this repo: git clone https://github.com/coalus/DumplingShopBot
  2. Go to the folder: cd DumplingShopBot
  3. Create .env with the environment variables listed below
  4. Run npm install
  5. Run npm run app

Environment variables

  • BOT_TOKEN β€” Telegram bot token, which you can get from @BotFather
  • TONCENTER_TOKEN β€” Token for (testnet.)toncenter.com, which you can get from @tonapibot/@tontestnetapibot for the mainnet and testnet, respectively
  • NETWORK β€” mainnet or testnet
  • OWNER_WALLET β€” Wallet for accepting payments

License

MIT β€” use for any purpose. Would be great if you could leave a note about the original developers. Thanks!

About

Example of accepting payments in TON on NodeJS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /