diff --git a/testnet-onboarding-demo.md b/testnet-onboarding-demo.md index d37460b..beddff1 100644 --- a/testnet-onboarding-demo.md +++ b/testnet-onboarding-demo.md @@ -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` @@ -12,6 +17,8 @@ - It will need third party installation permission to install the APK + OR + - (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 @@ -53,6 +60,53 @@ cd ../ ``` +#### Run As Website + +- Use the hosted `laconic-wallet-web` at + + 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