Examples: How to recieve payments in a Telegram bot written in JavaScript
coalus opened this issue · comments
Summary
Repeat #8 but in Node js
Context
Bots are great for providing use cases for TON and we want to encourage people to build more of them. That's why we need a clear tutorial showing how to start accepting payments in TON.
Goals
- Provide a deployable example of Telegram bot capable of accepting payments through TON.
- Make sure code is covered with comments and sufficient documentation is provided for junior developers to handle bot deploy and code reusage.
- Provide clear instructions on how to switch between mainnet and testnet.
Deliverables
- repository with bot code and documentation
- instructions on how to set up and test bot locally
Definition of Done
[ ] Bot can be run from the code provided in the repository
[ ] Bot accepts payments on testnet
[ ] Bot accepts payments on mainnet
[ ] Article hosted on tonspace
Reward
- Standard TON Footstep NFT
- 777 Toncoin
Total: $1150
if approved, I am ready to proceed with implementation
I'm not sure that there is a need for such a tutorial given there are #8 examples in Python. But @SwiftAdviser might have another opinion
We need this example for JS stack developers, it's a good idea!
It's very important to use the ton.js
library from the ton-community
organization:
Also, it's crucial to write a tutorial, like the guys from ton-footstep #8 did.
You could use it as an example:
https://www.tonspace.co/develop/dapps/payment-processing/accept-payments-in-a-telegram-bot/
As a Definition of Done we need an article hosted on tonspace, but for JS stack.
Feel free to write me using Telegram (@SwiftAdviser), I would be happy to assist.
Great, then I'm getting to work
Starttime: October 24, 2022
Deadline: November 5, 2022.
I think footstep is ready
Article on tonspace.co
Source code
Thank you!