Private State Token DEMO
These demos use PrivateStateTokenV1VOPRF of the Private State Token API for issuance and redemption and BoringSSL to create an issuance service.
How to run the demos
Setup Chrome:
- You can use your preferred Chrome Vestion and adjust the command below (for example, "Google Chrome Canary")
- Make sure you close all the instances of this Chrome version before running the command
- The command below runs Chrome with
private-state-token-issuer.glitch.me
registered as an issuer.
open -a "Google Chrome" --args --additional-private-state-token-key-commitments='{ "https://private-state-token-issuer.glitch.me": { "PrivateStateTokenV1VOPRF": { "protocol_version": "PrivateStateTokenV1VOPRF", "id": 1, "batchsize": 1, "keys": { "1": { "Y": "AAAAAQQ7W5gOubJT3kTpzNGsekT9RZPXgXGrOMB2+QPw/ZzAuLrM3kc8eyHuTc1KmKjH4sh5+ev5GCI4HVVd46o6rWvNvk0iZQtVuUPhT8X54Ajebng8v5zUnpnPuTjGqlc7+MM=", "expiry": "2082758399000000" } } } } }'
- Open the 🛂 Private State Token Redeemer demo with Chrome
- Click a "click continue to read"
- If your browser doesn't have a token, click a link to 🎫 Private State Token Issuer demo.
- Click a Yes I'm a Human to issue a new token
- Redirect back to Redeemer
- Click a "click continue to read" again, then you can read more !
Source Code
- GoogleChromeLabs/private-state-token-demo
- This is not a Google product.