Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Which router do I need to use to get the best quote? #238

Open
qraxiss opened this issue Feb 24, 2023 · 3 comments
Open

Which router do I need to use to get the best quote? #238

qraxiss opened this issue Feb 24, 2023 · 3 comments
Labels
question Further information is requested

Comments

@qraxiss
Copy link

qraxiss commented Feb 24, 2023

When using Uniswap's Universal Router I cannot calculate all prices perfectly.

@marktoda
Copy link
Contributor

Hi! Can you elaborate on the issue you're having? You should be able to quote trades properly using https://github.com/uniswap/universal-router-sdk

@marktoda marktoda added the question Further information is requested label Feb 24, 2023
@qraxiss
Copy link
Author

qraxiss commented Feb 24, 2023

I'm using python. Lib: https://github.com/uniswap-python

I don't know typescript at all, it would be great if you could share a document explaining how I can get the best price with web3 requests.

@qraxiss
Copy link
Author

qraxiss commented Mar 15, 2023

Hi! Can you elaborate on the issue you're having? You should be able to quote trades properly using https://github.com/uniswap/universal-router-sdk

Is there an example code on how I can calculate the best price? I couldn't find it in the library readme.md. I started using Nodejs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants