AndreKuren / Storm_bot

Telegram bot for TWA Storm trade
https://storm.tg/
7 stars 1 forks source link

Monitoring errors in the transaction chain #1

Open AndreKuren opened 9 months ago

AndreKuren commented 9 months ago

Develop a script that allows for a selected smart contract to monitor all requests to it, and transmit logs if an error is detected in the transaction chain. Preferably one should write it in Typescript because then it can be used on frontend side.

Example of an error in the transaction chain: https://testnet.tonviewer.com/transaction/a7f498b5b5fa449fefb4e469a19a1a9e5a52b270eb0681e3f53c61f99738fd8b

Example of a successful transaction: https://testnet.tonviewer.com/transaction/BB2B8656D3C53BFE9573AF4B443EA5F299472383DE1E4E3E9B595BA063825247

MKdir98 commented 9 months ago

Hello Ander.

Should we do it in the Storm telegram bot?

A person enters the storm bot and gives the contract address and I should provide errors that happened in that smart contract. Is this what we need here?

AndreKuren commented 9 months ago

We offer you to create a simple script, which allows to track a chain of TON transactions. Preferably one should write it in Typescript because then it can be used on frontend side. I know that lots of small TON projects need such functional just to await their txs and display some kind of notifications to their clients. For these reasons I think better to use existing http TON clients.