Skip to content

Eric1015/gov-proof-pwa

Repository files navigation

GovProof

GovProof leverages the Ethereum Attestation Service (link) to offer a streamlined and secure method of personal information verification for both consumers and service providers. Upon arrival at a participating location, customers scan a QR code and choose the personal information they wish to share for verification. Once verified, service providers can create an attestation for the user, allowing re-entry within a specified time frame without needing to re-verify.

*** The website supports PWA and you can install it on the mobile phone after opening in the mobile browser. ***

*** The QR code scanner has issues on iOS devices and it might not work on the iOS devices. Scan QR code with the iOS built-in QR code scanner please. ***

  • Demo video:

demo video

Getting Started

Currently, only Sepolia testnet is accepted in this application.

Create an account on Ably to get the API key for the web socket connection: link

Create an account on WalletConnet to get the project id for the wallet connect provider: link

Install dependencies, configuration, and run the development server:

The schema that I used for the verified schema is: link

yarn install

cp .env.example .env.local
# fill in the .env.local file with your own values

yarn dev

Open http:https://localhost:3000 with your browser to see the result.

Learn More

You can create private data attestation with this schema: link

For other network urls, please visit the EAS official document: link

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.