Reword laconic-wallet setup steps

This commit is contained in:
Adw8 2024-08-01 19:02:08 +05:30 committed by Prathamesh Musale
parent 0e3ac4e5d9
commit 5ad77cdd0d

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:
@ -105,7 +101,7 @@
laconic-so --stack ~/cerc/laconic-wallet-web/stack/stack-orchestrator/stack/laconic-wallet-web deploy create --spec-file laconic-wallet-web-spec.yml --deployment-dir laconic-wallet-web-deployment laconic-so --stack ~/cerc/laconic-wallet-web/stack/stack-orchestrator/stack/laconic-wallet-web deploy create --spec-file laconic-wallet-web-spec.yml --deployment-dir laconic-wallet-web-deployment
``` ```
- Inside the `laconic-wallet-web-deployment/config.env` file, set your wallet connect ProjectId: - In the `laconic-wallet-web-deployment/config.env` file, set your wallet connect ProjectId:
```bash ```bash
WALLET_CONNECT_ID=39bc93c... WALLET_CONNECT_ID=39bc93c...
@ -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:
- In 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: - In 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
@ -648,7 +631,8 @@
laconic-so deployment --dir onboarding-api-deployment start laconic-so deployment --dir onboarding-api-deployment start
``` ```
Check the logs of the onboarding-app Check the health status for onboarding-app container:
```bash ```bash
docker ps | grep testnet-onboarding-app docker ps | grep testnet-onboarding-app
``` ```
@ -674,10 +658,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 +672,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 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