Skip to content

esantra/blockchainApp1

Repository files navigation

This blockchain node.js app was completed in a very short time - under about 8 hours. It stores a copy of the Weather.com (The Weather Channel) 10 day weather forecast in the blockchain via Arweave apis on the exact time it was accessed. For example, if you run the program on Tuesday, it will store the exact forecast for Tuesday and when you retrieve it, you will see Tuesday's forecast. In this manner, you can compare Tuesday's 10 day forecast with Friday's and see if the forecast was wrong or perhaps altered from some unknown natural event ;) Have fun!

Install is super easy if you have Node.js installed on your machine. Just clone the repo, cd inside the repo, and then run
npm i
npm start

*Files (weather.js and weather10.js) are available for storing api data from openweather api as well
*File weather10HTML_Schedule.js is available for running a scheduled job.