Skip to content

Latest commit

 

History

History
41 lines (33 loc) · 714 Bytes

README.md

File metadata and controls

41 lines (33 loc) · 714 Bytes

Blockchain Library

This projects demonstrates how a library would work on a blockchain.

Features

  • add Book
  • borrow Book
  • return Book
  • list Books
  • find all available Books by Title
  • find all Books by Author
  • find Book by ISBN
  • extend Borrowing Period

Run tests

  npx hardhat test

Project info

This project is based on the Hardhat development environment.

Dependencies

  • Typescript
  • Solidity
  • Chai
  • Hardhat

Project structure

.
└── blockchain_library/
    ├── contracts/
    │   └── Library.sol
    ├── scripts/
    │   └── deploy.ts
    └── test/
        └── library.test.ts