User Personal Data Proving
Using OpenLayer's TLSNotary SDK, you can build web apps that allow your users to prove to you information inside their personal accounts, without sharing any credentials or sensitive information.
Examples
Example 1
Building a proof of Coinbase account and Country of Residence without the need to integrate with Coinbase or getting any other user personal information.
Try it out here: https://demo.openlayer.tech/prove?notary_config=coinbase_user
How it's built: https://github.com/0xJomo/openlayer-tlsn-sdk/blob/main/src/pages/prove/notarization/CoinbaseUserNewSdk.tsx
Example 2
Build a webapp that have the user prove their latest Revolut transaction.
Try it out here: https://demo.openlayer.tech/prove?notary_config=revolut_last_payment
How it's built: https://github.com/0xJomo/openlayer-tlsn-sdk/blob/main/src/pages/prove/notarization/RevolutLastPaymentNewSdk.tsx
How to Build
Find out following information
App server
API that contains the data you want the users to prove
JSON paths that includes the data to collect from users
Redirect URL to have your users go and log in to the app server
One API URL that will be fetched on login, which contains necessary authentication information
Method to build authentication headers
After these information are collected, use openlayer-sdk similar to the examples above to build the proving client. Once the proof is obtained, send it over to your own backend with openlayer-sdk-node to validate and analyze user info contained in it.
At the moment, to work with OpenLayer provided stack, please reach out to us to add support for a new website/server.
Discord: @openlayer
Telegram: @OpenLayerHQ
Last updated