/Flipkart-Loyalty-and-Rewards-Blockchain

Loyalty and Rewards program using Fungible tokens, made for Flipkart Grid 5.0

Primary LanguageTypeScript

This is a Loyalty and Rewards Program Website made for Flipkart Grid 5.0.

To run this project: (Note: The commands in the steps are written inside " ")

Libraries and Dependencies
So first of all we use yarn for all the version dependencies

"yarn install"

The version of node required

> = 16.0.0 && <= 17.0.0

Installation

For Windows: you MUST start the project by running Git Bash.

Execute the following command in the root directory of the project:

"yarn dev"

Open another terminal, and execute the following command in the root directory of the project:

"yarn deploy"

Use the local host url to run the website on a chrome based browser.

Using the metamask extension, import any of the dummy accounts through the private key and then connect to the local host.

After the website is loaded, go to the homepage and add the loyalty points token to your wallet.

DONE.

If testing in local environment, please make sure to have MetaMask installed and connected to localhost:8545 , and set chainId to 31337.