🪄
Ease of use
Integrates easily with just few lines of code
Protect your routes with zero-knowledge proofs user verification
import { x511, toHono } from 'x511'
const { verified, verify } = x511({
domain: 'https://mywebsite.com',
providers: ['self', 'zkpassport'],
disclousures: {
minAge: 18,
},
})
app.mount('/', verify)
app.get('/protected', toHono(verified), (c) => {
return c.text("You're in")
})X511 draws that line. Clearly, privately, and without compromise.