NilFoundation / proof-market-toolchain

A toolchain for interaction with the Proof Market protocol.
https://docs.nil.foundation/proof-market
MIT License
23 stars 5 forks source link

Add script for aggregated request #123

Closed x-mass closed 9 months ago

x-mass commented 10 months ago

Example command: python3 scripts/aggregated_request.py --scripts-path ~/nil/proof-market-toolchain/scripts --key 32326 --file ~/nil/proof-market-toolchain/example/input/arithmetic/input.json --cost 2 --subtasks-number 2 Optional args are:

 --task-timeout TASK_TIMEOUT
                        Timeout in seconds for while waiting for task to complete. Default: 120
  --poll-interval POLL_INTERVAL
                        Long polling interval in seconds. Default: 5