Integrate

How to integrate?

WE heavily recommend integrating with either an iframe or link your users to https://smolrefuel.com/?partner=YOUR_ADDRESS, replacing YOUR_ADDRESS with an address where you want to receive rewards.

Why integrate SmolRefuel?

  • 50% revenue share with you

  • Improves UX for your users who need gas to use your dapp

Revenue share

50% of all revenue generated by your users will be given to you. Payouts will be sent after the amount to send reaches $1000.

Customization

You can add the following values to the query string:

  • `?disableBridges=true`, this disables bridges making it so users can only swap tokens for gas

  • `?outboundChain=56`, pre-fills the chain where the user wants to get gas, value should be the chain id

  • '?widget=basic', this hides unnecessary info like our logo and docs link so you can create a smol widget

For example, if you want to pre-fill chain to be Optimism, URL should be https://smolrefuel.com/?outboundChain=10

Last updated