Take RPC URL from env

This commit is contained in:
IshaVenikar 2024-07-29 16:10:04 +05:30
parent e4d946ff15
commit e2e4f3b203
3 changed files with 3 additions and 2 deletions

View File

@ -2,3 +2,4 @@ REACT_APP_WALLET_CONNECT_PROJECT_ID=
REACT_APP_DEFAULT_GAS_PRICE=0.025 REACT_APP_DEFAULT_GAS_PRICE=0.025
# Reference: https://github.com/cosmos/cosmos-sdk/issues/16020 # Reference: https://github.com/cosmos/cosmos-sdk/issues/16020
REACT_APP_GAS_ADJUSTMENT=2 REACT_APP_GAS_ADJUSTMENT=2
REACT_APP_LACONICD_RPC_URL=https://laconicd.laconic.com

View File

@ -1,5 +1,5 @@
{ {
"short_name": "Laconic Wallet Web App", "short_name": "Laconic Wallet",
"name": "Laconic Wallet Web App", "name": "Laconic Wallet Web App",
"icons": [ "icons": [
{ {

View File

@ -8,7 +8,7 @@ export const DEFAULT_NETWORKS = [
chainId: 'laconic_9000-1', chainId: 'laconic_9000-1',
networkName: 'laconicd', networkName: 'laconicd',
namespace: COSMOS, namespace: COSMOS,
rpcUrl: 'http://127.0.0.1:26657', rpcUrl: process.env.REACT_APP_LACONICD_RPC_URL,
blockExplorerUrl: '', blockExplorerUrl: '',
nativeDenom: 'photon', nativeDenom: 'photon',
addressPrefix: 'laconic', addressPrefix: 'laconic',