This code is a Solidity smart contract designed to enable a Provenance Tracking system. This system enables manufacturers to produce luxury goods, add them to the blockchain, and track their movement from one owner to the next. This provides buyers with a way to verify the authenticity of the product they are purchasing, as a record of its previous transactions is stored on the blockchain. Additionally, the use of blockchain technology helps to prevent fraudulent transactions. The contract first verifies whether the seller actually owns the product, and then checks if the buyer has sufficient funds in their wallet to make the purchase (including gas charges). If these conditions are not met, the transaction is reverted back to its initial stage, preventing fraudulent purchases and sales.
BlockChain creates a new block for every transactions and all blocks have a unique idetity number.One problem with this
property was bulk orders as if a bulk order is placed one single transaction is recorded and futher if the bulk order product is sold individually then the a new transaction is created for each sale.It was difficult to keep track of such purchases.
While integrating with UI some functions were not functioning as expected.
Tracks Applied (1)
Polygon
Technologies used
Discussion