Reword laconic-wallet setup steps
This commit is contained in:
parent
0e3ac4e5d9
commit
5ad77cdd0d
@ -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:
|
||||
|
||||
@ -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
|
||||
```
|
||||
|
||||
- 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
|
||||
WALLET_CONNECT_ID=39bc93c...
|
||||
@ -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:
|
||||
- In 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:
|
||||
- In 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
|
||||
@ -648,7 +631,8 @@
|
||||
laconic-so deployment --dir onboarding-api-deployment start
|
||||
```
|
||||
|
||||
Check the logs of the onboarding-app
|
||||
Check the health status for onboarding-app container:
|
||||
|
||||
```bash
|
||||
docker ps | grep testnet-onboarding-app
|
||||
```
|
||||
@ -674,10 +658,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 +672,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 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
|
||||
|
Loading…
Reference in New Issue
Block a user