Implementation of smart contract to ease the purchase of products online.
- Deep Chordia (2020A7PS2073H)
- Neeraj Gunda (2020A7PS0169H)
- Sravika Linga (2020A7PS1310H)
Implement a smart contract to confirm the receival of product by the buyer as well as the receival of equivalent product value by the seller.
- Smart contract written using solidity in Transact.sol file. Remix IDE used for testing.
- abortTransaction() - aborts the transaction upon execution. It is only executable by the buyer. Refunds the seller the remaining balance of the transaction, i.e. 4x the value of the item.
- confirmPurchase() - confirms the purchase of item by the buyer. It is only executable by the buyer.
- confirmItemReceived() - confirms the receival of item by the buyer. It is only executable by the buyer. Both the seller and the buyer are refunded their appropriate deposit amount on execution of the function.
- Solidity: https://docs.soliditylang.org/en/v0.8.17/
- Remix IDE: https://remix-ide.readthedocs.io/en/latest/