This is the code for the Bitcoin Mining Shoes and the #BitcoinMiningChallenge by Siraj Raval on Youtube
Find a renewable energy source, like water, wind, solar, biofuel, geo-thermal, footsteps, etc. and use it for Bitcoin Mining! Post a picture or video of your miner on Twitter with the hashtag #BitcoinMiningChallenge! Then, submit your entry at the link below to win a signed copy of my shoe and receive a shoutout in my next video. There will only be one winner, the more creative and educational your project, the higher your chance of winning. Good luck!
- Raspberry Pi Pico
- ESP8266 WiFi Module
- Running Shoes
- Cardboard
- 8 Piezo-electric sensors
- Soldering Iron
- Scissors
- Glue Gun
- Tape
- Rechargable Battery
- Multimeter
- Pen
All dependencies can be installed from Thonny via Tools > Manage Packages. Type in the required package and click install.
Step 1 - Setup Raspberry Pi Pico (device #1) by watching this video.
Step 6 - Setup Node.JS Web app on device #2 that collects Bitcoin address from Device #1 once every 24 hours, sends address to Slush Pool, and mines using Device #2.
Right now, device #1 only generates the address, while device #2 does the heavy lifting (block construction and block mining). This is due to the small amount of storage space available on the Raspberry Pi Pico (unable to store 500 GB blockchain). However, the Raspberry Pi full version can do all of this. So in a V2, the entire mining process should happen on device #1.
Credits go to Satoshi Nakamoto and the entire Bitcoin community.