Giter VIP home page Giter VIP logo

dhruv16s / temperature-threshold-alert-using-blockchain Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 279 KB

The following application accepts a dataset with temperature as an attribute. Based on the threshold set, a smart contract is triggered to send an alert to the user. The smart contract is deployed on the Polygon network and the transactions are facilitated through MetaMask.

Python 13.88% JavaScript 31.69% CSS 8.03% Solidity 18.16% HTML 28.24%

temperature-threshold-alert-using-blockchain's Introduction

Temperature-Threshold-Alert-Using-Blockchain

The application operates by activating a smart contract whenever the temperature surpasses the designated threshold. Within the smart contract, comprehensive records are stored, encompassing the dates and times on which the temperature exceeded the specified limit. Additionally, the application generates a comprehensive report, outlining the frequency with which the temperature exceeded the threshold.

Tech Stack Used

  1. Python 3.10.2
  2. Flask 2.3.2
  3. matplotlib 3.7.2
  4. numpy 1.25.1
  5. pandas 2.0.3
  6. Solidity Compiler 0.8.18+commit.87f61d96

Steps to create a MetaMask Account

  1. Open your preferred web browser (Google Chrome, Firefox, Brave, etc.) and visit the official MetaMask website to download the suitable plugin.
  2. Once the installation is complete, a new MetaMask icon will appear in your browser's toolbar. Click on this icon.
  3. Follow the instructions to complete setting up your account.

The following application is deployed over Mumbai Testnet which replicates the Polygon Network. To perform any transactions ensure you have the minimum MATIC tokens. As it is a testnet, the gas fee per transaction is minimal.

Steps to get free MATIC coins

  1. Visit the official Polygon Faucet Website
  2. Connect Your MetaMask Wallet and select the Mumbai Network, andthen choose the MATIC token.
  3. Enter your Wallet Address and click Submit.
  4. Follow the instructions. After a few moments, the tokens will be transferred to your account.

View application at website. Download the sample dataset here. When prompted, upload the downloaded dataset and choose the duration as June, 2023.

For further details, refer the Project Documentation

temperature-threshold-alert-using-blockchain's People

Contributors

dhruv16s avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.