81 Submission
81 Submission
81 Submission
Abstract
Current warranty systems for businesses with diverse products or extensive cus-
tomer bases are bogged down by complexity. From the business perspective,
warranties establish trust among customers and attract new sales. Neverthe-
less, various challenges are associated with the issuance, servicing, verification
of warranties, and handling expiry. Businesses that offer a wide range of prod-
ucts or have a large customer base may encounter specific difficulties in this
regard. This research work presents an innovative, blockchain-powered solution
to mitigate the above-stated issues. Each product is assigned an unique and
secure warranty in the form of a Non-Fungible Token (NFT). This NFT tracks
ownership and expiry directly on the blockchain, guaranteeing its validity and
eliminating potential fraud. To ensure a user-friendly experience, account abstrac-
tion simplifies interaction with the system and reduces transaction fees. Finally,
Gelato Ops automates the secure burning of expired NFTs upon reaching their
designated date. This system streamlines warranty management for businesses,
enhances trust through automation, and leverages the security and immutability
of blockchain technology.
1
1 Introduction
According to a forecast by eMarketer [1], global retail e-commerce sales in the year
2022 exceeded an impressive amount of 4.9 trillion USD, which is an increase from the
previous year’s figure of 4.2 trillion USD. This signifies a compound annual growth
rate (CAGR) of 10.2% as compared to a 2.1% CAGR for global offline retail sales.
According to Statista, electronics accounted for 30.6% of total global online retail sales
in 2023 [2]. This is the largest share of any product category, followed by apparel and
fashion (22.2%) and home and garden (17.9%) [2]. Nevertheless, a difficulty emerges in
the dissemination of warranties for these commodities, as it is imperative to authen-
ticate the possessor and the expiration of the warranty. Presently, there exist two
classifications of guarantees: first, physical warranties that necessitate documentation,
are vulnerable to manipulation, and are not transferable. Second, digital warranties
are preserved in a centralized system and do not ensure comprehensive transfers of
ownership. NFTs began gaining massive attraction with CryptoPunks in October 2017
due to the most significant art sale in history by Mike Winkelmann, a digital artist
who sold his work for nearly $70 million [3]. The art industry has commercialized and
popularized NFTs, and the volume and value of NFT transactions are rapidly growing
[3]. NFT-based warranties have the ability to offer a resolution to all of these afore-
mentioned challenges. The issuance of NFT-based warranties can be executed with
swiftness and ease.
Once an NFT warranty has been minted, it can be transferred to the customer
without any difficulty. Moreover, NFT-based warranties can streamline the proce-
dure of warranty servicing. Furthermore, NFT-based warranties possess the added
benefit of being resistant to tampering and easily verifiable. NFT-based warranties
can revolutionize the warranty industry by making it more secure, transparent, and
efficient. They offer benefits like reduced fraud, improved customer satisfaction, and
increased sales. Additionally, they can enhance sustainability by reducing paper waste
and conserving resources. Previous scholarly works pertaining to NFT-based sys-
tems offer illustrations of various methodologies for utilizing NFTs, such as the car
rental paradigm[4], the house rent resolver[5], and the renting of playing cards[4].
Furthermore, these NFTs prove beneficial in addressing challenges necessitating the
verification of assets and their proprietors.
1.1 Motivation
The act of issuing warranties presents a dilemma that is anticipated to expand expo-
nentially in the forthcoming years due to the forecasts on retail sales, an expanding
customer base, and the assortment of items dispatched. NFTs will prove to be a
valuable approach in addressing the challenge of issuing, verifying, and disposing of
warranties whenever the need arises.
1.2 Objectives
• To create a NFT-based Warranty Issue System for implementation by various man-
ufacturers and retail sellers in order to distribute NFTs upon sale of warranted
items.
2
• To provide an algorithm to verify and authenticate valid owners of the warranties.
• To automate the burning process of NFT for expired warranties.
• To implement account abstraction to decrease gas cost on user.
2 Literature Review
The authors in [6] define the characteristics of the OpenSea NFT marketplace, which
is one of the largest platforms for trading NFTs. The researchers collected and ana-
lyzed sales data from January 2019 to December 2021, focusing on user behaviour,
economic trends, and network properties. Their research concludes that a small subset
of buyers and sellers, known as heavy-hitters, dominated the marketplace. They have
also observed a shift in sales from gaming-related NFTs to art and collectibles. The
findings contribute to a better understanding of the NFT market and its development.
The authors suggest that further research is needed to explore market trends within
specific NFT categories and across different platforms. On the other hand, the authors
in [3] offer a comprehensive examination of the potential influence of NFTs within the
realm of electronic commerce. The researchers systematically collected and organized
research papers, in addition to conducting a survey aimed at gauging public perspec-
tives on NFTs. The outcomes suggest that the majority of respondents hold a positive
view on the potential benefits of NFTs for e-commerce, citing various factors such as
authentication, trust, customer value, commodity, security, and proof of ownership.
The article emphasizes the necessity for industry-wide security standards and further
research to address concerns pertaining to environmental impact, security, fraud, and
intellectual property rights. Figure 1 and Figure 2 present the familiarity with digital
assets and familiarity ratings with digital assets among users respectively.
3
Fig. 2 Familiarity ratings with digital assets[3].
as a public blockchain that allows for the execution of smart contracts[4]. The benefits
of ERC-4519 in diverse utilization scenarios are illustrated. Instances encompass the
application of ERC-4519 non-fungible tokens in the realm of the digital art market,
where individuals may grant or lease their creative masterpieces. In music platforms,
the melodies can be vented and their permits can be shared temporarily.
The authors in [5] present a proof of concept for renting and selling smart homes
using blockchain technology, specifically the Ethereum network. The study explores
the features of ERC-4519 NFTs and discusses their application in the rental process.
By deploying a smart contract on the Goerli Testnet and utilizing a Pycom Wipy
3.0 device as the smart home gateway[5], the researchers successfully demonstrated
the feasibility of their proposed rental solution. Overall, the research work presents a
promising solution for renting and selling smart homes using blockchain technology.
The proposed system has the potential to improve the security, transparency, and
efficiency of smart home rental transactions.
The research work in [7] put forward a proposal for a warranty system that is
based on blockchain technology and utilizes NFTs as a means to tackle the chal-
lenges associated with traditional physical and digital warranties. The proposed system
generates product warranties that possess unique token IDs, with the product and
warranty details being stored in the metadata. Additionally, the image and metadata
are uploaded to the Inter Planetary File System (IPFS) for permanent storage on
the blockchain. This ensures that the warranties are resistant to tampering, can be
verified, and transferred, and their ownership can be tracked. The system offers var-
ious advantages, such as protection against physical damage, evidence of ownership,
authenticity, the ability to trace the history of the product, and simplified transfer of
ownership in the event of resale.
The authors in [8] discuss the significance of safeguarding NFTs and digital art-
works in the long run. It delves into the existing body of literature on blockchain
technology in the management of art and heritage, with a specific focus on NFT-based
digital art.
The research work presented in [9] [10] explores the integration of EIP-4337 as a
foundational standard for account abstraction (AA) in Ethereum’s Splurge phase, aim-
ing to enhance user accessibility and expand DApp functionalities. The study delves
4
into the operating mechanisms of account abstraction, advancements in accounts,
wallets, and standards related to its development, and conducts a preliminary secu-
rity evaluation. The paper recognizes the potential security enhancements achieved
through AA updates and provides an in-depth analysis of security vulnerabilities and
their mitigation with the adoption of account abstraction. The analysis covers various
Ethereum account-related vulnerabilities and demonstrates that account abstraction
can mitigate these issues by introducing a set of security enhancements. The research
work provides a comprehensive overview and evaluation of the concept of account
abstraction and its potential impact on Ethereum’s ecosystem. [9]
3 Methodology
3.1 System Environments
For the proposed methodology, it is essential that both the seller and buyer pos-
sess a Metamask wallet[14] in order to securely store their respective accounts. These
accounts serve as a means for issuing and receiving warranties. Additionally, the
buyer’s wallet address plays a pivotal role in the authentication process. Furthermore,
a resolver contract must be uploaded to Gelato Ops in order to effectively address
any warranties that have surpassed their expiry dates. Gelato Network is web3’s
automation network, enabling developers to automate & relay arbitrary smart contract
executions on and across all EVM-based compatible blockchains such as Ethereum[15].
Also, a Paymaster has to be set as an entry point into the Warranty Manager con-
tract so that the total gas costs can be paid by the Paymaster contract rather than
the user accounts. Therefore, the user needs to just sign a transaction and do not
need to pay the gas fees for it. Paymaster and Account Abstraction are set up using
Alchemy’s Account Abstraction Infrastructure. The prerequisites for minting the NFT
encompass the following elements: the wallet address of the seller and buyer, a unique
product ID, the URI of the product image, the time of creation, and the expiration
time. Technologies used are: React, Gelato Network, Gelato Ops, Alchemy, Polygon
Testnet, Solidity, IPFS.
5
Fig. 3 Schematic Representation of the proposed NFT Warranty system
Abstraction to make sure that gas fees are sponsored for the users for a better user
interface. This ensures that expired NFTs are transferred to an account that cannot
be spent, thereby rendering them useless and preventing any retrieval. The verification
of the warranty is achieved by utilizing the information stored in the metadata of the
NFT.
6
Fig. 4 Sequence Diagram of proposed NFT Warranty System
item. This resulting hash is compared with the verifyHash variable found in the NFTs
metadata. If these hashes are a match, the owner’s identity is confirmed, granting
them the ability to claim and create the NFT. Consequently, the NFT Warranty is
activated, enabling the buyer to utilize any services offered under the warranty.
7
Fig. 5 User Operations in Account Abstraction
surpasses the expiry time linked to the warranty, a Gelato Ops-uploaded NFT Resolver
contract triggers the burn function for a specific warranty ID. However, the seller
retains the ability to peruse the preceding data.
8
Fig. 7 Write Operations in Contract
S. no Software Version
1. Solidity 0.8.0
2. React 18.1.0
3. React Router 6.3.0
4. Web3.js 1.7.3
5. Tailwind CSS 3.3.1
6. IPFS 56.0.1
7. Gelato Ops 2.0.0
8. Ethereum 1.12.2
9. Polygon 4.4.5
buyer interaction with the proposed system. User Operations in Account Abstraction
is represented in Figure 5.
4.2 Results
Figure 6 and Figure 7 show the read and write functions of the deployed and verified
smart contracts on Polygon Mumbai [14] Testnet. By implementing Account Abstrac-
tion we have successfully sponsored the gas fees of all write operations. This has
9
Table 2 Gas fees paid by users
decreased the gas cost on the user from 0.0007555 ETH per warranty created to zero
wei per warranty thus decreasing the burden on users and acting as an incentive for
users to use the proposed system over other traditional systems.
Table II represents the difference in gas paid by the users while using different gas
options.
However, as there is a single Entry Point Contract and one Paymaster, it increases the
time taken for a transaction to be included in a block. Even though the time taken is
not significantly large for a small number of users the effect is significantly large for a
large number of users.
To overcome this bottleneck the proposed approach has a Bundler to bundle user
ops to decrease the time required to complete a transaction by bundling some user
operations in the mempool and sending them for validation and execution by the
handleOps function in the Entry Point Contract.
5 Conclusion
The proposed warranty system employs an innovative methodology that utilizes NFTs,
web3 automation, and account abstraction to enhance the security, transparency, effec-
tiveness, and convenience of warranties for both purchasers and vendors. The system
operates by generating an NFT Warranty for each item, subsequently associating it
with the purchaser’s wallet address. The NFT Warranty encompasses all pertinent
warranty details, such as the expiration date and the terms and conditions. Upon the
expiration of the warranty, a Gelato Ops-uploaded NFT Resolver contract automati-
cally eliminates the NFT Warranty, guaranteeing that it cannot be reused or redeemed.
The proposed framework is substantiated by preceding investigations on the utiliza-
tion of NFTs for warranties and the potential advantages of NFTs for e-commerce.
Nonetheless, it is imperative to acknowledge that there are certain difficulties linked
to NFTs, such as the danger of misplacement. It is crucial to implement suitable pre-
cautions to safeguard NFTs and ensure their enduring conservation.
In future, we plan to further address certain pertaining issues. One area of concentra-
tion pertains to the integration of the mechanism with e-commerce platforms, thereby
simplifying the process of purchasing products along with warranties for purchasers.
Another area of concentration is the development of a mobile application for the mech-
anism, facilitating users in managing their warranties while on the move. In general,
the suggested mechanism holds the potential to substantially enhance the warranty
encounter for both purchasers and vendors
10
References
[1] eMarketer. Worldwide ecommerce will approach $ 5 trillion this
year. Insider Intelligence, 2021, Association for Computing Machinery,
https://www.emarketer.com/content/worldwide-ecommerce-will-approach-5-
trillion-this-year.
[3] Eric Blancaflor and Kevin Aladin. Analysis of the nft’s potential impact in an e-
commerce platform: A systematic review. In Proceedings of the 10th International
Conference on Computer and Communications Management, page 239–245, New
York, NY, USA, 2022.
[4] Javier Arcenegui, Rosario Arjona, and Iluminada Baturone. Use case examples of
ethereum non-fungible tokens tied to assets using erc-4519. IEEE International
Conference on Omni-layer Intelligent Systems (COINS), 2023.
[5] Javier Arcenegui, Rosario Arjona, and Iluminada Baturone. Non-fungible tokens
based on erc-4519 for the rental of smart homes. Sensors, 23(16), 2023.
[6] Bryan White, Aniket Mahanti, and Kalpdrum Passi. Characterizing the opensea
nft marketplace. In Companion Proceedings of the Web Conference, page
488–496, New York, NY, USA, 2022.
[7] Aaliya Ali, Saransh Agrawal, Tanvi Pisalkar, and Snehlata Dongre. Modernising
e-commerce warranties using non-fungible tokens on the blockchain. In OPJU
International Technology Conference on Emerging Technologies for Sustainable
Development (OTCON), 2022.
[8] Andreia Nogueira, Célio Gonçalo Marques, António Manso, and Paula Almeida.
Nfts and the danger of loss. Heritage, 6(7), 2023.
[9] Qin Wang and Shiping Chen. Account abstraction, analysed. In IEEE Interna-
tional Conference on Blockchain (Blockchain), pages 323–331, 2023.
[10] Aniket Kumar Singh, Inzimam Ul Hassan, Gaganjot Kaur, Shanu Kumar, and
Anmol. Account abstraction via singleton entrypoint contract and verifying pay-
master. In 2nd International Conference on Edge Computing and Applications
(ICECAA), pages 1598–1605, 2023.
[11] Senay A. Gebreab, Haya R. Hasan, Khaled Salah, and Raja Jayaraman. Nft-
based traceability and ownership management of medical devices. IEEE Access,
10, 2022.
[12] Saeed Banaeian Far, Seyed Mojtaba Hosseini Bamakan, Qiang Qu, and Qing-
shan Jiang. A review of non-fungible tokens applications in the real-world and
11
metaverse. Procedia Computer Science, 214, 2022. 9th International Conference
on Information Technology and Quantitative Management.
[13] Khadija Manzoor, Umara Noor, and Zahid Rashid. Nft-based blockchain-oriented
security framework for metaverse applications, 2023.
[14] Lee, WM. (2023). Using the MetaMask Crypto-Wallet. In: Beginning Ethereum
Smart Contracts Programming. Apress, Berkeley, CA
[15] Gelato Network. Introducing gelato ops: Web3’s multi-chain smart con-
tract automation hub. https://medium.com/gelato-network/introducing-gelato-
ops-web3s-multi-chain-smart-contract-automation-hub-713dbcf2dad1
12