Skip to content

I-Gave/embedded-button

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Embedded Donation Button

Include this script on your page and then add elements with the 'btn-igave' class and the data-igave attributes

<button class="btn-igave" data-igave-campaign="4" data-igave-token="2">Donate Ether</button>

The script will wire a click event listener to purchase the token identified by the campaign Id and token index. If web3/metamask is not installed the elements will instead be hidden.

About

embedded donation buttons for I Gave

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published