- Notifications
You must be signed in to change notification settings - Fork386
Add Pancakeswap V3 trades support#376
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:master
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
codecovbot commentedJan 20, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@## master #376 +/- ##==========================================- Coverage 84.20% 83.93% -0.27%========================================== Files 11 11 Lines 1057 1139 +82 ==========================================+ Hits 890 956 +66- Misses 167 183 +16 ☔ View full report in Codecov by Sentry. |
Dewald928 commentedJan 25, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Care to share an example script of how to call this? Additionally, things that have to change are the pair contract ABI. To make the |
@Dewald928 unfortunately pools management is not implemented in this patch, trading only.
Nothing in particular, just like the regular code, except for the POA middleware
|
hahage21 commentedJan 24, 2025
I use this code but wrong,i dont know how to use the code |
It's not full support for Pancakeswap V3, but now it's possible to recognize prices and make trades. Pancakeswap V3 is almost the same, but there are some differences, support for which I have added. I also added the
use_rpc_gas_price
option to not sendtype 2
transactions to BSC. But since BSC is not POS blockchain, in Web3 object you have to manually addgeth_poa_middleware
.