Installation
Last updated
Last updated
Before anything, go to the and create your app. Once your app is created, make sure to get your appId.
Chose and install the starter of your choice in one unique command line.
This command enables to you install one of the available starters:
offchain: Sismo Connect + request ZK Proofs from users and verify them in a backend
onchain: Sismo Connect + + + request ZK Proofs from users and verify them in a smart contract
[Upcoming] onchain: Sismo Connect + Next.js + hardhat + ethers coming very soon, until then, head over the if you want to use Sismo Connect with hardhat
This section is intended for developers who have prior experience with incorporating new tools into their existing repositories.
Make a Sismo Connect Request, users will be redirected to their Data Vault to generate a ZK proof and send your front end a Sismo Connect Response. This response, containing the ZK proof, will be verified on your back end/smart contract.
Install our React Library
Use our React Button to make Sismo Connect Requests
Your back end/smart contract will receive a Sismo Connect Response forwarded from your front end that you must verify.
Install the Sismo Connect Library
Install the Forge dependency:
Add the remapping in remappings.txt
:
verify Sismo Connect responses sent from your front end
The Sismo Connect configuration and request used in your smart contract/backend must exactly match those from your frontend.
Feel free to check the , a great companion when developing an app using Sismo Connect.
We are here to support you on our
Check the to see examples of requests.
@sismo-core/sismo-connect-client
is also available for non-React front ends. ()
Check the to get a large set of interesting requests.
about Sismo Connect config and impersonation mode.
Make sure to have installed.
If you are using Nextjs, you will need to add this config in the next.config.js
file to be able to verify the proof. You can find more information .