Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
90 changes: 75 additions & 15 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[workspace]
members =["client", "notary", "core", "tests"]
members =["client", "notary", "core", "tests", "executor"]
resolver="2"

[workspace.dependencies]
Expand Down Expand Up @@ -38,6 +38,9 @@ uuid ={ version="1.10.0", default-features=false, features=["v4", "serde"]

tracing-test="0.2"

tempfile ="3.18.0"
wait-timeout="0.2.1"

[profile.dev]
incremental =true
opt-level =1
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ If you have any questions, please reach out to any of Pluto's [team members](htt
### Usage

```
cargo run -p notary -- --config ./fixture/notary-config.toml
cargo run -p client -- --config ./fixture/client.proxy.json
cargo run -p web-prover-notary -- --config ./fixture/notary-config.toml
cargo run -p web-prover-client -- --config ./fixture/client.proxy.json
```

## Security Status
Expand Down
10 changes: 10 additions & 0 deletions executor/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[package]
edition="2021"
name ="web-prover-executor"
version="0.1.0"

[dependencies]
tempfile ={ workspace=true }
tracing ={ workspace=true }
uuid ={ workspace=true }
wait-timeout={ workspace=true }
26 changes: 26 additions & 0 deletions executor/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Web Prover Executor

## Set up playground

```
npx playwright install
npm install -g playwright-core

git clone git@github.com:pluto/playwright-playground.git
cd playwright-playground
npm install -g ./playwright-utils

export NODE_PATH=$(npm root -g)
```

## Run example

Run notary in a separate terminal:
```
RUST_LOG=debug cargo run -p web-prover-notary -- --config ./fixture/notary-config.toml
```

Run example executor:
```
cargo run -p web-prover-executor
```
1 change: 1 addition & 0 deletions executor/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mod playwright;
Loading