Update testnet onboarding demo with new stacks #15
@ -4,6 +4,11 @@
|
|||||||
|
|
||||||
### Laconic Wallet
|
### 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)
|
- 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`
|
- Download the APK file in latest release `laconic-wallet-debug.apk`
|
||||||
@ -12,6 +17,8 @@
|
|||||||
|
|
||||||
- It will need third party installation permission to install the APK
|
- It will need third party installation permission to install the APK
|
||||||
|
|
||||||
|
OR
|
||||||
|
|
||||||
- (Optional) 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
|
||||||
@ -53,6 +60,53 @@
|
|||||||
cd ../
|
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
|
### Testnet Onboarding App
|
||||||
|
|
||||||
- Clone the repository
|
- Clone the repository
|
||||||
|
Loading…
Reference in New Issue
Block a user