Skip to content

Repository files navigation

CheckDot.InsuranceProtocol

How it works

TODO

How to run

Clone and initialize the repository:

$ git clone https://github.com/checkdot/CheckDot.InsuranceProtocol.git
$ cd CheckDot.InsuranceProtocol
$ npm i

Compile the project:

$ truffle compile

Local Deployment

Deploy CheckDot Smart Contract to interact with CDT locally. Choose a local address of your choice from Ganache and modify the truffle-config.js in module.exports > networks > development > from by writing your selected local address.

constHDWalletProvider=require('@truffle/hdwallet-provider');varsecret=require("./secret");module.exports={plugins: ['solidity-coverage','truffle-plugin-verify'],api_keys: {bscscan: secret.API_KEY},networks: {development: {// truffle deploy --network developmenthost: "127.0.0.1",port: 7545,network_id: "*",from: "0x7f87C43136F7A4c78788bEb8e39EE400328f184a"},
...
}

And deploy locally

$ truffle deploy

Do the same in your CheckDot InsuranceProtocol Contract local repository. In the migration module replace the contract address with the one you generated deploying your local CheckDot Smart Contract. Deploy the contract:

$ truffle deploy --network development

How to test

$ truffle test

About

Decentralized insurance protocol, updates must be approved by the CDT community. Protocol composed in 3 parts Covers, Products and Calculator.

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages