Update laconic-wallet setup to include laconic-wallet-web

This commit is contained in:
Prathamesh Musale 2024-07-29 17:03:53 +05:30
parent 0875b5e295
commit b27cc41d5f

View File

@ -4,6 +4,11 @@
### Laconic Wallet
- The `laconicd-wallet` can be installed using an APK on a Android device or run as a website using `laconic-wallet-web`
- Follow one of the following (`Run on Android` or `Run as a website`) sections as desired
#### Run On Android
- Install laconic wallet using [latest APK release](https://git.vdb.to/cerc-io/laconic-wallet/releases)
- Download the APK file in latest release `laconic-wallet-debug.apk`
@ -53,6 +58,53 @@
cd ../
```
#### Run As Website
- Use the hosted `laconic-wallet-web` at <https://wallet.laconic.com>
OR
- (Optional) Setup the `laconic-wallet-web` stack
- Clone the stack repo:
```bash
laconic-so fetch-stack git.vdb.to/cerc-io/laconic-wallet-web
```
- Build the container image:
```bash
laconic-so --stack ~/cerc/laconic-wallet-web/stack/stack-orchestrator/stack/laconic-wallet-web build-containers
```
- Create a spec file for the deployment:
```bash
laconic-so --stack ~/cerc/laconic-wallet-web/stack/stack-orchestrator/stack/laconic-wallet-web deploy init --output laconic-wallet-web-spec.yml
```
- Edit `network` in the spec file to map container ports to host ports as required:
```bash
network:
ports:
laconic-wallet-web:
- '5000:80'
```
- Create a deployment from the spec file:
```bash
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:
```bash
WALLET_CONNECT_ID=39bc93c...
```
### Testnet Onboarding App
- Clone the repository