At GDrive 3.0, we are dedicated to providing a secure and user-friendly platform for storing, managing, and sharing files seamlessly.
- Install all the dependencies
npm install
- Compile the smart contract
Read more abourt working with smart contract and hardhat here
npx hardhat compile
- Deploy the smart contract
Read more about deploying smart contract here
npx hardhat ignition deploy ./ignition/modules/Deploy.js --network YOUR NETWORK (sepolia,ganache,localhost)
- Make a .env file and add the JWT token and Gateway from Pinata inside the client folder
REACT_APP_PINATA_JWT= YOUR JWT TOKEN KEY REACT_APP_PINATA_GATEWAY= YOUR GATEWAY
- Run the client application
cd client npm install npm start