Write Python code for Pancakeswap V3 or similar.
Write Python code. Use the web3 library.
We have:
Router address, pair address, token 0 address and token 1 address, rpc provider address, amount of token 0.
Need to write a function to get the price of token 0 to token 1, using the simulation method (or other suggestions, if any). That is, no actual exchange will take place, but we will get the result of the exchange.
As a result, I get the value of how many token 1 I will receive as a result of the exchange. The result should match the pancakeswap website.
Third-party services are not suitable.
-
40 I'm ready to take it on, I think I will manage to figure it out by tonight if I start in the near future, as a last resort - I will definitely do it by tomorrow evening.
Current freelance projects in the category Python
IT Automation of VAT Reporting
223 USD
It is necessary to develop a system for automating the transfer of sales data from the CRM to the accounting system Wafeq. The system should import bank and payment reports, automatically reconcile payments with invoices, generate invoices for VAT reporting, and minimize manual… AI & Machine Learning, Python ∙ 1 minute back ∙ 2 proposals |
Software maintenance
111 USD
It is necessary to make adjustments to the software and maintain it in the future; the software places orders based on specified parameters and sends them to a Telegram bot. Python, Bot Development ∙ 50 minutes back ∙ 33 proposals |
Account reconciliation tool with the bank, cards, and accountantTechnical Assignment: Tool for Reconciling Accounts with Bank, Cards, and AccountantGeneral Goal A local tool (script/small application in Python) is needed, which is manually run once every 1-2 months on my computer and performs reconciliation between: Invoices I issued to… Python, Desktop Apps ∙ 12 hours 14 minutes back ∙ 28 proposals |
Automatic video posting on social media according to a scheduleTechnical Assignment (TA) Automatic video publication on social media according to a scheduleProject Description A script/bot (Python preferred, or any other solution of your choice — the main thing is stability and ease of maintenance) is needed, which automatically publishes… Python, Bot Development ∙ 1 day back ∙ 50 proposals |
Bot for receiving/searching applications
28 USD
In short: Create a bot where users can create and find profiles, the bot should have referral links, etc. Everything is detailed below. Client-side bot: Before the /start button, text in the center of the chat: What can this bot do? Welcome to Sugar Secret Agency! -Premium… Python, Bot Development ∙ 1 day 2 hours back ∙ 56 proposals |