e-commerce Warranty System using NFTs

e-commerce Warranty System using NFTs

a decaying NFT that proves ownership using smart contract. Provide the purchasing history, warranty period, and other item information.

459

Created on 29th December 2022

e-commerce Warranty System using NFTs

e-commerce Warranty System using NFTs

a decaying NFT that proves ownership using smart contract. Provide the purchasing history, warranty period, and other item information.

The problem e-commerce Warranty System using NFTs solves

  1. The blockchain smart contract should allow users to prove ownership
  2. Provide the purchasing history, warranty period, and other item information
  3. The warranty card should include the item’s serial number and upon purchase be sent to the customer’s smartphone.
  4. The NFTs should be decaying in nature, in that, after a certain period their use for the redemption of warranty benefits
    offered by the brand/retailer will expire.
  5. GUI-based tool that doesn’t require knowledge of any Blockchain programming to use by Brands and Retailers.
  6. Usage of Soulbound NFTs.
  7. Add any engagement/gamification construct to the loyalty program.

Challenges I ran into

  1. How to create decaying NFT? NFT can be decayed by burning the NFT after the expiry date has passed. Set the corresponding product expiry date on Token Creation. On Validating the warranty callafunction on smart contract that passes token ownership to address i.e. burns it.

  2. How to tie NFT based warranty to physical product? By associatinganew ERC721 token with the NFT image uploaded for a particular product. Upload the NFT image on IPFS using Pinata. Using the IPFS url,we should createanew ERC721 token. Now return the new tokenID and store it in the database corresponding to the specific product.

  3. How to transfer the ownership of the NFTs. By using the inbuilt transfer function of ERC721 token only when the transfer request is made by the current owner of the token. First type of transfer is done by using safe_mint function(inbuilt function)that transfers the ownership from Baddress to current owner's address. Second type of transfer is done upon resale,where the owner manually types the address to which it wants to transfer the ownership to.

  4. How to track the repair and replacement to the original item? Wheneverarepair is done,the company can update the repair log. Before the repair,the customer needs to prove it's ownership. After the repairaUI is given for the company repairer to update the repair log database with the date and report of the repair to the corresponding tokenID.

  5. How to prove the ownership of a product? Whenever the validate function on smart contract is called it checks if message sender's address is equal to the owner's address or not. Firstly, when the ownership is transferred then the metadata(NFT name, NFT Description,NFT image url)is mailed to the new owner's email id. When anyone validates the warranty,then the validate function will only when the request sender is the owner of it and will be able to view nft based warranty.

Discussion

Builders also viewed

See more projects on Devfolio