A blockchain app for ownership verification built with Ethereum Smart Contracts.
- Node.js
- npm
- Hardhat
- Metamask
- Infura
- Web3.storage
- React
- Clone the repository
- Install the dependencies
npm install
- Make sure to change PROOF, UCAN, API keys env variables in .env file
PRIVATE_KEY=your_private_key_here
INFURA_API_KEY=your_infura_api_key_here
PROOF_KEY=your_proof_key_here
UCAN_KEY=your_ucan_key_here
- Run the react app with
npm start
- In another terminal run the backend app,
server.js
node server.js
- To deploy the smart contracts run the following command
npx hardhat run scripts/deploy.js --network sepolia
- After deployment, copy contract addresses and paste them in the .env file and constants.js
Content_Manager=contract_address_here
Licence_Manager=contract_address_here
- To run the tests
npx hardhat test
- Alexandra Toma
- Macovei Catalina