Skip to content
Open
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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ adb shell am start -n it.oraclize.androidproof/it.oraclize.androidproof.AndroidP
We start the proof generation process

```bash
adb shell am broadcast -a it.oraclize.intent.Proof --es url "https://httpbin.org/post" --es requestID $(date +%s) --es method "POST" --es requestProperty "application/json" --es data '\{"\"jsonrpc"\":"\"2.0"\"\,"\"method"\":"\"generateIntegers"\"\,"\"params"\":1}' --es readTimeout "1000" --es connectTimeout "1000" --es timeoutBetweenRetries "1000" --es retriesMax "5" --es apiKey "$requestID"
adb shell am broadcast -a it.oraclize.intent.Proof --es url "https://httpbin.org/get" --es requestID $(date +%s) --es method "GET" --es requestProperty "application/json" --es data '\{"\"jsonrpc"\":"\"2.0"\"\,"\"method"\":"\"generateIntegers"\"\,"\"params"\":1}' --es readTimeout "1000" --es connectTimeout "1000" --es timeoutBetweenRetries "1000" --es retriesMax "5" --es apiKey "$requestID"
```

We retrieve the proof from the device:
```bash
adb pull /storage/emulated/0/Android/data/it.oraclize.androidproof/files/Documents/AndroiProof_$requestID.proof
adb pull /storage/emulated/0/Android/data/it.oraclize.androidproof/files/Documents/AndroidProof_$requestID.proof
```

We retrieve the certificate chain from the device:
Expand Down Expand Up @@ -90,4 +90,4 @@ header certificate chain. The SHA256 of the apk generated from our deterministic
everyone to verify that the open-sourced app code is effectively the one generating the proof.

You can get more information on the Android Proof verification process on our guide [Advanced Verification](verification/README.md) or use our
[Proof Verification Tool](https://github.com/oraclize/proof-verification-tool) to verify the proof.
[Proof Verification Tool](https://github.com/oraclize/proof-verification-tool) to verify the proof.