Update stack for wallet renaming

This commit is contained in:
Prathamesh Musale 2025-06-18 15:30:58 +05:30
parent d0623be1c3
commit f80a5e425f
6 changed files with 23 additions and 23 deletions

View File

@ -1 +1 @@
# laconic-wallet-web
# zenith-wallet-web

View File

@ -1,3 +1,3 @@
# laconic-wallet-web-stack
# zenith-wallet-web-stack
[laconic-wallet-web stack documentation](./stack-orchestrator/stack/laconic-wallet-web/README.md)
[zenith-wallet-web stack documentation](./stack-orchestrator/stack/zenith-wallet-web/README.md)

View File

@ -1,8 +1,8 @@
services:
# Builds and serves the React laconic-wallet-web app
laconic-wallet-web:
# Builds and serves the React zenith-wallet-web app
zenith-wallet-web:
restart: unless-stopped
image: cerc/laconic-wallet-web:local
image: cerc/zenith-wallet-web:local
environment:
CERC_SCRIPT_DEBUG: ${CERC_SCRIPT_DEBUG}
WALLET_CONNECT_ID: ${WALLET_CONNECT_ID}

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build cerc/laconic-wallet-web
# Build cerc/zenith-wallet-web
source ${CERC_CONTAINER_BASE_DIR}/build-base.sh
@ -8,4 +8,4 @@ SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
CERC_NPM_REGISTRY_URL="https://git.vdb.to/api/packages/cerc-io/npm/"
docker build -t cerc/laconic-wallet-web:local ${build_command_args} -f ${SCRIPT_DIR}/Dockerfile ${CERC_REPO_BASE_DIR}/laconic-wallet-web
docker build -t cerc/zenith-wallet-web:local ${build_command_args} -f ${SCRIPT_DIR}/Dockerfile ${CERC_REPO_BASE_DIR}/zenith-wallet-web

View File

@ -1,29 +1,29 @@
# laconic-wallet-web
# zenith-wallet-web
Instructions for running the `laconic-wallet-web` using [laconic-so](https://git.vdb.to/cerc-io/stack-orchestrator)
Instructions for running the `zenith-wallet-web` using [laconic-so](https://git.vdb.to/cerc-io/stack-orchestrator)
## Setup
* Clone the stack repo:
```bash
laconic-so fetch-stack git.vdb.to/LaconicNetwork/laconic-wallet-web
laconic-so fetch-stack git.vdb.to/LaconicNetwork/zenith-wallet-web
```
* Build the container image:
```bash
laconic-so --stack ~/cerc/laconic-wallet-web/stack/stack-orchestrator/stack/laconic-wallet-web build-containers
laconic-so --stack ~/cerc/zenith-wallet-web/stack/stack-orchestrator/stack/zenith-wallet-web build-containers
```
This should create the `cerc/laconic-wallet-web` image locally
This should create the `cerc/zenith-wallet-web` image locally
## Create a deployment
* 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
laconic-so --stack ~/cerc/zenith-wallet-web/stack/stack-orchestrator/stack/zenith-wallet-web deploy init --output zenith-wallet-web-spec.yml
```
* Edit `network` in the spec file to map container ports to host ports as required:
@ -31,19 +31,19 @@ Instructions for running the `laconic-wallet-web` using [laconic-so](https://git
```bash
network:
ports:
laconic-wallet-web:
zenith-wallet-web:
- '3000: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
laconic-so --stack ~/cerc/zenith-wallet-web/stack/stack-orchestrator/stack/zenith-wallet-web deploy create --spec-file zenith-wallet-web-spec.yml --deployment-dir zenith-wallet-web-deployment
```
## Configuration
* Inside the `laconic-wallet-web-deployment` deployment directory, open `config.env` file and set following env variables:
* Inside the `zenith-wallet-web-deployment` deployment directory, open `config.env` file and set following env variables:
```bash
# WalletConnect project ID, same should be used in the laconic-wallet
@ -74,7 +74,7 @@ Instructions for running the `laconic-wallet-web` using [laconic-so](https://git
## Start the deployment
```bash
laconic-so deployment --dir laconic-wallet-web-deployment start
laconic-so deployment --dir zenith-wallet-web-deployment start
```
Open the wallet app in a browser at <http://localhost:3000>
@ -84,5 +84,5 @@ Open the wallet app in a browser at <http://localhost:3000>
* Stop the deployment:
```bash
laconic-so deployment --dir laconic-wallet-web-deployment stop
laconic-so deployment --dir zenith-wallet-web-deployment stop
```

View File

@ -1,7 +1,7 @@
version: "1.0"
name: laconic-wallet-web
description: "Laconic web wallet"
name: zenith-wallet-web
description: "Zenith web wallet"
containers:
- cerc/laconic-wallet-web
- cerc/zenith-wallet-web
pods:
- laconic-wallet-web
- zenith-wallet-web