Ethereum-crowdfunding-widget-javascript
Ethereum crowdfunding widget (accept ETH or ERC20 fundings) JavaScript implementation
Installation
- Run
npm update
- Rename config.sample.json to config.json and setup your provider address and ETH address
- Run
npm start
Deploy to AWS Lambda
- Install SAM (https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-install-linux.html)
- Run
npm run deploy
and follow the instructions
If you more like PHP, then check the PHP implementation: https://github.com/TheBojda/Ethereum-crowdfunding-widget
You can read my HackerNoon article about the widget here: https://hackernoon.com/create-a-crypto-crowdfunding-widget-from-a-few-lines-of-code
Itβs a sample widget that collects xDAI (and by the way, if you like the article, or simply want to try how it works, you can send me some xDAI):