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
OR
- (Optional) Build laconic wallet from source by following the steps below
- Alternatively, 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
@ -68,9 +66,7 @@
- Use the hosted `laconic-wallet-web` at <https://wallet.laconic.com>
OR
- (Optional) Setup the `laconic-wallet-web` stack
- Alternatively, setup the `laconic-wallet-web` stack
- Clone the stack repo:
@ -114,6 +110,7 @@
### Testnet Onboarding App and Onboarding API Stacks
- 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:
@ -171,31 +168,17 @@
```
- Env configuration:
- Set the required variables:
- Inside the `onboarding-app-deployment/config.env` file, set your wallet connect ProjectId:
```bash
# WalletConnect project ID
export WALLET_CONNECT_ID=
# Your sumsub application token
export SUMSUB_APP_TOKEN=
# Your sumsub secret key
export SUMSUB_SECRET_KEY=
WALLET_CONNECT_ID=39bc93c...
```
- 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
cat <<EOF > onboarding-app-deployment/config.env
WALLET_CONNECT_ID=$WALLET_CONNECT_ID
EOF
cat <<EOF > onboarding-api-deployment/config.env
SUMSUB_APP_TOKEN=$SUMSUB_APP_TOKEN
SUMSUB_SECRET_KEY=$SUMSUB_SECRET_KEY
EOF
SUMSUB_APP_TOKEN=sbx:Xig...
SUMSUB_SECRET_KEY=pIue...
```
### fixturenet-laconicd and laconic-faucet Stacks
@ -657,7 +640,7 @@
- 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:
- 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
OR
- (Optional) Start `laconic-wallet` android app (run steps in laconic-wallet repo)
- Alternatively, you can:
- 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 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
OR
- Run as a website:
- Alternatively, run laconic-wallet as a website:
- Open `laconic-wallet-web` at <https://wallet.laconic.com>
OR
- (Optional) Run the `laconic-wallet-web` stack:
- Alternatively, run the `laconic-wallet-web` stack:
```bash
laconic-so deployment --dir laconic-wallet-web-deployment start