Reword laconic-wallet setup steps

This commit is contained in:
Adw8 2024-08-02 10:44:53 +05:30
parent 0e3ac4e5d9
commit 683c95da78

View File

@ -21,9 +21,7 @@
- It will need third party installation permission to install the APK - It will need third party installation permission to install the APK
OR - Alternatively, build laconic wallet from source by following the steps below
- (Optional) Build laconic wallet from source by following the steps below
- Follow the [Install](https://git.vdb.to/cerc-io/laconic-wallet#install) steps from the laconic-wallet README to setup Android Studio - Follow the [Install](https://git.vdb.to/cerc-io/laconic-wallet#install) steps from the laconic-wallet README to setup Android Studio
@ -68,9 +66,7 @@
- Use the hosted `laconic-wallet-web` at <https://wallet.laconic.com> - Use the hosted `laconic-wallet-web` at <https://wallet.laconic.com>
OR - Alternatively, setup the `laconic-wallet-web` stack
- (Optional) Setup the `laconic-wallet-web` stack
- Clone the stack repo: - Clone the stack repo:
@ -114,6 +110,7 @@
### Testnet Onboarding App and Onboarding API Stacks ### Testnet Onboarding App and Onboarding API Stacks
- For running the onboarding API, create sumsub application token from <https://cockpit.sumsub.com> - For running the onboarding API, create sumsub application token from <https://cockpit.sumsub.com>
- Reference: <https://docs.sumsub.com/docs/app-tokens>
- Clone the stack repo: - Clone the stack repo:
@ -171,31 +168,17 @@
``` ```
- Env configuration: - Env configuration:
- Inside the `onboarding-app-deployment/config.env` file, set your wallet connect ProjectId:
- Set the required variables:
```bash ```bash
# WalletConnect project ID WALLET_CONNECT_ID=39bc93c...
export WALLET_CONNECT_ID=
# Your sumsub application token
export SUMSUB_APP_TOKEN=
# Your sumsub secret key
export SUMSUB_SECRET_KEY=
``` ```
- Set the env config for app and api deployments: - Inside the `onboarding-api-deployment/config.env` file, set your sumsub application token and secret key:
```bash ```bash
cat <<EOF > onboarding-app-deployment/config.env SUMSUB_APP_TOKEN=sbx:Xig...
WALLET_CONNECT_ID=$WALLET_CONNECT_ID SUMSUB_SECRET_KEY=pIue...
EOF
cat <<EOF > onboarding-api-deployment/config.env
SUMSUB_APP_TOKEN=$SUMSUB_APP_TOKEN
SUMSUB_SECRET_KEY=$SUMSUB_SECRET_KEY
EOF
``` ```
### fixturenet-laconicd and laconic-faucet Stacks ### fixturenet-laconicd and laconic-faucet Stacks
@ -657,7 +640,7 @@
- Run Laconic Wallet - Run Laconic Wallet
- Follow the steps to `Run on Android` or `Run as a website` as per the chosen setup - Choose your setup: Android or Website
- Run on Android: - Run on Android:
- Connect your phone with the PC (Make sure that USB debugging is enabled on your phone) - Connect your phone with the PC (Make sure that USB debugging is enabled on your phone)
@ -674,10 +657,7 @@
- Open Laconic Wallet app that was installed from the APK - Open Laconic Wallet app that was installed from the APK
OR - Alternatively, you can:
- (Optional) Start `laconic-wallet` android app (run steps in laconic-wallet repo)
- Set up the Android device - Set up the Android device
- For a physical device, refer to the [React Native documentation for running on a physical device](https://reactnative.dev/docs/running-on-device) - For a physical device, refer to the [React Native documentation for running on a physical device](https://reactnative.dev/docs/running-on-device)
- For a virtual device, continue with the steps - For a virtual device, continue with the steps
@ -691,14 +671,10 @@
- Press `a` to run the application on android and wait till the wallet app opens up on your phone - Press `a` to run the application on android and wait till the wallet app opens up on your phone
OR - Alternatively, run laconic-wallet as a website:
- Run as a website:
- Open `laconic-wallet-web` at <https://wallet.laconic.com> - Open `laconic-wallet-web` at <https://wallet.laconic.com>
OR - Alternatively, run the `laconic-wallet-web` stack:
- (Optional) Run the `laconic-wallet-web` stack:
```bash ```bash
laconic-so deployment --dir laconic-wallet-web-deployment start laconic-so deployment --dir laconic-wallet-web-deployment start