Clique Docs
  • What Is Clique
    • TEE Network
    • Compute Coordination Network
  • Build with Clique
    • Clique Application Structure
    • Clique CLI
      • Installation
      • Develop Task
      • Build Task
      • Test Task
      • Deploy Task
    • Clique Client SDK
    • Smart Contract SDK
      • Smart Contract Integration
      • Clique Official Tasks
  • References
    • Clique Manifest
    • Clique Query
    • Verification
  • Sample Task Tutorials
    • Data Attestation
    • Social Verification
      • Github
      • Twitter
    • Making Arbitrary TLS Calls (TLS Oracle)
    • Custom Executor
  • Toolchain
    • Clique Pipelines SDK
    • Clique Attestation SDK
      • Attestation Protocols
      • Reading Attestations On-chain
      • Reading Attestations Off-Chain
      • What are Attestors ?
        • Data Sources
    • Clique Browser Extension
  • FAQ
  • Glossaries
  • Socials
Powered by GitBook
On this page
  1. Sample Task Tutorials

Social Verification

PreviousData AttestationNextGithub

Last updated 8 months ago

Clique supports different forms of social verification with end-to-end encrypted OAuth tokens.

List of Data Sources

Example

The example illustrates how to pick up properties you needed. It's useful when you want to submit this to some contracts which may require a specific structure.

name = "example_twitterUserInfo"
spec-version = "1"
type = "Schema"

proof-type = ["TEE"]

[input]
username = { type = "string" }

[output]
createdDate = { type = "u64", ref = "$tasks.clique_twitterPublicInfo.createdAt" }
followerCount = { type = "u64", ref = "$tasks.clique_twitterPublicInfo.followerCount"}
updatedAt = { type = "u64", ref = "$tasks.clique_twitterPublicInfo.timestamp" }

[[tasks]]
name = "clique_twitterPublicInfo"
proof-preference = "TEE"
[[tasks.input]]
username = { ref = "$input.address" }

Twitter
Github