Skip to content

demo of a minimal car insurance policy as a Smart Contract on the Ethereum Blockchain

License

Notifications You must be signed in to change notification settings

validitylabs/ethCarInsurance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ethCarInsurance

Demo of a minimal car insurance policy as a Smart Contract on the Ethereum Blockchain. This project serves as a sample for the toolchain involving

  • yarn as package manager
  • truffle as testing framework
  • solidity coverage for test coverage

Running tests

  • yarn to install all packages
  • npm start to start testrpc
  • leave testrpc running and open new terminal window in which you execute the following commands
  • npm run compile to see if you can compile everything (you can skip this step)
  • npm run migrate to see if you can migrate to testrpc (you can skip this step)
  • npm run test to run the truffle tests
  • npm run coverage to generate a test coverage report - you see an output in the command line and an output coverage report will be generated in a separate folder

About

demo of a minimal car insurance policy as a Smart Contract on the Ethereum Blockchain

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published