Hive Devs, generate revenue through our Keychain Swap Widget

Swap Widget.png

Hive dApps can now integrate our Keychain Swap feature through an iframe and share commission fees on our swap. Keychain Swap find the best rate for any swap between HIVE, HBD and any Hive Engine token.
To make it easy to integrate, we've created a form which helps you build the widget you need.

1/ Fill the form with the following parameters:

  • Username (required): account that will perform the swap
  • Partner Username (optional): account that will receive the partner fee
  • Partner Fee (required if a partner username is specified): fee amount (0~1%)
  • Iframe width/height (optional): change the size to match your preferred design
  • From/To (optional): tokens shown during the initialization of the widget. Note that if the user doesn't have any balance for the from token, the next one on the list will be used instead.
  • Slippage (optional): slippage at which the swap is canceled

2/ Copy the resulting html code and include it in your code.
Screenshot 2024-06-14 at 9.53.03 AM.png
3/ Make sure your CORS policy authorizes our widget.
4/ That's it! You're good to go!

Discord

If you have any question, contact us in the #devs channel of our Discord:
https://discord.gg/3EM6YfRrGv

Team

@stoodkev : CEO - Witness
@cedricguillas : CTO - Witness
@theghost1980 : Front-end Developer
@manuphotos : Community Manager - Witness
@yabapmatt : Advisor - Witness


Support Hive Keychain development by voting for our proposal on PeakD or with HiveSigner.

H2
H3
H4
3 columns
2 columns
1 column
11 Comments