Closed worlddlckgh closed 6 months ago
Support referralAccount mode, so integrator can just pass in their referral key, and Terminal will resolve to the respective feeAccounts.
Note: You will need to create the Token fee accounts to collect the platform fee.
referralAccount
const TEST_PLATFORM_FEE_AND_ACCOUNTS = { referralAccount: new PublicKey('2XEYFwLBkLUxkQx5ZpFAAMzWhQxS4A9QzjhcPhUwhfwy'), feeBps: 100, }; window.Jupiter.init({ // ... platformFeeAndAccounts: TEST_PLATFORM_FEE_AND_ACCOUNTS, })
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Support referralAccount mode, so integrator can just pass in their referral key, and Terminal will resolve to the respective feeAccounts.
Note: You will need to create the Token fee accounts to collect the platform fee.
By referral key
referralAccount