Add laconicd testnet-2 as default network #17

Merged
nabarun merged 3 commits from deep-stack/laconic-wallet-web:sk-laconic-2-default-network into main 2024-10-28 12:13:14 +00:00
3 changed files with 15 additions and 1 deletions
Showing only changes of commit 709a41459e - Show all commits

View File

@ -3,3 +3,4 @@ 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_TESTNET_2_RPC_URL=

View File

@ -4,6 +4,18 @@ import { EIP155_CHAINS } from './wallet-connect/EIP155Data';
export const EIP155 = 'eip155';
export const COSMOS = 'cosmos';
export const DEFAULT_NETWORKS = [
{
chainId: 'laconic-testnet-2',
networkName: 'laconicd testnet-2',
namespace: COSMOS,
rpcUrl: process.env.REACT_APP_LACONICD_TESTNET_2_RPC_URL!,
blockExplorerUrl: '',
nativeDenom: 'alnt',
addressPrefix: 'laconic',
coinType: '118',
gasPrice: '1',
isDefault: true,
},
{
chainId: 'laconic_9000-1',
networkName: 'laconicd',
@ -14,7 +26,7 @@ export const DEFAULT_NETWORKS = [
addressPrefix: 'laconic',
coinType: '118',
gasPrice: '1',
isDefault: true,
isDefault: false,
},
{
chainId: '1',

View File

@ -16,6 +16,7 @@ REACT_APP_WALLET_CONNECT_PROJECT_ID=$WALLET_CONNECT_ID \
REACT_APP_DEFAULT_GAS_PRICE=$CERC_DEFAULT_GAS_PRICE \
REACT_APP_GAS_ADJUSTMENT=$CERC_GAS_ADJUSTMENT \
REACT_APP_LACONICD_RPC_URL=$CERC_LACONICD_RPC_URL \
REACT_APP_LACONICD_TESTNET_2_RPC_URL=$CERC_LACONICD_TESTNET_2_RPC_URL \
yarn build
# Define the directory and file path