Sismo Connect Solidity is a Solidity library that allows you to verify the zk-proofs of your Sismo Connect Application onchain.
Here is the link to the full documentation of the library: Sismo Connect Solidity Library
You can learn more on Sismo Connect here.
# update foundry
foundryup
# install the package
forge install sismo-core/sismo-connect-solidity --no-commit
# add the remapping in remappings.txt
echo $'sismo-connect-solidity/=lib/sismo-connect-solidity/src/' >> remappings.txt
In your solidity file:
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import "sismo-connect-solidity/SismoConnectLib.sol"; // import the library
Distributed under the MIT License.
Please, feel free to open issues, PRs or simply provide feedback!
Send us a message in Telegram or Discord