Alimentador de peces mediante pagos en la blockchain de Ethereum.
- Raspberry Pi
- Nodejs
- Ethereum
[ES] El usuario mira online una pecera y puede alimentar al pez de forma remota y pagar con Ether.
[EN] User watches a fish tank online and can feed the fish remotely and pay with Ether.
$ git clone https://github.com/Colm3na/EtherFish.git
$ cd EtherFish
$ npm i web3
$ mkdir secret
$ echo "wss://rinkeby.infura.io/ws/v3/YOUR-API-KEY" > secret/infuraWS.txt
$ cd src
$ node main.js
Any browser with Metamask enabled and account unlocked.
- Use IPC as Provider
const net = require('net');
const web3 = new Web3(new Web3.providers.IpcProvider('/users/myuser/.ethereum/geth.ipc', net, {}));
- Use a Stepper Motor
- Create a YouTube channel for live streaming.