mirror of
https://github.com/tlsnotary/tlsn-plugin-demo.git
synced 2026-01-08 21:08:13 -05:00
* Add interactive verifier demo * Serve and load plugin from local file * Show screenname at the end + removed attestation code * No more need for tlsn-js * Updated Docker container * Use environment variable to enable/disable POAPs * Improved UI * use LRU for tracking sessions Co-authored-by: Hendrik Eeckhaut <hendrik@eeckhaut.org>
1.5 KiB
1.5 KiB
TLSNotary Plugin Demo
Welcome to the TLSNotary Plugin Demo! This demo showcases how TLSNotary can be used to verify private user data in web applications.
In this demo, you'll prove that you own a Twitter account to the web server. The website will verify your proof and, as a reward, you'll receive a POAP (Proof of Attendance Protocol) token — while stocks last!
Open Source Code and Resources
- Demo Repository: tlsn-plugin-demo
- Twitter Plugin: tlsn-plugin-boilerplate
- TLSNotary Protocol, Notary Server, Browser Extension, and More: GitHub - TLSNotary
For more details, visit the repositories above to explore the code and contribute to the project!
This demo works by leveraging the Provider API functionality of the TLSNotary Extension
Installing and Running
- Build:
docker build -t tlsn-demo .- To build with POAPS enabled, add
--build-arg ENABLE_POAP=true - To set the verifier url, add
--build-arg VERIFIER_URL="http://demo.tlsnotary.org:7047"E.g.docker build --build-arg ENABLE_POAP=true -t tlsn-demo .
- To build with POAPS enabled, add
- Run:
docker run --rm -p 3030:3030 -p 7047:7047 -it tlsn-demo - Visit http://localhost:3030