Add a Faircoin donation button to your webpage and start receiving donations today!
It's simple to use, clean cut, and loaded with customizable features.
Here is what it looks like, go ahead and give it a try:
It's simple to use, clean cut, and loaded with customizable features.
Here is what it looks like, go ahead and give it a try:
Use the wizard to quickly create a coin widget button for your
site right now, then, paste the code on your website. Or, if you prefer, you can download the source and host
it yourself.
Also we've made available a link to download a wordpress plugin for use the button, you'll find more information of how to use it at the end of the website
Send us an email and will help you with the widget
Add any of these options to the launcher code to customize this widget.
Option | Default Value | Acceptable Values | Description |
---|---|---|---|
currency | faircoin | faircoin | This widget supports Faircoin. |
counter | count | count amount hide |
Toggle what is shown in the counter next to the main button. count will show the total number of transactions. amount will show the total amount received (in FAIR). hide will hide the counter as well as hide the transaction count and total amount received within the window. |
qrcode | true | true false |
Set to true if you want to show the QR code generator that appears at the bottom left of the window. Set to false to hide the QR code icon. |
auto_show | false | true false |
Set to true if you want the window to auto appear as soon as the counter finishes loading. |
decimals | 4 | 0-10 | Adjust the number of decimals shown on the amount received statistic. |
lbl_button | Donate | (anything) | Change the text of the label on the main button. |
lbl_address | My Faircoin Address: | (anything) | The text that appears above your faircoin wallet address within the window. |
lbl_count | donations | (anything) | The text that appears in the window under the total number of transactions. |
lbl_amount | FAIR | (anything) | The text that appears in the window under the total amount of Faircoins received. |
onShow | null | function | Execute a function when the window opens. |
onHide | null | function | Execute a function when the window closes. |
Not sure how to work these options into the code? This example might help.
For use the widget on wordpress sites, you'll need to install this wordpress plugin:
Once installed, you only need to paste this code anywhere you want to have the button:
[coinwidget address="HERE YOUR FAIRCOIN ADDRESS"]
[coinwidget
address="HERE YOUR FAIRCOIN ADDRESS" currency="faircoin"
counter="count" alignment="al" qrcode="true" auto_show="true"
lbl_button="Donate faircoin" lbl_address="My address" lbl_count="Number of donations"
lbl_amount="FAIR"]
[coinwidget address="HERE YOUR FAIRCOIN ADDRESS"]