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

Enable Platform Fee Collection on Input Token in Swaps #98

Open
llegoelkelo opened this issue Aug 8, 2024 · 1 comment
Open

Enable Platform Fee Collection on Input Token in Swaps #98

llegoelkelo opened this issue Aug 8, 2024 · 1 comment

Comments

@llegoelkelo
Copy link

We are currently utilizing Jupiter Terminal on our platform to facilitate token swaps and collect platform fees via the Jupiter Referral Program. Our catalog includes over 100,000 tokens, and currently, platform fees are only collected when specific tokens are used as the output in swaps.

Issue

It has come to our attention that while there was an update intended to allow the collection of platform fees based on the input token, this does not seem to be functioning as expected. For example, in our tests using WSOL as both the input and output token, the platform fees are only collected when WSOL is the output token.

Expected Behavior

Platform fees should be collectible regardless of whether the specified token is used as the input or the output in the swap process, as per the recent updates.

Actual Behavior

Platform fees are only collected when certain tokens like WSOL are used as the output token in swaps, not when they are used as the input.

@ceeriil
Copy link

ceeriil commented Aug 9, 2024

I'm currently have platform fee set up in my app but for a specific mint. I think the way it works is only selected token on the jupiter referal dashboard are used

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

No branches or pull requests

2 participants