/travelPermits

Decentralized covid19 Travel Permission app made with Solidity & React.js

Primary LanguageSolidity

You can now find the live deployed version at https://amedumer.github.io/travelPermits-live/

travelPermits

travelPermits Decentralized covid19 Travel Permission app made with Solidity & React.js. Made in Tübitak Bilgem Blockchain Research Lab

  • This dApp uses Ropsten Test Network.

How to use

  • Run sudo npm install
  • Change the initial admin's address in the /src/contracts/travelPermit.sol (Most preferably your address in Metamask)
  • Run sudo truffle migrate, this will migrate the contract to local blockchain network (Have Ganache running).
  • After succesfull migration, copy Transaction hash and Contract address of travelPermit.sol and store it somewhere. You might use it later
  • Run sudo npm run build and sudo npm run start

Things to note

  • Every mapping and data is public in the contract file, I had no time to fix bugs. Take it or leave it buddy, I personally thank god since it works
  • Start and End time uses Unix time.
  • There is an Admin panel in the dApp, to see it, you need be an admin. (Obviously..)
  • Maintainer role doesn't do anything at the moment, might add something later.
  • There are bugs, A LOT OF THEM. If you spot any of them just say hello and move on with your life.

Special Thanks

@aliparlakci, a.k.a React.js god himself