Skip to content

Commit

Permalink
Change to explorer and fix wording.
Browse files Browse the repository at this point in the history
  • Loading branch information
yuroitaki committed Jun 26, 2024
1 parent 9f8df71 commit abc5be6
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/quick_start/browser_extension.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ If you use the hosted notary server, notarization will take multiple seconds. Yo
When the notarization is ready, you can click **View Proof**. If you did close the UI, you can find the proof by clicking **History** and **View Proof**.
<img width="477" src="images/extension_history.png">

You also have the option to download the proof. You can view this proof later by using the **Verify** button or via <https://tlsnotary.github.io/proof_viz/>.
You also have the option to download the proof. You can view this proof later by using the **Verify** button or via <https://explorer.tlsnotary.org/>. You can get the Notary public key by visiting the Notary API specified [above](#notary-server).

## Troubleshooting

Expand Down
Binary file added src/quick_start/images/explorer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/quick_start/images/explorer_redacted.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 9 additions & 7 deletions src/quick_start/rust.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ The proof has been written to `simple_proof.json`
If you want to see more details, you can run the prover with extra logging:
```shell
RUST_LOG=DEBUG,yamux=INFO cargo run --release --example simple_prover
RUST_LOG=DEBUG,uid_mux=INFO,yamux=INFO cargo run --release --example simple_prover
```
### 2. Verify the Proof
Expand Down Expand Up @@ -107,11 +107,13 @@ cargo run --release --example simple_verifier
...
```
You can also use <https://tlsnotary.github.io/proof_viz/> to inspect your proofs. Open <https://tlsnotary.github.io/proof_viz/> and drag and drop `simple_proof.json` from your file explorer into the drop zone.
You can also use <https://explorer.tlsnotary.org/> to inspect your proofs. Open <https://explorer.tlsnotary.org/> and drag and drop `simple_proof.json` from your file explorer into the drop zone. [Notary public key](https://github.com/tlsnotary/tlsn/blob/main/notary/server/fixture/notary/notary.pub)
![Proof Visualization](images/proof_viz.png)
![Proof Visualization](images/explorer.png)
Redacted bytes are marked with <span style="color:red">red █ characters</span>.
Redacted bytes are marked with `X` characters.
![Proof Redacted](images/explorer_redacted.png)
### (Optional) Extra Experiments
Expand All @@ -130,7 +132,7 @@ We will also use an explicit (locally hosted) notary server this time.
The notary server used in this example is more functional compared to the (implicit) simple notary service used in the example above. This notary server should actually be run by the Verifier or a neutral party. To make things simple, we run everything on the same machine.
1. Edit the notary server config file (`notary/server/config/config.yaml`) to turn off TLS so that the rust prover can connect to the local notary server without requiring extra steps to whitelist self-signed certificates in the code.
1. Edit the notary server config file (`notary/server/config/config.yaml`) to turn off TLS so that self-signed certificates can be avoided.
```yaml
tls:
enabled: false
Expand Down Expand Up @@ -178,7 +180,7 @@ Next, run the `discord_dm` example to generate a proof:
```shell
cd tlsn/tlsn/examples/discord
RUST_LOG=debug,yamux=info cargo run --release --example discord_dm
RUST_LOG=debug,uid_mux=INFO,yamux=info cargo run --release --example discord_dm
```
If everything goes well, you should see this output:
Expand Down Expand Up @@ -210,7 +212,7 @@ The proof is written to `discord_dm_proof.json`.
### Verify
Verify the proof by dropping the JSON file into <https://tlsnotary.github.io/proof_viz/> or by running:
Verify the proof by dropping the JSON file into <https://explorer.tlsnotary.org/> or by running:
```shell
cargo run --release --example discord_dm_verifier
Expand Down
2 changes: 1 addition & 1 deletion src/quick_start/tlsn-js.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ For this demo, we also need to run a local notary server.
```sh
git clone https://github.com/tlsnotary/tlsn.git
```
2. Edit the notary server config file (`notary/server/config/config.yaml`) to turn off TLS so that the browser extension can connect to the local notary server without requiring extra steps to accept self-signed certificates in the browser.
2. Edit the notary server config file (`notary/server/config/config.yaml`) to turn off TLS so that self-signed certificates can be avoided.
```yaml
tls:
enabled: false
Expand Down

0 comments on commit abc5be6

Please sign in to comment.