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 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 schedule) tries again.
If the balance is below the required amount for the next payment, repeat the check after a specified interval.
It is important that the queue waiting for withdrawal is reliably implemented and operates without unexpected surprises. Based on the results of the task execution, new tasks periodically arise for this or other projects.
-
3516 51 2 Good day
I am interested in the opportunity to join your team. I have experience working with Python, FastAPI, and other modern tools for web technology and cryptocurrency development. In particular, I have worked on projects that included integration with blockchain systems, automation of application and transaction processing.
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 12 hours back ∙ 27 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 ∙ 11 days 20 hours back ∙ 11 proposals |