From ba15d16406fcac1cb27a488f09f46d2c2f48f788 Mon Sep 17 00:00:00 2001 From: sebastianlujan Date: Mon, 19 Aug 2024 23:43:11 -0300 Subject: [PATCH 1/4] refactor: new folder for doc languages for README.md --- README.md | 46 ++++++++------ docs/es/README-es.md | 146 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 173 insertions(+), 19 deletions(-) create mode 100644 docs/es/README-es.md diff --git a/README.md b/README.md index 896099d0e..381f3e7cb 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,23 @@ -# Zingo Android and iOS apps +# Zingo Mobile Documentation + +## 🌍 Language Menu +> Select your preferred language for documentation: + +- 🇪🇸 [Español](./docs/es/README-es.md) + Guía completa para usar Zingo Mobile en español. + +## Zingo Android and iOS apps App Store: [https://apps.apple.com/app/zingo/id1668209531](https://apps.apple.com/app/zingo/id1668209531) Google Play: [https://play.google.com/store/apps/details?id=org.ZingoLabs.Zingo](https://play.google.com/store/apps/details?id=org.ZingoLabs.Zingo) -# Security Vulnerability Disclosure +## Security Vulnerability Disclosure If you believe you have discovered a security issue, please contact us at: zingodisclosure@proton.me -# iOS -## Prerequisites +## iOS +### Prerequisites 1. Yarn 2. NodeJS (recommended version 17+) 3. Rust (https://www.rust-lang.org/tools/install) @@ -17,7 +25,7 @@ zingodisclosure@proton.me 5. Cargo-lipo (`cargo install cargo-lipo`) 6. Cocaopods (`sudo gem install cocoapods`) -## Building for physical device +### Building for physical device 1. Clone the repository. 2. Go to the cloned repo `cd zingo-mobile`. 3. In the `rust/ios` directory, run:
@@ -28,7 +36,7 @@ zingodisclosure@proton.me 5. In the `ios` directory, run:
`pod install` -## Building for simulator +### Building for simulator 1. Clone the repository. 2. Go to the cloned repo `cd zingo-mobile`. 3. In the `rust/ios` directory, run:
@@ -39,15 +47,15 @@ zingodisclosure@proton.me 5. In the `ios` directory, run:
`pod install` -## Launching the app +### Launching the app 1. In a terminal, run:
`yarn start` 2. In a separate terminal, run:
`yarn ios`
You can also open the `ios` directory in XCode and run it there. -# Android -## Prerequisites +## Android +### Prerequisites 1. Yarn 2. NodeJS (recommended version 17+) 3. Rust (https://www.rust-lang.org/tools/install) @@ -75,7 +83,7 @@ Add the following lines to your `$HOME/.bashrc` config file:
Also, make sure your JAVA_HOME is set, for example:
`export JAVA_HOME="/usr/lib/jvm/jdk-18.0.2"` -## Building +### Building 1. Clone the repository. 2. Go to the cloned repo `cd zingo-mobile`. 3. In the `rust` directory, run:
@@ -84,8 +92,8 @@ Also, make sure your JAVA_HOME is set, for example:
4. From the root of the project, run:
`yarn` -## Launching the app -### Android Studio +### Launching the app +#### Android Studio 1. For Android emulations, you can create a new AVD, compatible with your CPU architecture i.e. x86_64 (https://developer.android.com/studio/run/managing-avds). The recommended API is API 30 (Android 11). Alternatively, you can connect to a physical device @@ -99,7 +107,7 @@ Also, make sure your JAVA_HOME is set, for example:
Alternatively, launch an AVD and in a separate terminal, run:
`yarn android` -### Android SDK Command-line Tools (Standalone) +#### Android SDK Command-line Tools (Standalone) You can also emulate android from the command line without using Android Studio. 1. Check that the Android SDK cmdline-tools binaries are in the following directory path:
`$ANDROID_HOME/cmdline-tools/latest/bin` @@ -107,8 +115,8 @@ You can also emulate android from the command line without using Android Studio. `scripts/start_interactive.sh -a x86`
Outputs are generated in `android/app/build/outputs/emulator_output` -## Testing -### Prerequesites +### Testing +#### Prerequesites Integration tests and end-to-end tests require a regtest server. On linux hosts, these may be run locally by installing the lightwalletd, zcashd and zcash-cli binaries (https://github.com/zingolabs/zingolib#regtest). From the `rust/android/regtest/bin/` directory run:
@@ -121,11 +129,11 @@ Alternatively, integration tests and end-to-end tests can be run on non-linux ho network in a docker container. Before running tests, pull the latest Regchest image from docker:
`docker pull zingodevops/regchest:007` -### Yarn Tests +#### Yarn Tests 1. From the root directory, run:
`yarn test` -### Integration Tests +#### Integration Tests 1. Create quick-boot snapshots to speed up AVD launch times. From the root directory, run:
`./scripts/integration_tests.sh -a x86_64 -s`
`./scripts/integration_tests.sh -a x86 -s`
@@ -152,7 +160,7 @@ For more information on running integration tests on non-default AVDs, run:
`cargo nextest run --features regchest -E 'test(e2e) and not test(darkside)'` -# Troubleshooting +## Troubleshooting For notes on known issues and problems, see the [trouble-shooting notes](./TROUBLESHOOTING.md). diff --git a/docs/es/README-es.md b/docs/es/README-es.md new file mode 100644 index 000000000..82e1be89f --- /dev/null +++ b/docs/es/README-es.md @@ -0,0 +1,146 @@ +# Zingo Mobile Documentation + +## 🌍 Language Menu +> Select your preferred language for documentation: + +- 🇬🇧 [English](../../README.md) + Comprehensive guide to using Zingo Mobile in English. + +## Apps Zingo para Android e iOS +App Store: [https://apps.apple.com/app/zingo/id1668209531](https://apps.apple.com/app/zingo/id1668209531)   +Google Play: [https://play.google.com/store/apps/details?id=org.ZingoLabs.Zingo](https://play.google.com/store/apps/details?id=org.ZingoLabs.Zingo) + +## Divulgación de Vulnerabilidades de Seguridad + +Si crees haber descubierto un problema de seguridad, por favor contáctanos en: +zingodisclosure@proton.me + +## iOS +### Prerrequisitos +1. Yarn +2. NodeJS (versión recomendada 17+) +3. Rust (https://www.rust-lang.org/tools/install) +4. Objetivos de Rustup para iOS (`rustup target add aarch64-apple-ios aarch64-apple-ios-sim`) +5. Cargo-lipo (`cargo install cargo-lipo`) +6. Cocaopods (`sudo gem install cocoapods`) + +### Compilar para dispositivo físico +1. Clona el repositorio. +2. Ve al repositorio clonado `cd zingo-mobile`. +3. En el directorio `rust/ios`, ejecuta:
+   `./build.sh`
+   Este paso puede tomar un tiempo considerable. +4. Desde la raíz del proyecto, ejecuta:
+   `yarn` +5. En el directorio `ios`, ejecuta:
+   `pod install` + +### Compilar para simulador +1. Clona el repositorio. +2. Ve al repositorio clonado `cd zingo-mobile`. +3. En el directorio `rust/ios`, ejecuta:
+   `./buildsimulator.sh`
+   Este paso puede tomar un tiempo considerable. +4. Desde la raíz del proyecto, ejecuta:
+   `yarn` +5. En el directorio `ios`, ejecuta:
+   `pod install` + +### Iniciar la app +1. En una terminal, ejecuta:
+   `yarn start` +2. En una terminal separada, ejecuta:
+   `yarn ios`
+   También puedes abrir el directorio `ios` en XCode y ejecutarlo desde allí. + +## Android +### Prerrequisitos +1. Yarn +2. NodeJS (versión recomendada 17+) +3. Rust (https://www.rust-lang.org/tools/install) +4. Docker (Docker Engine) +5. OpenJDK 18 (https://jdk.java.net/archive/) + +    1. curl https://download.java.net/java/GA/jdk18.0.2/f6ad4b4450fd4d298113270ec84f30ee/9/GPL/openjdk-18.0.2_linux-x64_bin.tar.gz -o openjdk-18.0.2_linux-x64_bin.tar.gz +    2. tar -xzvf openjdk-18.0.2_linux-x64_bin.tar.gz + +6. Android SDK Command-line Tools
+   Instalar a través del Android Studio SDK Manager:
+   https://developer.android.com/studio/install
+   o de forma independiente:
+   https://developer.android.com/tools   +7. Cargo nextest (https://nexte.st/book/installing-from-source.html) + +Las herramientas de React Native requieren que se configuren algunas variables de entorno para +construir aplicaciones con código nativo.
+Agrega las siguientes líneas a tu archivo de configuración `$HOME/.bash_profile` o `$HOME/.profile`:
+`PATH="$PATH:$ANDROID_HOME/cmdline-tools/latest/bin"`
+`PATH="$PATH:$ANDROID_HOME/platform-tools"`
+`PATH="$PATH:$ANDROID_HOME/emulator"`
+Agrega las siguientes líneas a tu archivo de configuración `$HOME/.bashrc`:
+`export ANDROID_SDK_ROOT="$HOME/Android/Sdk"`
+Además, asegúrate de que tu JAVA_HOME esté configurado, por ejemplo:
+`export JAVA_HOME="/usr/lib/jvm/jdk-18.0.2"` + +### Compilar +1. Clona el repositorio. +2. Ve al repositorio clonado `cd zingo-mobile`. +3. En el directorio `rust`, ejecuta:
+   `./build.sh`
+   Este paso puede tomar un tiempo considerable. +4. Desde la raíz del proyecto, ejecuta:
+   `yarn` + +### Iniciar la app +#### Android Studio +1. Para emulaciones de Android, puedes crear un nuevo AVD, compatible con la arquitectura de tu CPU, +   por ejemplo, x86_64 (https://developer.android.com/studio/run/managing-avds). La API recomendada +   es API 30 (Android 11). Alternativamente, puedes conectar un dispositivo físico +   (https://reactnative.dev/docs/running-on-device). +2. En `File > Settings`, navega a `Build, Execution and Deployment > Build Tools > Gradle` y +   verifica que el `Gradle JDK` coincida con tu versión de JDK. +2. En una terminal, ejecuta:
+   `yarn start` +3. Abre el directorio `android` en Android Studio como un proyecto, selecciona 'app' y el AVD +   creado previamente en la barra de herramientas superior y haz clic en el botón "Run 'app'". +   Alternativamente, inicia un AVD y en una terminal separada, ejecuta:
+   `yarn android` +    +#### Android SDK Command-line Tools (Independiente) +También puedes emular Android desde la línea de comandos sin usar Android Studio. +1. Verifica que los binarios de Android SDK cmdline-tools estén en la siguiente ruta de directorio:
+   `$ANDROID_HOME/cmdline-tools/latest/bin` +2. Desde el directorio raíz, ejecuta:
+   `scripts/start_interactive.sh -a x86`
+   Las salidas se generan en `android/app/build/outputs/emulator_output` + +### Pruebas +#### Prerrequisitos +Las pruebas de integración y las pruebas de extremo a extremo requieren un servidor regtest. En +hosts Linux, estas pueden ejecutarse localmente instalando los binarios lightwalletd, zcashd y +zcash-cli (https://github.com/zingolabs/zingolib#regtest). Desde el directorio +`rust/android/regtest/bin/`, ejecuta:
+`ln -s path/to/lightwalletd/binary path/to/zcashd/binary path/to/zcash-cli/binary ./`
+Desde el directorio `rust/android/lightwalletd_bin`, ejecuta:
+`ln -s path/to/lightwalletd/binary ./` + +Alternativamente, las pruebas de integración y las pruebas de extremo a extremo se pueden ejecutar +en hosts que no sean Linux con Regchest (https://github.com/zingolabs/zingo-regchest). Regchest +administra la red zcash/lightwalletd regtest en un contenedor docker. Antes de ejecutar las +pruebas, obtén la última imagen de Regchest desde docker:
+`docker pull zingodevops/regchest:007` + +#### Pruebas con Yarn +1. Desde el directorio raíz, ejecuta:
+   `yarn test` + +#### Pruebas de Integración +1. Crea instantáneas de inicio rápido para acelerar los tiempos de inicio de AVD. Desde el +   directorio raíz, ejecuta:
+   `./scripts/integration_tests.sh -a x86_64 -s`
+   `./scripts/integration_tests.sh -a x86 -s`
+   Por defecto, esto utiliza imágenes del sistema de Google Playstore API 30. Se pueden utilizar +   otras imágenes para las pruebas especificando el nivel de API y el objetivo. Sin embargo, el uso +   de otras imágenes con el ejecutor de pruebas cargo aún está en desarrollo. +2. Para ejecutar las pruebas de integración. Desde el directorio `rust`, ejecuta:
+   `cargo nextest run -E 'not test(e2e)'`
\ No newline at end of file From d7ef5948c7c3da792992feb8419f1321a039cead Mon Sep 17 00:00:00 2001 From: Nacho Geoghegan <54043072+nachog00@users.noreply.github.com> Date: Tue, 20 Aug 2024 01:32:44 -0300 Subject: [PATCH 2/4] added new readmes on diff languages --- docs/de/privacy_policy-de.md | 22 ++++++ docs/de/readme-de.md | 139 +++++++++++++++++++++++++++++++++++ docs/en/privacy_policy.md | 48 ++++++++++++ docs/es/privacy_policy-es.md | 21 ++++++ 4 files changed, 230 insertions(+) create mode 100644 docs/de/privacy_policy-de.md create mode 100644 docs/de/readme-de.md create mode 100644 docs/en/privacy_policy.md create mode 100644 docs/es/privacy_policy-es.md diff --git a/docs/de/privacy_policy-de.md b/docs/de/privacy_policy-de.md new file mode 100644 index 000000000..f60608ec3 --- /dev/null +++ b/docs/de/privacy_policy-de.md @@ -0,0 +1,22 @@ +# Zingo: Eine Zcash-Anwendung + +Nutze Kryptographie mit Zero-Knowledge-Beweisen, um Transaktionen durchzuführen und deinen Transaktionsverlauf auf private und achtsame Weise zu verwalten. + +Übernehme die exklusive und einzigartige Kontrolle über deine Finanzhistorie. Nutze diese einzigartigen Einblicke in dein eigenes Finanzverhalten, um zu reflektieren, wie du Geld ausgibst. Teile Erkenntnisse nach deinen eigenen Bedingungen. Baue gesunde Beziehungen zu verschiedenen Wirtschaftsgemeinschaften auf. + +Nur du hast die Macht, deine Informationen zu teilen! Deine Perspektive zählt. Du zählst. + +Memos und Transaktionen +Wenn du Zcash sendest, kannst du ein Memo schreiben, das alles enthält, was du möchtest. Wenn du Zcash erhältst, erhältst du auch das Memo, das der Absender geschrieben hat. Wie bei den meisten Kryptowährungen senden Wallets routinemäßig Transaktionen an sich selbst, um "Wechselgeld" aus der Transaktion zurückzuerhalten. In diesem Fall, in dem die Anwendung sowohl Absender als auch Empfänger ist, verwendet Zingo das Memo-System, um sich selbst Notizen über die Transaktionen zu machen, die sie für den Benutzer erstellt. + +Zingo extrahiert diese Daten, um dir exklusive Einblicke zu bieten. In unserer ersten Version verwenden wir diesen introspektiven Mechanismus bereits, um uns zu "merken", an welche vollständigen Unified Addresses du zuvor Zcash gesendet hast. Mit anderen Worten, Zingo verfolgt, an wen du Zcash gesendet hast, auf der Blockchain. Dieses "Adressbuch" von Personen, an die du in der Vergangenheit "gesendet" hast, ist völlig privat und wird, solange du deine Seed-Phrase ordnungsgemäß schützt, vollständig wiederhergestellt, selbst wenn du dein Gerät verlierst. + +Wir implementieren derzeit eine weitere Verwendung dieser On-Chain-Memos, die es dir ermöglicht, (auch wenn du dein Gerät verlierst) zu verfolgen, welche Adressen du zuvor erstellt hast, um Gelder zu empfangen. Das heißt, du hast immer eine vollständige Liste aller Adressen, die du Personen gebeten hast, zu verwenden, um dir Zcash zu senden. + +Zusammengenommen bieten dir diese beiden introspektiven Mechanismen Einblicke darüber, an wen du Gelder gesendet und von wem du Gelder angefordert hast. Dies ist erst der Anfang! Wir beabsichtigen, Mechanismen zu implementieren, die es Benutzern ermöglichen, ihre Erkenntnisse auf anonyme und wirtschaftlich tragfähige Weise zu teilen, wodurch sich Gemeinschaften um Marktplätze mit interessanten Erkenntnissen bilden können! + +Datenschutz und Community +Deine On-Chain-Transaktionsdetails werden niemals Dritten zugänglich gemacht. Indem wir dir private Einblicke in dein eigenes wirtschaftliches Verhalten geben, ermöglichen wir es jedem, gesündere finanzielle Entscheidungen zu treffen. Wir erwarten vielfältige Gemeinschaften, die sich um verschiedene Arten von Erkenntnissen bilden, um auf gemeinsamen Werten zusammenzuarbeiten. + +Technisches Detail des UA-Caching: +Zcash unterstützt eine Unified Address mit mehreren Protokollen, die es dem Protokoll ermöglicht, auf neuere Versionen zu aktualisieren, ohne die Abwärtskompatibilität mit früheren Versionen zu beeinträchtigen. Dieses Unified Address-System wird von Clients außerhalb der Chain implementiert. Clients teilen Unified Addresses miteinander. Die Unified Addresses enthalten protokollspezifische Adressen, die der Client auspacken und als Teil der von ihm erstellten Transaktion in der Blockchain veröffentlichen kann. Dies bedeutet, dass die On-Chain-Adresse, die mit einer Transaktion verknüpft ist, nicht alle Informationen enthält, die der sendende Client als "Unified Address" vom empfangenden Client außerhalb der Chain erhalten hat. Wenn der sendende Client die UA einfach außerhalb der Chain aufzeichnen würde, gäbe es im Falle eines Re-Sprouting des Clients aus seiner Seed-Phrase keine Möglichkeit, diese Beziehungsdaten wiederherzustellen. Zingo löst dieses Problem, indem es die vom ursprünglichen Empfänger bereitgestellte UA im Memo-Feld des Wechselgelds aus der Transaktion aufzeichnet. \ No newline at end of file diff --git a/docs/de/readme-de.md b/docs/de/readme-de.md new file mode 100644 index 000000000..b26fd7c74 --- /dev/null +++ b/docs/de/readme-de.md @@ -0,0 +1,139 @@ +# Zingo Mobile Dokumentation + +## 🌍 Sprachmenü +> Wählen Sie Ihre bevorzugte Sprache für die Dokumentation: + +- 🇪🇸 [Español](./docs/es/README-es.md) + Guía completa para usar Zingo Mobile en español. +- 🇬🇧 [English](../../README.md) + Comprehensive guide to using Zingo Mobile in English. + +## Zingo Android- und iOS-Apps +App Store: [https://apps.apple.com/app/zingo/id1668209531](https://apps.apple.com/app/zingo/id1668209531) +Google Play: [https://play.google.com/store/apps/details?id=org.ZingoLabs.Zingo](https://play.google.com/store/apps/details?id=org.ZingoLabs.Zingo) + +## Offenlegung von Sicherheitslücken + +Wenn Sie glauben, ein Sicherheitsproblem entdeckt zu haben, kontaktieren Sie uns bitte unter: + +zingodisclosure@proton.me + +## iOS +### Voraussetzungen +1. Yarn +2. NodeJS (empfohlene Version 17+) +3. Rust ([https://www.rust-lang.org/tools/install](https://www.rust-lang.org/tools/install)) +4. Rustup iOS-Ziele (`rustup target add aarch64-apple-ios aarch64-apple-ios-sim`) +5. Cargo-lipo (`cargo install cargo-lipo`) +6. Cocaopods (`sudo gem install cocoapods`) + +### Erstellen für physisches Gerät +1. Klonen Sie das Repository. +2. Gehen Sie zum geklonten Repository `cd zingo-mobile`. +3. Führen Sie im Verzeichnis `rust/ios` Folgendes aus:
+ `./build.sh`
+ Dieser Schritt kann lange dauern. +4. Führen Sie vom Stammverzeichnis des Projekts aus Folgendes aus:
+ `yarn` +5. Führen Sie im Verzeichnis `ios` Folgendes aus:
+ `pod install` + +### Erstellen für Simulator +1. Klonen Sie das Repository. +2. Gehen Sie zum geklonten Repository `cd zingo-mobile`. +3. Führen Sie im Verzeichnis `rust/ios` Folgendes aus:
+ `./buildsimulator.sh`
+ Dieser Schritt kann lange dauern. +4. Führen Sie vom Stammverzeichnis des Projekts aus Folgendes aus:
+ `yarn` +5. Führen Sie im Verzeichnis `ios` Folgendes aus:
+ `pod install` + +### Starten der App +1. Führen Sie in einem Terminal Folgendes aus:
+ `yarn start` +2. Führen Sie in einem separaten Terminal Folgendes aus:
+ `yarn ios`
+ Sie können auch das Verzeichnis `ios` in XCode öffnen und dort ausführen. + +## Android +### Voraussetzungen +1. Yarn +2. NodeJS (empfohlene Version 17+) +3. Rust ([https://www.rust-lang.org/tools/install](https://www.rust-lang.org/tools/install)) +4. Docker (Docker Engine) +5. OpenJDK 18 ([https://jdk.java.net/archive/](https://jdk.java.net/archive/)) + + 1. curl [https://download.java.net/java/GA/jdk18.0.2/f6ad4b4450fd4d298113270ec84f30ee/9/GPL/openjdk-18.0.2_linux-x64_bin.tar.gz](https://download.java.net/java/GA/jdk18.0.2/f6ad4b4450fd4d298113270ec84f30ee/9/GPL/openjdk-18.0.2_linux-x64_bin.tar.gz) -o openjdk-18.0.2_linux-x64_bin.tar.gz + 2. tar -xzvf openjdk-18.0.2_linux-x64_bin.tar.gz + +6. Android SDK Command-line Tools
+ Installieren über Android Studio SDK Manager:
+ [https://developer.android.com/studio/install](https://developer.android.com/studio/install)
+ oder als eigenständige Version:
+ [https://developer.android.com/tools](https://developer.android.com/tools) +7. Cargo nextest ([https://nexte.st/book/installing-from-source.html](https://nexte.st/book/installing-from-source.html)) + +Die React Native-Tools erfordern die Einrichtung einiger Umgebungsvariablen, um Apps mit nativem Code zu erstellen.
+Fügen Sie die folgenden Zeilen zu Ihrer Konfigurationsdatei `$HOME/.bash_profile` oder `$HOME/.profile` hinzu:
+`PATH="$PATH:$ANDROID_HOME/cmdline-tools/latest/bin"`
+`PATH="$PATH:$ANDROID_HOME/platform-tools"`
+`PATH="$PATH:$ANDROID_HOME/emulator"`
+Fügen Sie die folgenden Zeilen zu Ihrer Konfigurationsdatei `$HOME/.bashrc` hinzu:
+`export ANDROID_SDK_ROOT="$HOME/Android/Sdk"`
+Stellen Sie außerdem sicher, dass Ihr JAVA_HOME festgelegt ist, zum Beispiel:
+`export JAVA_HOME="/usr/lib/jvm/jdk-18.0.2"` + +### Erstellen +1. Klonen Sie das Repository. +2. Gehen Sie zum geklonten Repository `cd zingo-mobile`. +3. Führen Sie im Verzeichnis `rust` Folgendes aus:
+ `./build.sh`
+ Dieser Schritt kann lange dauern. +4. Führen Sie vom Stammverzeichnis des Projekts aus Folgendes aus:
+ `yarn` + +### Starten der App +#### Android Studio +1. Für Android-Emulationen können Sie ein neues AVD erstellen, das mit Ihrer CPU-Architektur kompatibel ist, + z. B. x86_64 ([https://developer.android.com/studio/run/managing-avds](https://developer.android.com/studio/run/managing-avds)). Die empfohlene API ist API + 30 (Android 11). Alternativ können Sie eine Verbindung zu einem physischen Gerät herstellen + ([https://reactnative.dev/docs/running-on-device](https://reactnative.dev/docs/running-on-device)). +2. Navigieren Sie in `File > Settings` zu `Build, Execution and Deployment > Build Tools > Gradle` und + überprüfen Sie, ob das `Gradle JDK` mit Ihrer JDK-Version übereinstimmt. +2. Führen Sie in einem Terminal Folgendes aus:
+ `yarn start` +3. Öffnen Sie das Verzeichnis `android` in Android Studio als Projekt, wählen Sie 'app' und das zuvor + erstellte AVD in der oberen Symbolleiste und klicken Sie auf die Schaltfläche "Run 'app'". + Alternativ starten Sie ein AVD und führen Sie in einem separaten Terminal Folgendes aus:
+ `yarn android` + +#### Android SDK Command-line Tools (Eigenständig) +Sie können Android auch über die Befehlszeile emulieren, ohne Android Studio zu verwenden. +1. Überprüfen Sie, ob sich die Binärdateien der Android SDK cmdline-tools im folgenden Verzeichnispfad befinden:
+ `$ANDROID_HOME/cmdline-tools/latest/bin` +2. Führen Sie vom Stammverzeichnis aus Folgendes aus:
+ `scripts/start_interactive.sh -a x86`
+ Die Ausgaben werden in `android/app/build/outputs/emulator_output` generiert + +### Testen +#### Voraussetzungen +Integrationstests und End-to-End-Tests erfordern einen Regtest-Server. Auf Linux-Hosts können diese +lokal ausgeführt werden, indem die Binärdateien lightwalletd, zcashd und zcash-cli installiert werden +([https://github.com/zingolabs/zingolib#regtest](https://github.com/zingolabs/zingolib#regtest)). Führen Sie vom Verzeichnis `rust/android/regtest/bin/` aus Folgendes aus:
+`ln -s path/to/lightwalletd/binary path/to/zcashd/binary path/to/zcash-cli/binary ./`
+Führen Sie vom Verzeichnis `rust/android/lightwalletd_bin` aus Folgendes aus:
+`ln -s path/to/lightwalletd/binary ./` + +Alternativ können Integrationstests und End-to-End-Tests auf Nicht-Linux-Hosts mit Regchest +([https://github.com/zingolabs/zingo-regchest](https://github.com/zingolabs/zingo-regchest)) ausgeführt werden. Regchest verwaltet das zcash/lightwalletd-Regtest- +Netzwerk in einem Docker-Container. Bevor Sie Tests ausführen, ziehen Sie das neueste Regchest-Image von Docker:
+`docker pull zingodevops/regchest:007` + +#### Yarn-Tests +1. Führen Sie vom Stammverzeichnis aus Folgendes aus:
+ `yarn test` + +#### Integrationstests +1. Erstellen Sie Quick-Boot-Snapshots, um die Startzeiten von AVD zu beschleunigen. Führen Sie vom Stammverzeichnis aus Folgendes aus:
+ `./scripts/integration_tests.sh -a x86_64 -s \ No newline at end of file diff --git a/docs/en/privacy_policy.md b/docs/en/privacy_policy.md new file mode 100644 index 000000000..cb8906495 --- /dev/null +++ b/docs/en/privacy_policy.md @@ -0,0 +1,48 @@ +# Zingo A Zcash Application + +Use zero knowledge cryptography to transact, and to manage your transaction history, in a private and mindful way. + +Take exclusive and unique control of your financial history. Use this unique insight into your +own financial behavior, to introspect on how you spend money. Share insights on your terms. +Establish healthy relationships with diverse economic communities. + +Only you have the power to share your information! Your perspective matters. You matter. + +When you send Zcash you can write a memo containing anything you like. When you receive +Zcash you also receive the memo that the Sender wrote. As with most cryptocurrencies, wallets +routinely send transactions to themselves to recover "change" from the transaction. In this case, where +the application is both the Sender and the Receiver, Zingo uses the memo system to write +notes to itself about the transactions it builds for the User. + +Zingo extracts that data to provide insights exclusively to you. In our initial release we +already use this introspective mechanism to "remember" which full Unified Addresses you've previously sent Zcash. +In other words, Zingo keeps track of who you've sent Zcash to, on the blockchain. This "Address Book" +of people you've "Sent To" in the past is completely private and, as long as you properly protect your +seed-phrase, will be fully recovered even if you lose your device. + +We're currently implementing another use of these on-chain memos, that will allow you to keep track (even if +you lose your device) of which addresses you previously produced to receive funds at. That is, you'll always +have a full list of all the addresses you asked people to use to send you zcash. + +Taken together these two instrospective mechanisms provide you with insight into who you've sent +funds to, and who you've asked for funds from. This is just the beginning! We intend to implement +mechanisms to allow users to share their insights in an anonymous, and economically viable way that +will allow communities to aggregate around marketplaces of interesting insights! + +Your on-chain transaction details are never exposed to any third party. By providing you with private insight into +your own economic behavior, we are enabling everyone to make healthier financial decisions. +We anticipate diverse communities that form around different kinds of insights, to collaborate +on shared values. + +Technical Detail of UA Caching: + +Zcash supports a multi-protocol Unified Address that enables the protocol to upgrade to newer versions +without breaking backwards compatibility with earlier versions. This Unified Address system is +implemented by clients off-chain. Clients share Unified Addresses with each other, the Unified +Addresses contain Protocol Version Specific Addresses that the client can upack, and publish to the +blockchain as part of the transaction that it builds. This means that the on-chain address associated +with a transaction does not contain all of the information the Sending-Client received as a "Unified Address" +from the Recipient-Client, off-chain. If the Sending-Client simply recorded the UA off-chain then, in the +case of Re-Sprouting the Client from its SeedPhrase, there'd be no way to recover that relationship data. +Zingo solves this issue by recording the original recipient provided UA in the memo field of change from the +transaction. diff --git a/docs/es/privacy_policy-es.md b/docs/es/privacy_policy-es.md new file mode 100644 index 000000000..de329e484 --- /dev/null +++ b/docs/es/privacy_policy-es.md @@ -0,0 +1,21 @@ +## Zingo: Una Aplicación de Zcash + +Utiliza la criptografía de conocimiento cero para realizar transacciones y gestionar tu historial de transacciones de forma privada y consciente. + +Toma el control exclusivo y único de tu historial financiero. Utiliza esta visión única de tu propio comportamiento financiero para reflexionar sobre cómo gastas el dinero. Comparte información según tus propios términos. Establece relaciones saludables con diversas comunidades económicas. + +¡Solo tú tienes el poder de compartir tu información! Tu perspectiva importa. Tú importas. + +Cuando envías Zcash, puedes escribir un memo que contenga lo que quieras. Cuando recibes Zcash, también recibes el memo que el remitente escribió. Al igual que con la mayoría de las criptomonedas, las billeteras envían rutinariamente transacciones a sí mismas para recuperar el "cambio" de la transacción. En este caso, donde la aplicación es tanto el remitente como el receptor, Zingo utiliza el sistema de memos para escribir notas a sí misma sobre las transacciones que crea para el usuario. + +Zingo extrae esos datos para proporcionarte información exclusiva. En nuestra versión inicial, ya utilizamos este mecanismo introspectivo para "recordar" a qué Direcciones Unificadas completas has enviado Zcash previamente. En otras palabras, Zingo realiza un seguimiento de a quién le has enviado Zcash, en la cadena de bloques. Esta "Libreta de Direcciones" de personas a las que has "Enviado" en el pasado es completamente privada y, siempre que protejas adecuadamente tu frase semilla, se recuperará por completo incluso si pierdes tu dispositivo. + +Actualmente estamos implementando otro uso de estos memos en cadena, que te permitirá realizar un seguimiento (incluso si pierdes tu dispositivo) de qué direcciones generaste previamente para recibir fondos. Es decir, siempre tendrás una lista completa de todas las direcciones que le pediste a la gente que usara para enviarte Zcash. + +En conjunto, estos dos mecanismos introspectivos te brindan información sobre a quién le has enviado fondos y a quién le has pedido fondos. ¡Esto es solo el comienzo! Tenemos la intención de implementar mecanismos para permitir a los usuarios compartir sus ideas de forma anónima y económicamente viable, ¡lo que permitirá a las comunidades agregarse en torno a mercados de ideas interesantes! + +Los detalles de tus transacciones en la cadena nunca se exponen a terceros. Al brindarte información privada sobre tu propio comportamiento económico, estamos permitiendo que todos tomen decisiones financieras más saludables. Anticipamos diversas comunidades que se forman en torno a diferentes tipos de ideas, para colaborar en valores compartidos. + +## Detalle Técnico del Almacenamiento en Caché de UA: + +Zcash admite una Dirección Unificada multiprotocolo que permite que el protocolo se actualice a versiones más nuevas sin romper la compatibilidad con versiones anteriores. Este sistema de Direcciones Unificadas es implementado por los clientes fuera de la cadena. Los clientes comparten Direcciones Unificadas entre sí, las Direcciones Unificadas contienen Direcciones Específicas de la Versión del Protocolo que el cliente puede desempaquetar y publicar en la cadena de bloques como parte de la transacción que crea. Esto significa que la dirección en la cadena asociada con una transacción no contiene toda la información que el Cliente Remitente recibió como una "Dirección Unificada" del Cliente Receptor, fuera de la cadena. Si el Cliente Remitente simplemente registrara la UA fuera de la cadena, en el caso de volver a generar el Cliente a partir de su Frase Semilla, no habría forma de recuperar esos datos de relación. Zingo resuelve este problema registrando la UA original proporcionada por el destinatario en el campo de memo del cambio de la transacción. From 4c82ebda0a4c48a8c6543b7701456c13242a42ac Mon Sep 17 00:00:00 2001 From: Nacho Geoghegan <54043072+nachog00@users.noreply.github.com> Date: Tue, 20 Aug 2024 19:35:03 -0300 Subject: [PATCH 3/4] updated language menu --- README.md | 2 ++ docs/es/README-es.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index 381f3e7cb..6971aa445 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,8 @@ - 🇪🇸 [Español](./docs/es/README-es.md) Guía completa para usar Zingo Mobile en español. +- 🇩🇪 [Deutsch](./docs/de/readme-de.md) + Umfassender Leitfaden zur Verwendung von Zingo Mobile auf Deutsch ## Zingo Android and iOS apps App Store: [https://apps.apple.com/app/zingo/id1668209531](https://apps.apple.com/app/zingo/id1668209531) diff --git a/docs/es/README-es.md b/docs/es/README-es.md index 82e1be89f..00a3ceea1 100644 --- a/docs/es/README-es.md +++ b/docs/es/README-es.md @@ -5,6 +5,8 @@ - 🇬🇧 [English](../../README.md) Comprehensive guide to using Zingo Mobile in English. +- 🇩🇪 [Deutsch](./docs/de/readme-de.md) + Umfassender Leitfaden zur Verwendung von Zingo Mobile auf Deutsch. ## Apps Zingo para Android e iOS App Store: [https://apps.apple.com/app/zingo/id1668209531](https://apps.apple.com/app/zingo/id1668209531)   From 4eb39fb119eddada5b2c7b6eff7a2d1a64541fce Mon Sep 17 00:00:00 2001 From: Nacho Geoghegan <54043072+nachog00@users.noreply.github.com> Date: Tue, 20 Aug 2024 19:51:21 -0300 Subject: [PATCH 4/4] added turkish documentation and updated language menu links on all readmes --- README.md | 2 + docs/de/readme-de.md | 6 +- docs/es/README-es.md | 10 ++- docs/tu/provacy_policy-tu.md | 22 ++++++ docs/tu/readme-tu.md | 138 +++++++++++++++++++++++++++++++++++ 5 files changed, 172 insertions(+), 6 deletions(-) create mode 100644 docs/tu/provacy_policy-tu.md create mode 100644 docs/tu/readme-tu.md diff --git a/README.md b/README.md index 6971aa445..55a4e01da 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,8 @@ Guía completa para usar Zingo Mobile en español. - 🇩🇪 [Deutsch](./docs/de/readme-de.md) Umfassender Leitfaden zur Verwendung von Zingo Mobile auf Deutsch +- 🇹🇷 [Türkçe](./docs/tu/readme-tu.md) + Zingo Mobile'nin Türkçe kullanımı için kapsamlı kılavuz ## Zingo Android and iOS apps App Store: [https://apps.apple.com/app/zingo/id1668209531](https://apps.apple.com/app/zingo/id1668209531) diff --git a/docs/de/readme-de.md b/docs/de/readme-de.md index b26fd7c74..8a2c2a030 100644 --- a/docs/de/readme-de.md +++ b/docs/de/readme-de.md @@ -3,10 +3,12 @@ ## 🌍 Sprachmenü > Wählen Sie Ihre bevorzugte Sprache für die Dokumentation: -- 🇪🇸 [Español](./docs/es/README-es.md) - Guía completa para usar Zingo Mobile en español. - 🇬🇧 [English](../../README.md) Comprehensive guide to using Zingo Mobile in English. +- 🇪🇸 [Español](../es/README-es.md) + Guía completa para usar Zingo Mobile en español. +- 🇹🇷 [Türkçe](../tu/readme-tu.md) + Zingo Mobile'nin Türkçe kullanımı için kapsamlı kılavuz ## Zingo Android- und iOS-Apps App Store: [https://apps.apple.com/app/zingo/id1668209531](https://apps.apple.com/app/zingo/id1668209531) diff --git a/docs/es/README-es.md b/docs/es/README-es.md index 00a3ceea1..eae38e847 100644 --- a/docs/es/README-es.md +++ b/docs/es/README-es.md @@ -1,12 +1,14 @@ -# Zingo Mobile Documentation +# Documentacion de Zingo Mobile -## 🌍 Language Menu -> Select your preferred language for documentation: +## 🌍 Menu de idiomas +> Seleccione su idioma preferido para la documentación: - 🇬🇧 [English](../../README.md) Comprehensive guide to using Zingo Mobile in English. -- 🇩🇪 [Deutsch](./docs/de/readme-de.md) +- 🇩🇪 [Deutsch](../de/readme-de.md) Umfassender Leitfaden zur Verwendung von Zingo Mobile auf Deutsch. +- 🇹🇷 [Türkçe](../tu/readme-tu.md) + Zingo Mobile'nin Türkçe kullanımı için kapsamlı kılavuz ## Apps Zingo para Android e iOS App Store: [https://apps.apple.com/app/zingo/id1668209531](https://apps.apple.com/app/zingo/id1668209531)   diff --git a/docs/tu/provacy_policy-tu.md b/docs/tu/provacy_policy-tu.md new file mode 100644 index 000000000..24fa7be5c --- /dev/null +++ b/docs/tu/provacy_policy-tu.md @@ -0,0 +1,22 @@ +# Zingo A Zcash Application + +Sıfır bilgi şifrelemesini kullanarak işlem yapın ve işlem geçmişinizi özel ve dikkatli bir şekilde yönetin. + +Finansal geçmişinizin tam ve benzersiz kontrolünü elde edin. Para harcama alışkanlıklarınızı içgörüleyerek nasıl para harcadığınızı düşünün. Bilgilerinizi kendi koşullarınızda paylaşın. Çeşitli ekonomik topluluklarla sağlıklı ilişkiler kurun. + +Sadece siz bilgilerinizi paylaşma gücüne sahipsiniz! Sizin bakış açınız önemlidir. Siz önemlisiniz. + +Zcash gönderdiğinizde istediğiniz herhangi bir şeyi içeren bir not yazabilirsiniz. Zcash aldığınızda, Gönderen'in yazdığı notu da alırsınız. Çoğu kripto para biriminde olduğu gibi, cüzdanlar genellikle işlemdeki "değişiklik" i kurtarmak için kendilerine işlem gönderirler. Bu durumda, uygulama Hem Gönderen Hem de Alıcı olduğunda, Zingo, Kullanıcı için oluşturduğu işlemler hakkında notlar yazmak için memo sistemini kullanır. + +Zingo, bu verileri sadece size özel içgörüler sağlamak için çıkarır. İlk sürümümüzde, bu içgörü mekanizmasını kullanarak daha önce Zcash gönderdiğiniz tam Birleşik Adresleri "hatırlamak" için zaten kullanıyoruz. Başka bir deyişle, Zingo, geçmişte Zcash gönderdiğiniz kişilerin "Gönderilen Kişiler" "Adres Defteri"ni tamamen özel ve tohum cümlesini doğru şekilde koruduğunuz sürece cihazınızı kaybetmeniz durumunda bile tamamen kurtarır. + +Şu anda bu on-chain memo kullanımlarının başka bir kullanımını uyguluyoruz, bu da size daha önce fon almak için ürettiğiniz adresleri (cihazınızı kaybetmeniz durumunda bile) takip etmenizi sağlayacak. Yani, insanlara Zcash göndermeleri için kullandığınız tüm adreslerin tam bir listesine her zaman sahip olacaksınız. + +Bu iki içgörü mekanizması bir araya geldiğinde, size hangi kişilere fon gönderdiğiniz ve hangi kişilerden fon talep ettiğiniz konusunda içgörü sağlar. Bu sadece başlangıç! İnsanların anonim ve ekonomik olarak sürdürülebilir bir şekilde içgörülerini paylaşmalarına izin verecek mekanizmaları uygulamayı amaçlıyoruz, böylece ilginç içgörülerin pazar yerlerinde topluluklar oluşturmasına izin vereceğiz! + +On-chain işlem ayrıntılarınız hiçbir üçüncü tarafa açıklanmaz. Kendi ekonomik davranışlarınıza özel içgörü sağlayarak herkesin daha sağlıklı finansal kararlar almasını sağlıyoruz. Farklı içgörüler etrafında oluşan çeşitli toplulukların ortak değerler üzerinde işbirliği yapmasını bekliyoruz. + +UA Önbellekleme Teknik Detayı: + +Zcash, protokolün daha yeni sürümlere yükselmesini, önceki sürümlerle geriye dönük uyumluluğu bozmadan sağlayan çok protokollü Birleşik Adresi destekler. Bu Birleşik Adres sistemi, istemciler tarafından off-chain olarak uygulanır. İstemciler birbirleriyle Birleşik Adresler paylaşırlar, Birleşik Adresler, istemcinin açabileceği ve işlem oluştururken blok zincirine yayınlayabileceği Protokol Sürümüne Özgü Adresler içerir. Bu, bir işleme ilişkin on-chain adresin, Gönderen İstemci'nin Recipient İstemci'den off-chain olarak aldığı "Birleşik Adres" olarak tüm bilgileri içermediği anlamına gelir. Gönderen İstemci, UA'yı sadece off-chain olarak kaydederse, SeedPhrase'den Müşteriyi Yeniden Oluşturma durumunda bu ilişki verilerini kurtarmanın bir yolu olmazdı. Zingo, bu sorunu, işlemdeki değişiklikten gelen memo alanına orijinal alıcı tarafından sağlanan UA'yı kaydederek çözer. + diff --git a/docs/tu/readme-tu.md b/docs/tu/readme-tu.md new file mode 100644 index 000000000..e8e4e31dc --- /dev/null +++ b/docs/tu/readme-tu.md @@ -0,0 +1,138 @@ +# Zingo Mobil Dokumentation +## 🌍 Dil Menüsü +> Dokümantasyon için tercih ettiğiniz dil seçeneğini seçin: + +- 🇬🇧 [English](../../README.md) + Comprehensive guide to using Zingo Mobile in English. +- 🇩🇪 [Deutsch](../de/readme-de.md) + Umfassender Leitfaden zur Verwendung von Zingo Mobile auf Deutsch. +- 🇪🇸 [Español](../es/README-es.md) + Guía completa para usar Zingo Mobile en español. + +## Zingo Android ve iOS uygulamaları +App Store: [https://apps.apple.com/app/zingo/id1668209531](https://apps.apple.com/app/zingo/id1668209531) +Google Play: [https://play.google.com/store/apps/details?id=org.ZingoLabs.Zingo](https://play.google.com/store/apps/details?id=org.ZingoLabs.Zingo) + +## Güvenlik Açığı Bildirimi + +Bir güvenlik sorunu keşfettiğinizi düşünüyorsanız, lütfen bizimle şu adresten iletişime geçin: + +zingodisclosure@proton.me + +## iOS +### Ön Koşullar +1. Yarn +2. NodeJS (önerilen sürüm 17+) +3. Rust ([https://www.rust-lang.org/tools/install](https://www.rust-lang.org/tools/install)) +4. Rustup iOS hedefleri (`rustup target add aarch64-apple-ios aarch64-apple-ios-sim`) +5. Cargo-lipo (`cargo install cargo-lipo`) +6. Cocaopods (`sudo gem install cocoapods`) + +### Fiziksel Cihaz İçin Derleme +1. Depoyu klonlayın. +2. Klonlanan depoya gidin `cd zingo-mobile`. +3. `rust/ios` dizininde şunu çalıştırın:
+ `./build.sh`
+ Bu adım uzun sürebilir. +4. Projenin kökünden şunu çalıştırın:
+ `yarn` +5. `ios` dizininde şunu çalıştırın:
+ `pod install` + +### Simülatör İçin Derleme +1. Depoyu klonlayın. +2. Klonlanan depoya gidin `cd zingo-mobile`. +3. `rust/ios` dizininde şunu çalıştırın:
+ `./buildsimulator.sh`
+ Bu adım uzun sürebilir. +4. Projenin kökünden şunu çalıştırın:
+ `yarn` +5. `ios` dizininde şunu çalıştırın:
+ `pod install` + +### Uygulamayı Başlatma +1. Bir terminalde şunu çalıştırın:
+ `yarn start` +2. Ayrı bir terminalde şunu çalıştırın:
+ `yarn ios`
+ Ayrıca `ios` dizinini XCode'da açıp oradan da çalıştırabilirsiniz. + +## Android +### Ön Koşullar +1. Yarn +2. NodeJS (önerilen sürüm 17+) +3. Rust ([https://www.rust-lang.org/tools/install](https://www.rust-lang.org/tools/install)) +4. Docker (Docker Engine) +5. OpenJDK 18 ([https://jdk.java.net/archive/](https://jdk.java.net/archive/)) + + 1. curl [https://download.java.net/java/GA/jdk18.0.2/f6ad4b4450fd4d298113270ec84f30ee/9/GPL/openjdk-18.0.2_linux-x64_bin.tar.gz](https://download.java.net/java/GA/jdk18.0.2/f6ad4b4450fd4d298113270ec84f30ee/9/GPL/openjdk-18.0.2_linux-x64_bin.tar.gz) -o openjdk-18.0.2_linux-x64_bin.tar.gz + 2. tar -xzvf openjdk-18.0.2_linux-x64_bin.tar.gz + +6. Android SDK Command-line Tools
+ Android Studio SDK Manager aracılığıyla yükleyin:
+ [https://developer.android.com/studio/install](https://developer.android.com/studio/install)
+ veya bağımsız olarak:
+ [https://developer.android.com/tools](https://developer.android.com/tools) +7. Cargo nextest ([https://nexte.st/book/installing-from-source.html](https://nexte.st/book/installing-from-source.html)) + +React Native araçları, yerel kodlu uygulamalar oluşturabilmek için bazı ortam değişkenlerinin ayarlanmasını gerektirir.
+`$HOME/.bash_profile` veya `$HOME/.profile` yapılandırma dosyanıza aşağıdaki satırları ekleyin:
+`PATH="$PATH:$ANDROID_HOME/cmdline-tools/latest/bin"`
+`PATH="$PATH:$ANDROID_HOME/platform-tools"`
+`PATH="$PATH:$ANDROID_HOME/emulator"`
+`$HOME/.bashrc` yapılandırma dosyanıza aşağıdaki satırları ekleyin:
+`export ANDROID_SDK_ROOT="$HOME/Android/Sdk"`
+Ayrıca, JAVA_HOME'unuzun ayarlandığından emin olun, örneğin:
+`export JAVA_HOME="/usr/lib/jvm/jdk-18.0.2"` + +### Derleme +1. Depoyu klonlayın. +2. Klonlanan depoya gidin `cd zingo-mobile`. +3. `rust` dizininde şunu çalıştırın:
+ `./build.sh`
+ Bu adım uzun sürebilir. +4. Projenin kökünden şunu çalıştırın:
+ `yarn` + +### Uygulamayı Başlatma +#### Android Studio +1. Android emülasyonları için, CPU mimarinizle uyumlu yeni bir AVD oluşturabilirsiniz, + örneğin, x86_64 ([https://developer.android.com/studio/run/managing-avds](https://developer.android.com/studio/run/managing-avds)). Önerilen API, API + 30'dur (Android 11). Alternatif olarak, fiziksel bir cihaza bağlanabilirsiniz + ([https://reactnative.dev/docs/running-on-device](https://reactnative.dev/docs/running-on-device)). +2. `File > Settings` içinde, `Build, Execution and Deployment > Build Tools > Gradle`'a gidin ve + `Gradle JDK`'nın JDK sürümünüzle eşleştiğini kontrol edin. +2. Bir terminalde şunu çalıştırın:
+ `yarn start` +3. `android` dizinini Android Studio'da bir proje olarak açın, üst araç çubuğundan 'app' ve daha önce + oluşturulan AVD'yi seçin ve "Run 'app'" düğmesine tıklayın. + Alternatif olarak, bir AVD başlatın ve ayrı bir terminalde şunu çalıştırın:
+ `yarn android` + +#### Android SDK Command-line Tools (Bağımsız) +Android Studio kullanmadan Android'i komut satırından da emüle edebilirsiniz. +1. Android SDK cmdline-tools binary dosyalarının aşağıdaki dizin yolunda olduğunu kontrol edin:
+ `$ANDROID_HOME/cmdline-tools/latest/bin` +2. Kök dizinden şunu çalıştırın:
+ `scripts/start_interactive.sh -a x86`
+ Çıktılar `android/app/build/outputs/emulator_output` içinde oluşturulur + +### Test Etme +#### Ön Koşullar +Entegrasyon testleri ve uçtan uca testler bir regtest sunucusu gerektirir. Linux hostlarda bunlar +yerel olarak lightwalletd, zcashd ve zcash-cli binary dosyalarını yükleyerek çalıştırılabilir +([https://github.com/zingolabs/zingolib#regtest](https://github.com/zingolabs/zingolib#regtest)). `rust/android/regtest/bin/` dizininden şunu çalıştırın:
+`ln -s path/to/lightwalletd/binary path/to/zcashd/binary path/to/zcash-cli/binary ./`
+`rust/android/lightwalletd_bin` dizininden şunu çalıştırın:
+`ln -s path/to/lightwalletd/binary ./` + +Alternatif olarak, entegrasyon testleri ve uçtan uca testler Linux olmayan hostlarda Regchest ile çalıştırılabilir +([https://github.com/zingolabs/zingo-regchest](https://github.com/zingolabs/zingo-regchest)). Regchest, bir docker container içinde zcash/lightwalletd regtest +ağını yönetir. Testleri çalıştırmadan önce, en son Regchest imajını docker'dan çekin:
+`docker pull zingodevops/regchest:007` + +#### Yarn Testleri +1. Kök dizinden şunu çalıştırın:
+ `yarn test` + +#### Entegrasy \ No newline at end of file