Closed Allen-Taylor closed 5 months ago
@Allen-Taylor Most of uses may want that kind of things but this project aims to exclude any 3rd party api dependencies and I think it's difficult to get a proper pool instantly by using the token address with Solana mainnet RPC.
Thanks for the suggestion though.
First, THANK YOU for this.
I was trading via Jupiter Quote/Swap API, but it doesn't handle low liquidity tokens.
One suggestion - it would be good to include a "helper" function that fetches the pool address based on the token address.
This is how I was doing it. I don't know if you can make another method via the RPCs that you use.
People usually trade by the token addresses.
Also, how did you figure how to construct the swaps instructions?
Thanks.