If you want to embed the StablePay widget for donations or payments in your github repo or website follow the steps below. No signup or email required to start using StablePay.

Head over to our Widget Generator and follow these steps:

  1. Choose Donation to generate your Widget.

Note: Donations and payments directly from the same token (e.g DAI to DAI) are free of fees to receive, and sender will only incur the gas costs of the transaction like any normal ethereum transaction. In the case of a token conversion it will incur in a small platform fee that will be deducted from the final amount. Read more here for details:

  1. Create your list of amount options for the user to donate in DAIs. The default amount is going to be the first in the list.

  1. Put the address of your Ethereum wallet where you want to receive your tokens.

If you don't have a wallet, we suggest you start with a MetaMask wallet, is easy and fast. To learn more about it see:

  1. If you want your tokens to be deposited to Compound activate "Supply to Compound". Tokens will be supplied to Compound using your provided Wallet address where you can start earning interest on your DAI tokens. You have complete access to withdraw the tokens at any time with your wallet address.

To learn more about Compound, visit:

  1. Name of the owner of the Ethreum wallet(optional).

  1. After confirming a transaction, the widget will redirect to your web site of choice, put the web site URL here.

Donations in a website using HTML option

7.The code in HTML is going to be generated for you and you can paste it into your page!.

<!DOCTYPE html>
<!-- Add this <script> to the <head> tag -->
<script src=""></script>
<!-- Add this anywhere in your site where you would like to render the Widget -->
<div id="stablepay-widget"></div>
<!-- Add this <script> at the end of the <body> tag -->
type: 'Donation',
source: {
name: 'JOHN DOE',
address: '0x05b54683C2C02aa690DF8b25B18Cd89C37a44f0C'
amount: {
total: 5,
options: [5,10,15,25,30]
callbackURL: '',
theme: 'colored',
  1. The code will create a button similar to the one below.

  1. When the users 'click' the button, a widget like this will appear where they can choose the token they want to use for donating.

  1. Wait for the transaction to be completed, and now the user can be redirected to your provided URL.

Donations with Github

  1. The link is going to be generated and you can copy and paste it on your Github Repository to accept tips and donations directly.

<a href="">
<img src="" >
  1. You can use the link in your Github repository, pasting the link in a file repository.

  1. Wait for the transaction to be done, and now the user can be redirected to your Github page.

For more information, visit: