shamil-t/ehr-blockchain

Checking Admin Acess

henglonerai opened this issue · 5 comments

Good day to you sir. Currently, my issue will be given the pop out for checking admin access. I am not sure what is the issue here.

image

make sure you ran truffle migrate

and connect to metamask to first account from ganahe.

**first account is the one who deploy the contract, and set as admin.

you can follow the steps in installing (created for an older version)
https://www.youtube.com/playlist?list=PL54V-i7zW55d1VKxEkp9DCPt5k_zE6m3X

thank you and i got it! fantastic job btw! also, im running to another problem where I am unable to add the doctor into the network.

according to the video, it shows that after clicking on 'add doctor' it will load and pops out metamask notification of transaction fees. however for my side here, it only shows a pop up 'adding doctor to the network'. I use a difference ganache address as shown in the video but yet it does not work.

image

Infura gateway no longer work without project id.
you can either create an account or use IPFS locally.
refer this issue,
#10

updated the main branch, and resolved IPFS issue.