This repository contains a code for creating your own money button component. It does depend on the web3
library and requires Metamask to work correctly.
If you click on the button, it will send X ETH to an Ethereum smart contract that will distribute it between the author and previous voters.
You will find the build version here: dist/ethnewyork-moneybutton.js
.
<html>
<head>
<title></title>
</head>
<body>
<div id="your-custom-moneybutton"></div>
<script type="text/javascript" src="ethnewyork-moneybutton.js" />
<script type="text/javascript">
window.ethNewYorkMoneyButton.bootstrap({
domID: "your-custom-moneybutton",
contentId: location.href
})
</script>
</body>
</html>
- Ethereum
- Web3
- SKALE - the smart contracts have been deployed to SKALE side chain in order to significatly lower the costs.
MIT