Document Type : Research Article
E-coupons are commonly utilised as e-commerce expands because of their simplicity and mobility. Most electronic coupon systems have a central server where all coupon data is stored. E-coupon systems, however, often face security difficulties due to their centralization. Forged data on an e-coupon server, for instance, makes it impossible to determine which customer should get credit for a purchase, and a previously used coupon may be used several times beyond its expiration date (i.e., double-spending). To address this problem, we offer a novel e-coupon service that enhances the service's security by using a blockchain network. First, we'll be creating a server that can connect to the blockchain and provide the e-coupon service. Second, we design a blockchain-based smart contract that safeguards both the electronic coupon's business logic and its information. We built our version of the planned service on the Ethereum network.Experimental findings reveal that, compared to an already available e-coupon service, our proposed service offers much improved security with just a little performance hit.