jup-ag / sol-swap-flash-fill

Swap any token to SOL if the user has no SOL with Jupiter Flash Fill.
39 stars 10 forks source link

What token is it that's transfered and swapped? #1

Open tabatinga0xffff opened 8 months ago

tabatinga0xffff commented 8 months ago

With this, the borrower can immediately swap any tokens on Jupiter to SOL even if they don't have enough to open a wSOL account.

But where is it in the code where a particular SPL token is specified? What's its address? I haven't found any

Let's say, I've deployed this program. Will it, as is, support swaping any SPL token that I may send to it?

Otherwise, how would I have to tweak the code to make it so? Namely, I want to be able to swap my own SPL token for SOL. Or, better yet, multiple ones, from my list, also for SOL