Sismo Connect - Offchain Sample Project Repository
This repository aims at providing simple examples on how to integrate Sismo Connect offchain while allowing you to test the integration locally as easily as possible.
Usage
Prerequisites
Install dependencies
In a first terminal:
# install frontend / backend dependencies
yarn
Start your local Next.js app
In a new terminal:
# this will start your Next.js app
# the frontend is available on http://localhost:3000/
# it also starts a local backend
yarn dev
After this command, you will have your local application running on http://localhost:3000.
As you will see, the app showcase simple examples on how to register user in a database while maintaining privacy.
Update the config.ts file
To try to register, you will need to add your evm address in the ./config.ts
file:
// Replace with your address to become eligible for the registration
// make sure to have this address in your Vault
export const yourAddress = "0x855193BCbdbD346B423FF830b507CBf90ecCc90B";