FastAPI module (python) for Toncoin translations
It is necessary to add functionality for a project on fastapi (python) for generating and sending transactions in TON using pytoniq.
Project: Users submit requests for withdrawal in TON with a record in the database. These requests are executed after 21 days.
Workflow:
After new funds appear (or on a schedule), a worker checks the balance of the TON wallet (of the project). If the balance is sufficient for one or several pending requests, it selects a request from the queue (most likely a separate worker). Process requests sequentially (using a queue) – check the balance, send transactions via pytoniq, update statuses in the database.
For processing each request:
- Checks that the wallet balance exceeds the transfer amount plus the fee.
- Forms a transaction to transfer TON to the specified address.
- Upon successful sending, updates the request status in the database (for example, to completed), and in case of an error – changes the status to failed, and after new funds appear (or on a schedule) tries again.
If the balance is below the required amount for the next payment, repeat the check at the specified interval.
Project status: there is currently a working Telegram bot where users can make payments and submit withdrawal requests. You need to add the logic for processing these withdrawals and make the transfer in TON to the user's address.
Client's review of cooperation with Denis B.
FastAPI module (python) for Toncoin translationsThe project was completed on time considering all requirements. Good support, I recommend collaborating.
Freelancer's review of cooperation with Ihor Kovalev
FastAPI module (python) for Toncoin translationsEverything went well, excellent client and a very interesting project.
-
96620 1276 1 10 Hello. I have experience with FastAPI/Python. I am ready for collaboration.
-
573 2 1 Good day
I am ready to take on the improvement of the TON output functionality through FastAPI and pytoniq. I have experience working with FastAPI, asynchronous queues (Celery, Redis Queue), as well as integration with cryptocurrency APIs, so I will be able to implement the transaction processing logic correctly.
Current freelance projects in the category Cryptocurrency & Blockchain
I am looking for a strong specialist in trading bots and agents.
250 USD
It is important to start - TODAY I need a person who has experience in writing trading bots on DEXs (needed on the BSC network) with an understanding of transaction costs, gas, etc. I want to test several trading strategies on a real trading agent I need to quickly… Cryptocurrency & Blockchain, Bot Development ∙ 1 day 21 hours back ∙ 29 proposals |
Audit and construction of a secure infrastructure for sending BTC transactions
601 USD
We are looking for a Bitcoin security engineer for two tasks: (1) auditing the current wallet generation and BTC sending system to identify vulnerabilities; (2) designing and building a new secure infrastructure for key storage and transaction sending.Part 1 — Audit of the… System & Network Administration, Cryptocurrency & Blockchain ∙ 12 days 5 hours back ∙ 11 proposals |