diff --git a/.gitbook/assets/Sismo Connect_ Under the Hood.png b/.gitbook/assets/Sismo Connect_ Under the Hood.png new file mode 100644 index 0000000..7264795 Binary files /dev/null and b/.gitbook/assets/Sismo Connect_ Under the Hood.png differ diff --git a/README.md b/README.md index f77a2ff..e8bbde3 100644 --- a/README.md +++ b/README.md @@ -130,7 +130,7 @@ Examples of Data Groups: | [Sismo Community Members](https://factory.sismo.io/groups-explorer?search=0xd630aa769278cacde879c5c0fe5d203c) | Wallets, GitHub, Telegram and twitter accounts of all people that helped Sismo | level of their contributions (1, 2 or 3) | {% hint style="info" %} -Anyone can create a new Data Group in the [Sismo Factory](https://factory.sismo.io). +Anyone can [create a new Data Group](data-groups/data-groups-and-how-to-create-them/). {% endhint %}
Broken linkBuild with Sismo Connect.png
https://apps.sismo.ioAppStore.png
https://case-studies.sismo.ioCase Studies.png
diff --git a/build-with-sismo-connect/getting-started-1.md b/build-with-sismo-connect/getting-started-1.md index 9bdc1bd..d741e45 100644 --- a/build-with-sismo-connect/getting-started-1.md +++ b/build-with-sismo-connect/getting-started-1.md @@ -13,6 +13,10 @@ You must create a Sismo Connect App in the [Sismo Factory](https://factory.sismo Your frontend must make a Sismo Connect request, users will be redirected to their Data Vault to generate a ZK Proof and your frontend will receive a Sismo Connect Response from them. \ This response, containing the ZK Proof, will be verified on your backend/smart contract. +{% hint style="success" %} +Check the [Sismo Connect Cheatsheet](sismo-connect-cheatsheet.md) to see examples of requests. +{% endhint %} + 1. Install our React Library {% tabs %} diff --git a/build-with-sismo-connect/getting-started.md b/build-with-sismo-connect/getting-started.md index 3d3b8c2..55a4c76 100644 --- a/build-with-sismo-connect/getting-started.md +++ b/build-with-sismo-connect/getting-started.md @@ -2,8 +2,9 @@
-Integrating Sismo Connect means two things: +Integrating Sismo Connect means 3 things main steps: +* Create a **Sismo Connect Application in the Sismo Factory** * **In your Frontend: Use our React button or client library to request ZK Proofs from users** (like you would request a signature with Wallet Connect) * **In your Backend/Smart Contracts: Use our Solidity/TypeScript library to verify those ZK Proofs** (like you would verify a signature with ethers/viem/ecrecover) @@ -30,5 +31,6 @@ Integrating Sismo Connect means two things: -
#sismo-connect-the-crypto-native-ssoWhat is Sismo Connect (2).png
run-example-appsBoilerplates.png
tutorialsTutorials.png
+ +
#sismo-connect-the-crypto-native-ssoWhat is Sismo Connect (2).png
run-example-appsBoilerplates.png
tutorialsTutorials.png
diff --git a/build-with-sismo-connect/sismo-connect-cheatsheet.md b/build-with-sismo-connect/sismo-connect-cheatsheet.md index 395b900..8c45f68 100644 --- a/build-with-sismo-connect/sismo-connect-cheatsheet.md +++ b/build-with-sismo-connect/sismo-connect-cheatsheet.md @@ -5,9 +5,16 @@ This cheatsheet presents all types of requests you can make with Sismo Connect. It contains: * How to impersonate Data Sources in your dev vault when developing a Sismo Connect App -* Request a large and diversified set of Data Sources ownerships/group membership + * Impersonating Data Sources enables you to be part of Data Groups and be able to make ZK Proofs claims. +* Request a large and diversified request: + * authentication: Data Sources ownerships + * claims: Data Group memberships * Verify them in a backend and access verified data +{% hint style="success" %} +To understand Data Groups and how to create new ones Data Groups, [visit this section](../data-groups/data-groups-and-how-to-create-them/) +{% endhint %} +
How the Request and Response look like 👉 https://test-request.sismo.io diff --git a/data-groups/data-groups-and-how-to-create-them/README.md b/data-groups/data-groups-and-how-to-create-them/README.md index e3bf3a3..0b789de 100644 --- a/data-groups/data-groups-and-how-to-create-them/README.md +++ b/data-groups/data-groups-and-how-to-create-them/README.md @@ -1,10 +1,18 @@ # Data Groups & How to Create them? -Data Groups are created via the [Factory](https://factory.sismo.io) or by creating a pull request on the [Sismo Hub](https://github.com/sismo-core/sismo-hub). +Data Groups are created via the [Factory UI](https://factory.sismo.io) or by creating a pull request on the [Sismo Hub](https://github.com/sismo-core/sismo-hub). -The Factory is an interface to create groups on the Sismo Hub. The Sismo Hub will compute merkle trees of Data Groups and publish the roots onchain. +
-Smart contracts and backends, to verify ZK Proofs, needs access to these merkle tree roots of the Data Groups. +The Factory is an interface to easily create Data Groups on the Sismo Hub infrastructure. + +The Sismo Hub computes merkle trees of groups, store them in its database and publish the merkle tree roots onchain. + +Onchain roots are the source of truth for backend and smart contracts to verify whether a ZK Proof is valid. + +{% hint style="info" %} +Everything is [open-source](https://github.com/sismo-core/sismo-hub) and all groups can be computed by all. +{% endhint %} ## Data Sources