From 9c7b74ad74c8da5f515389b97ee8c7e9d62b193e Mon Sep 17 00:00:00 2001 From: Nabarun Date: Fri, 29 Aug 2025 11:59:33 +0530 Subject: [PATCH 1/2] Add laconic mainnet network --- .env.example | 2 +- src/utils/constants.ts | 26 +++++++++---------- .../docker-compose-laconic-wallet-web.yml | 1 - .../stack/laconic-wallet-web/README.md | 5 +--- 4 files changed, 15 insertions(+), 19 deletions(-) diff --git a/.env.example b/.env.example index 2e44075..856b269 100644 --- a/.env.example +++ b/.env.example @@ -3,7 +3,7 @@ REACT_APP_WALLET_CONNECT_PROJECT_ID= REACT_APP_DEFAULT_GAS_PRICE=0.025 # Reference: https://github.com/cosmos/cosmos-sdk/issues/16020 REACT_APP_GAS_ADJUSTMENT=2 -REACT_APP_LACONICD_RPC_URL=https://laconicd-sapo.laconic.com +REACT_APP_LACONICD_RPC_URL=https://laconicd-mainnet-1.laconic.com # Example: https://example-url-1.com,https://example-url-2.com REACT_APP_ALLOWED_URLS= diff --git a/src/utils/constants.ts b/src/utils/constants.ts index 3f93d29..7dd3fbf 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -6,28 +6,28 @@ export const EIP155 = 'eip155'; export const COSMOS = 'cosmos'; export const DEFAULT_NETWORKS: NetworksFormData[] = [ + { + chainId: 'laconic-mainnet', + networkName: 'laconicd mainnet', + namespace: COSMOS, + rpcUrl: import.meta.env.REACT_APP_LACONICD_RPC_URL, + blockExplorerUrl: 'https://explorer.laconic.com/laconic-mainnet', + nativeDenom: 'alnt', + addressPrefix: 'laconic', + coinType: '118', + gasPrice: '0.001', + isDefault: false, + }, { chainId: 'laconic-testnet-2', networkName: 'laconicd testnet-2', namespace: COSMOS, - rpcUrl: import.meta.env.REACT_APP_LACONICD_RPC_URL!, + rpcUrl: 'https://laconicd-sapo.laconic.com', blockExplorerUrl: '', nativeDenom: 'alnt', addressPrefix: 'laconic', coinType: '118', gasPrice: '0.001', - isDefault: true, - }, - { - chainId: 'laconic_9000-1', - networkName: 'laconicd', - namespace: COSMOS, - rpcUrl: "https://laconicd.laconic.com", - blockExplorerUrl: '', - nativeDenom: 'alnt', - addressPrefix: 'laconic', - coinType: '118', - gasPrice: '1', isDefault: false, }, { diff --git a/stack/stack-orchestrator/compose/docker-compose-laconic-wallet-web.yml b/stack/stack-orchestrator/compose/docker-compose-laconic-wallet-web.yml index b253f2c..0b62679 100644 --- a/stack/stack-orchestrator/compose/docker-compose-laconic-wallet-web.yml +++ b/stack/stack-orchestrator/compose/docker-compose-laconic-wallet-web.yml @@ -10,7 +10,6 @@ services: CERC_DEFAULT_GAS_PRICE: ${CERC_DEFAULT_GAS_PRICE:-0.025} CERC_GAS_ADJUSTMENT: ${CERC_GAS_ADJUSTMENT:-2} CERC_LACONICD_RPC_URL: ${CERC_LACONICD_RPC_URL:-https://laconicd.laconic.com} - CERC_ZENITHD_RPC_URL: ${CERC_ZENITHD_RPC_URL} CERC_ALLOWED_URLS: ${CERC_ALLOWED_URLS} command: ["bash", "/scripts/run.sh"] volumes: diff --git a/stack/stack-orchestrator/stack/laconic-wallet-web/README.md b/stack/stack-orchestrator/stack/laconic-wallet-web/README.md index ba2b399..29d1f39 100644 --- a/stack/stack-orchestrator/stack/laconic-wallet-web/README.md +++ b/stack/stack-orchestrator/stack/laconic-wallet-web/README.md @@ -65,10 +65,7 @@ Instructions for running the `laconic-wallet-web` using [laconic-so](https://git CERC_GAS_ADJUSTMENT= # RPC endpoint of laconicd node (default: https://laconicd.laconic.com) - CERC_LACONICD_RPC_URL= - - # Zenith RPC endpoint - CERC_ZENITHD_RPC_URL= + CERC_LACONICD_RPC_URL=https://laconicd-mainnet-1.laconic.com ``` ## Start the deployment -- 2.45.2 From 010109d46983ea466f19f3f0592b5e9584c9dce1 Mon Sep 17 00:00:00 2001 From: Nabarun Date: Fri, 29 Aug 2025 12:01:09 +0530 Subject: [PATCH 2/2] Upgrade package version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1bd8843..968cedb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "web-wallet", - "version": "0.1.7", + "version": "0.1.8", "private": true, "dependencies": { "@cerc-io/registry-sdk": "^0.2.5", -- 2.45.2