Sismo Connect Offchain Tutorial - Code a Private Mini Only Fans App - Video

19 Views
The goal of this project is to learn about working with the Sismo Connect Server Library in an offchain environment. The primary objective is to set up a private platform akin to OnlyFans, named "Only Penguins", where users holding a specific NFT, namely the Pudgy Penguins, receive a subscription discount based on the number of tokens they possess. This system leverages the power of Zero-Knowledge Proofs (ZK Proofs) combined with offchain verification, ensuring that users can prove their NFT ownership without compromising their privacy or revealing the specifics of their holdings.

Key Steps:
Setup: Download necessary tools and extensions like Node.js, Npm, and MetaMask.
Installation: Clone the tutorial repository from GitHub and install all required dependencies.
Database Creation: Setup your database on PlanetScale, with a connection configured for your local environment.
Sismo Connect Configuration: Configure the Sismo Connect in your application by accessing the unique appId.
React Button Configuration: Fine-tune the button for requesting user data proofs.
Backend Integration: Implement the mechanism to offer users discounts based on their NFT holdings and update the backend to reflect this.
Server-side Verification: Set up the server to process and validate the Zero-Knowledge proofs submitted by the front end.
Conclusion: With the integration complete, you've crafted a system that effectively combines vault ID requests with group membership, providing a comprehensive user experience.

Time Stamps:
0:00 Intro
1:17 Create App and Get App Id at Sismo Factory
2:04 Boiler Plate Walkthrough
4:15 Part One Starts
9:12 Sismo Connect Button
12:20 Database Set Up
13:55 Build API Route that Verifies ZK Proof and Stores User in DB
20:38 Improve UI
27:29 Build API Route to Update Paid Status
29:45 Demo of Part One
31:12 Part Two Intro
31:36 Data Group Creation and add onto Sismo Connect Button
34:56 Edit Database Set Up
35:48 Edit API Route to Check for New Proof and add Tokens to DB
39:11 UI Adjustments
41:30 Part Two Demo

Relevant Links:
Demo Github: https://github.com/ChaskinOnChain/sismo_offchain_only_penguins
Blog Version: https://mirror.xyz/dashboard/edit/heGFJLFwC91RK4_ePicV_zaV8tn_eyBb7YK4JYfgrWY
Sismo Docs: http://docs.sismo.io/
PlanetScale Docs: https://planetscale.com/docs
Next.js Docs: https://nextjs.org/docs
MetaMask docs: https://docs.metamask.io/
Category
Onlyfans Nude
Commenting disabled.