Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Cryptotip

Cryptotip screenshot

Donation button for cryptocurrencies.

coverage

Usage

  1. import the css and js files
<head>
    ...
    <link rel="stylesheet" type="text/css" href="https://cdn.rawgit.com/vincentdnl/Cryptotip/master/build/static/css/main.c0757ce9.css">
    ...
</head>
<body>
    ...
    <!-- Here goes the div --> 
    <script src="https://cdn.rawgit.com/vincentdnl/Cryptotip/master/build/static/js/main.84eed617.js"></script>
    ...
</body>
  1. create your donation box widget
<div
        id="cryptotip"
        data-bitcoin-address="3CahdmxRvrCiZVZLMpFchbDMVsdLyu69uF"
        data-bitcoin-label="My donation address"
        data-modal-title="Support my work with Bitcoin!"
></div>

Reference

  • data-bitcoin-address: your bitcoin address
  • data-bitcoin-label: the label in the donation uri (see: BIP-0021)
  • data-modal-title: the title that will be displayed on the modal

Licenses

See LICENSE.md

Icons are under Creative Commons Attribution 4.0: https://fontawesome.com/license