From b94fd22c76521ca1db573d3bbf942034ffcdc35a Mon Sep 17 00:00:00 2001 From: nabarun Date: Mon, 28 Oct 2024 12:13:13 +0000 Subject: [PATCH] Add laconicd testnet-2 as default network (#17) Part of [Service provider auctions for web deployments](https://www.notion.so/Service-provider-auctions-for-web-deployments-104a6b22d47280dbad51d28aa3a91d75) Co-authored-by: Shreerang Kale Reviewed-on: https://git.vdb.to/cerc-io/laconic-wallet-web/pulls/17 --- .env.example | 2 +- src/styles/stylesheet.js | 2 +- src/utils/constants.ts | 18 +++++++++++++++--- 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/.env.example b/.env.example index 51a1596..b76d155 100644 --- a/.env.example +++ b/.env.example @@ -2,4 +2,4 @@ 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.laconic.com +REACT_APP_LACONICD_RPC_URL=https://laconicd-sapo.laconic.com diff --git a/src/styles/stylesheet.js b/src/styles/stylesheet.js index 52bd51f..a71df18 100644 --- a/src/styles/stylesheet.js +++ b/src/styles/stylesheet.js @@ -288,7 +288,7 @@ const styles = StyleSheet.create({ fontSize: 18, fontWeight: "bold", marginBottom: 3, - color: "black", + color: "white", }, dataBox: { borderWidth: 1, diff --git a/src/utils/constants.ts b/src/utils/constants.ts index 13f9f6b..8269e8e 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -5,17 +5,29 @@ export const EIP155 = 'eip155'; export const COSMOS = 'cosmos'; export const DEFAULT_NETWORKS = [ { - chainId: 'laconic_9000-1', - networkName: 'laconicd', + chainId: 'laconic-testnet-2', + networkName: 'laconicd testnet-2', namespace: COSMOS, rpcUrl: process.env.REACT_APP_LACONICD_RPC_URL!, blockExplorerUrl: '', nativeDenom: 'alnt', addressPrefix: 'laconic', coinType: '118', - gasPrice: '1', + 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, + }, { chainId: '1', networkName: EIP155_CHAINS['eip155:1'].name,