Collateral Protection Insurance for Crypto-backed Loans. Policy pays 100% of the issued loan amount if value of collateral provided by the borrower (i.e. ETH, or tokenized asset) drops by 90% or more.
*Current policy only supports ETH as collateral. But in the future it will support more tokens and tokenized assets such as car.
- Collateral protection for your tokens and tokenized assets
- Pay a one time premium
- Supply capital to earn APY
- Withdraw your funds anytime
- Automated price updates using oracles
- Setup CRON service for price update
- Inclusion of ERC20 tokens
- Inclusion of ERC721 tokenized assets
- DAO
InsuranceProvider
0x5C8de88dB93b9D28b480a355027E18bC571925c7
Pool
0xE0B0143Cd556f85dE0d71594c8c2195a681e3a03
- If you want to develop and run the project locally make sure you switch to devnet branch.
- Deploy chainlink nervos and copy feed registry address
- Change the feed registry address in InsuranceProvider and InsuranceContract
- Node.js 12+ environment is required to use this repo.
npm install -g truffle
git clone https://github.com/chaitanyasjoshi/nervos-insure.git
cd nervos-insure
npm install
Before deploying, create a .env file in the root directory and set PRIVATE_KEY=<YOUR_ETH_PRIVATE_KEY>
npm deploy
cd client
npm install
npm run dev