This contract manages a house-swap process between two users. It's developed on Solidity and hardhat. You can read the first tutorial which show how the contract works here:
- The contract: https://dev.to/icolomina/creating-a-house-swap-contract-using-solidity-and-hardhat-part-1-4jeh
- The tests: https://dev.to/icolomina/testing-a-solidity-house-swap-contract-using-hardhat-and-typescript-4617
- The Angular application (I will push the code as soon as possible): https://dev.to/icolomina/deploying-and-accesing-an-ethereum-contract-using-ethers-and-angular-2hnd
- The Angular application: Reading contract events: https://dev.to/icolomina/reading-ethereum-contract-events-using-angular-and-ethers-b27
I will create more articles in dev.to to show how the tests are made and how to deploy the contract and call the functions.