Create two data points to simulate a trip. The difference between the two data points will be used to privately calculate the distance traveled in the given time range. After each mileage calculation, a proof containing reward information will be generated and sent to Discount Smart Contract. If eligible for a discount, a Discount NFT will be minted and sent to the wallet set in the form.
History of Simulated Data
After each successful submission, the private mileage info will be saved locally and not visible publicly.