Admin can upload a jpeg image of the certificate, a hash is computed of the image data and used to regester it as a valid certificate on ICP blockchain. Concerned party can verify the
- The ADMIN can register image of certificate
- Any third part who has logged in by Internet Identiy can Verify the image of certificate
If you want to test your project locally, you can use the following commands:
# Starts the replica, running in the background
dfx start --background
# Deploys your canisters to the replica and generates your candid interface
dfx deploy
cd Hashdrive/
dfx help
dfx canister --help
- Node.js 19.0.0+
- rustc
- dfx
- cargo
You need to be admin to register certificates
Step1:- bash dfx deploy
Step2:- you need you Principal Id
to get you principal Id open frontend link from dfx deploy. Login and your ID is there in the console.log
Step3:- paste your Principle Id string at HASHDRIVE/src/Hashdrive_backend/main.mo at line 19. atlast SAVE THE FILE
Step4:- bash dfx deploy
and open the frontend-link, you are a ADMIN now.
Step1:- bash dfx deploy
Step2:- open the frontend link and login
Step3:- upload a photo and click the verify button.
URLs: Frontend canister via browser: Hashdrive_frontend: https://nq4km-riaaa-aaaam-aehma-cai.icp0.io/ Backend canister via Candid interface: Hashdrive_backend: https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.io/?id=m5soc-6aaaa-aaaam-aehlq-cai