Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Co-authored-by: Pablo Deymonnaz <[email protected]>
  • Loading branch information
supernovahs and pablodeymo authored Dec 2, 2024
1 parent 48d531d commit d7a08fa
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,11 @@ cargo run --bin incredible-squaring-avs start --config-path <PATH>
```
We have an example file [incredible_config.toml](https://github.com/Layr-Labs/incredible-squaring-avs-rust/tree/master/incredible_config.toml) for reference.

This command launches 5 services(crates) together
- Operator1 : It listens for new tasks , responds them by signing with their bls key and send the signed response to the aggregator. Stake in strategy : 5000 tokens
- Operator2 : Same task as operator 1 . Stake in strategy : 7000 tokens
- Aggregator : Sets up an Rpc client to receive signed task responses from operators, aggregates the signatures ,if quorums is met(i.e both operators sign the response),it calls the respondToTask function in the TaskManager contract.
This command launches 5 services(crates) together:

- Operator1 : It listens for new tasks , responds them by signing with their bls key and send the signed response to the aggregator. Stake in strategy: 5000 tokens
- Operator2: Same task as operator 1. Stake in strategy: 7000 tokens
- Aggregator: Sets up an Rpc client to receive signed task responses from operators, aggregates the signatures, if quorums is met (i.e both operators sign the response), it calls the respondToTask function in the TaskManager contract.
- Challenger : It listens for new tasks , checks the operators response, if found wrong, it raises a challenge by calling the `raiseAndResolveChallenge` function in the task manager contract.
- Task Spam : It creates a new task every 10 seconds by calling the `createNewTask` function in the task manager contract.

Expand Down

0 comments on commit d7a08fa

Please sign in to comment.