Please take a look our hachathon project hosted by @DeveloperDAO and @MinaProtocol
- The user visits the web page and expresses a strong desire to log in with Google.
- The user clicks on the "Login" button.
- The web page's application requests a Google JWT (JSON Web Token) from the user.
- The user sends the JWT and specifies the amount of tokens to send to the Smart Contract.
- The Smart Contract initiates a request to the oracle.
- The oracle retrieves the public key from Google and verifies the RSA signature.
- If the signature is valid, the oracle returns the email and nonce signed by the oracle itself.
- The Smart Contract receives the data and executes the transaction.
- Clone this git repository and change to the project directory
git clone https://github.com/zk-auth-com/mina-google-keys.git
cd mina-google-keys
- Install project dependencies
npm install
- Follow the build steps under each part