GithubHelp home page GithubHelp logo

insureblox / chainlink-hackathon Goto Github PK

View Code? Open in Web Editor NEW
6.0 0.0 2.0 5.05 MB

Parametric insurance solution for vessels going through rough seas based on Blockchain technology and enabled by Chainlink

Home Page: https://insureblox.gitbook.io/

Solidity 19.12% JavaScript 76.22% HTML 2.81% CSS 1.84%
chainlink chainlink-adapter chainlink-hackathon-2021 ethereum solidity smartcontracts chainlink-keepers javascript ethersjs hardhat

chainlink-hackathon's Introduction

Ocean Storm by InsureBlox

Ocean Storm is a parametric insurance solution ☂  for ships 🚢   going through rough seas 🌊   based on Blockchain 🚀  i.e. hazzle-free, automatic pay-outs in case of adverse weather events.

Get started

Install hardhat npm install --save-dev hardhat

Export your private key and get Alchemy API key on Kovan (testnet with faucet system currently working and compatible with Keepers). Create .env file with the following properties:

ALCHEMY_API_KEY = XXXXXXXXXX
PRIVATE_KEY = XXXXXXXX

Try running some of the following tasks:

npx hardhat accounts
npx hardhat compile
npx hardhat clean
npx hardhat test
npx hardhat node
node scripts/sample-script.js
npx hardhat help

Running locally

  1. npx hardhat node or npx hardhat node --hostname 127.0.0.1
  2. npx hardhat run scripts/deploy.js --network localhost

ℹ️ Connect metamask to Localhost:8545: RPC URL: http://localhost:8545 | Chain ID: 31337

Deploy

npx hardhat run scripts/deploy.js --network kovan

Frontend

Add and .env under /frontend folder with the following instruction:

SKIP_PREFLIGHT_CHECK=true

See more details

cd frontend
npm install
npm start

External Adapter

Refer to Datalistic / Storm Glass External Adapter

Test

Run the following command to perform the unit tests: npx hardhat test

Test coverage

npx hardhat coverage

chainlink-hackathon's People

Contributors

cnoveron avatar kevinourg avatar maikotrindade avatar malte1989 avatar othmansefraoui avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  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.