-
Clone the repository
-
Change directory to client
$ cd smart_contract
-
Install dependencies
$ npm install
-
Install Metamask and Signin to alchemy.
-
Create new App under Sepolia network.
-
Copy its key and paste it in hardhat.config.js file under url.
-
Get your metamask account private key and paste it in hardhat.config.js file under account.
-
Deploy the contract
$ npx hardhat run scripts/deploy.js --network Sepolia
-
Copy the contract address and paste it in client/utils under constants.js file.
-
Copy account key generated by deploying contract and paste it in client/utils under constants.js file.
-
under smart_contact/artifacts/contracts copy data of Github.json file and paste it under client/utils into Github.json file.
-
Change directory to client
$ cd client
-
Install dependencies
$ npm install
-
Run the client
$ npm run dev