Integrating Self Hands on Smart Contract SDK Workshop
summary
Hands‑on integration showing a full QR/deeplink flow into a mobile app that uses TEE attestation to generate ZK disclosure proofs, with a deployed ProofOfHuman contract, scope seed derivation and setScope step demonstrated live. Examples enforce minimum age 18 and excluded country: US, a US mock document fails before reaching the contract, and both on-chain SDK (Solidity) and off-chain SDK (TypeScript/Go) are used; bounties ($5,000 / $2,500 / $1,500 on‑chain, $1,000 off‑chain) and upcoming Aadhaar support are announced.
AI-written summary · about
chapters (28)
- 0:00Start
- 0:11Introduction
- 0:50Why Self: no centralized PII storage
- 1:28Sybil resistance via passports/IDs
- 2:19Selective disclosure: attributes & ranges
- 3:14Proving “over 18” & country exclusions
- 3:42OFAC privacy-safe compliance checks
- 4:32Adoption data & upcoming Aadhaar support
- 4:57How Self works: MRZ/NFC & commitments
- 5:55Aadhaar QR flow & commitments
- 6:21Disclosure proofs & on-chain tree
- 6:47One-person/one-nullifier model
- 7:28Integrator flow: QR/deeplink to app
- 8:03TEE attestation & ZK proof pipeline
- 8:40SDK options: on-chain vs off-chain
- 9:11Workshop repo layout (app & contracts)
- 10:29Front-end QR SDK & disclosure config
- 12:05Minimum age & excluded countries example
- 14:09Contracts overview (ProofOfHuman)
- 15:00VerificationConfig & config ID
- 16:41Custom verification hook usage
- 18:12Deploy script & constraints match
- 20:04Scope seed derivation & setScope
- 21:09Live QR scan & successful proof
- 24:02US doc mock: proof blocked demo
- 25:21Tools.self.xyz for scope generation
- 26:54Off-chain verifier quick start
- 29:15Bounties, docs, and closing
related talks
24mSelf Workshop
08mBringing real-world identity on-chain
23mReduce fraud and improve engagement using Digital Wallets
56mUtilizing national IDs in the Ethereum ecosystem
19mThe Mini Wallet as a Building Block of Interoperable Wallet-Based Age Verification
24mEnhancing Privacy in Cross-Chain Messaging: Untraceable Credentials with TEEs
21mBuilding better Apps with Zero Knowledge
32mPrivacy-First Age Verification on Android
