From 75f94d33355c8cc65e8223acd0fca846343203a5 Mon Sep 17 00:00:00 2001 From: Pablo S Peillard Date: Fri, 17 Jul 2020 18:46:36 -0500 Subject: [PATCH] updated readme -fixed request (invalid return) -Androi -> Android --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6db2013..eec20c5 100644 --- a/README.md +++ b/README.md @@ -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: @@ -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. \ No newline at end of file + [Proof Verification Tool](https://github.com/oraclize/proof-verification-tool) to verify the proof.