Referral / Custom Market Fee
Referral program for additional earnings for providing UI for Alcor Swap
Last updated
Referral program for additional earnings for providing UI for Alcor Swap
Last updated
Register your market
To receive additional commission as a referral or as an additional UI provider. First, you need to register your account which will receive your additional fee, specifying the amount of the desired fee. The fee will be charged from input token amount and sent to market account.
https://wax.bloks.io/account/swap.alcor?loadContract=true&tab=Actions&account=swap.alcor&scope=swap.alcor&limit=100&action=regmarket (for example WAX contract)
Call regmarket action on swap.alcor contract with following parameters:
marketName: account for receiving fee.
marketFee: as part of 10^6
marketFee Percent should be part of the 10^6 number. For example:
There are few option for you.
Simply add your market(from 1 step) as query parameter to swap url and share this as your referal link.
Add widget to your site
Swap WidgetAnd add the market query parameter to your iframe URL
3) Create custom UI and add your market to swap memo, use following format: