$ yarn install
$ yarn hardhat compile
$ yarn localhosting
Copy and paste the environment variables in the example in your .env and replace the PRIVATE KEY
THERE WITH the private key from your test account on metamask
if you want to interact with a testnet
$ yarn deploy
Replace the token address and market address in your .env with the addresses printed on your terminal after running yarn deploy
Replace the main wallet private key in your .env with the private key of the first account listed after running yarn localhosting
Docker would be used to handle your kafka containers, ensure that your docker files are on saved on linux for linux containers and windows for windows container Setting up docker
docker-compose up
Run the command to set up the kafka consumer on Node Js, other commands you need are in the package.json
$ yarn start:consumer