1.0.3 • Published 3 years ago

health-chain v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Structure

src/main.js

  • import all the modules and use case.

src/modules

  • Transaction instance individual module.
  • Block instance individual module.
  • BlockChain instance individual module.
    • getter and setter for difficulty & miningReward.
    • getter and setter for pending transactions.
    • getter and setter for chain.

utils/keygenerator.js

  • generate public and private key.

.env.dev

  • PRIVATE_KEY=*************
  • PUBLIC_KEY=*************