Payments and subscriptions
Contracts that accept TON, record who paid and until when, and bounce payments that are too small. Access in Telegram is granted from on-chain data.
TON is the blockchain built into Telegram, so a TON contract can be paid from a wallet inside the messenger and used by a bot or a Mini App. I write TON contracts in Tact, test them in the TON sandbox, deploy them to testnet and connect them to Telegram. My open project TON Access Pass shows the whole chain: a contract for paid subscriptions, a bot, a Mini App and 25 tests.
Contracts that accept TON, record who paid and until when, and bounce payments that are too small. Access in Telegram is granted from on-chain data.
The scalable TON pattern: a main contract deploys a small contract for every user, the way jetton wallets work. State stays small and gas stays predictable.
Withdrawals, price changes and other admin actions are allowed only to the owner, and the contract keeps a reserve for storage fees.
Every rule is covered by tests in @ton/sandbox: the normal flow, wrong senders, underpayments and edge cases with time.
TON Connect in a Mini App or on a website: the user confirms the transaction in Tonkeeper or another wallet.
A server or bot that reads contract state through the TON API and acts on it, for example by opening or closing access.
A contract cannot be patched after deployment, so the rules are written down first: who can send which message, what happens to the money in every case and what the contract must never allow. Each rule then becomes a test.
Testnet comes before mainnet, with real wallets. In TON Access Pass a real testnet payment caught something the tests had missed: the wallet took the forwarding fee out of the amount, and the contract correctly bounced the payment. The fix and a regression test went in right away.
I am not an audit firm. For contracts that will hold significant funds, I recommend an independent audit before mainnet and prepare the code, the spec and the tests for it.
From $1,500 for a contract with a clear set of rules, tests and testnet deployment. A Mini App, a bot, a backend and more contracts add to the scope. The price is fixed in the contract after a free 30-minute call.
Get a quoteFree, 30 minutes on a call or in Telegram. An estimate of timeline and price the same day.
I fix the scope, timeline and cost. I work as a registered self-employed professional.
Payment by stage, a demo every week — you see what you’re paying for.
I hand over the code and access; 2 weeks of support are included.
From $1,500 for a contract with tests and testnet deployment. The final price depends on the rules, the number of contracts and the interface on top, and it is fixed in the contract after a free call.
Tact for new contracts: it is readable and well supported by TON tooling. If your project already has FunC or Tolk contracts, we go over how to work with them on the call.
Yes, after testnet and your sign-off. For contracts that hold significant funds, I recommend an independent audit first.
Yes. TON Access Pass is on GitHub with the contracts, 25 tests and a contract deployed to testnet.
Yes, and that is the main reason to build on TON: a bot or a Mini App reads the contract and grants access, and users pay through TON Connect.
Next step
Describe the task in a couple of sentences. The same day I’ll tell you how to solve it, what it costs and how long it takes. The first call is free.
Prefer email? Leave a request and I’ll get back to you.