TON Payments
TON Payments is the platform for payment channels.
It allows instant payments without the need to commit all transactions to the blockchain, pay the associated transaction fees (e.g., for the gas consumed), and wait for block confirmation.
Because the overall expense of such instant payments is so minimal, they can be used for micropayments in games, APIs, and off-chain apps. See examples.
Payment channels
Smart contracts
SDK
To use payment channels, you don’t need deep knowledge of cryptography.
You can use the following SDKs:
- toncenter/tonweb — JavaScript SDK
- toncenter/payment-channels-example — how to use a payment channel with TonWeb.
Examples
Find examples among the Hack-a-TON #1 winners:
- Grejwood/Hack-a-TON — OnlyTONs payments project (website, video)
- nns2009/Hack-a-TON-1_Tonario — OnlyGrams payments project (video)
- sevenzing/hack-a-ton — Pay-per-request API usage on TON (video)
- illright/diamonds — Pay-per-minute learning platform (website, video)
See also
Was this article useful?