Skip to content

formentor-studio/dapp-hotel-inventory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dapp-hotel-reservation

Example of smart contract to manage hotel inventory and reservations.

The smart contract implements the behaviour defined by the following BDD board:

📚 Stack

  • solc-js to compile smart contracts.
  • cucumber-js to test smart contracts.
  • Hardhat to run ethereum node during execution of tests.
  • ethers to interact with smart contracts during tests.

🗺️ Structure

./src/ with the source of smart contracts.
./test/features with the tests.
./dist/ with the compilation of the smart contract - abi and bytecode -.

🚀 Usage

  1. Install dependencies
yarn install
  1. Build smart contract
yarn build
  1. Test smart contract
yarn test

About

Smart contract to manage hotel inventory and reservations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published