This project is an implementation of a car leasing system as a smart contract on the Ethereum blockchain. The smart contract is written in Solidity. It is part of the course TTM4195 - Blockchain technologies and cryptocurrencies at NTNU.
To compile and deploy the smart contract, run the following command:
npx hardhat compile
npx hardhat run scripts/deploy.ts
Inside the test
folder, there are test files. To run thm, run the following command:
REPORT_GAS=true npx hardhat test
# or
npx hardhat test