Skip to content

Commit ba0f453

Browse files
authored
chore: point to nownodes for supported chains (#6050)
* chore: point to nownodes for supported chains * remove unused cosmos node url * only switch over currently supported chains in dev first
1 parent 6f78617 commit ba0f453

File tree

7 files changed

+13
-22
lines changed

7 files changed

+13
-22
lines changed

Diff for: .env.app

-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ REACT_APP_POLYGON_NODE_URL=https://daemon.polygon.shapeshift.com
4343
REACT_APP_GNOSIS_NODE_URL=https://daemon.gnosis.shapeshift.com
4444
REACT_APP_ARBITRUM_NODE_URL=https://daemon.arbitrum.shapeshift.com
4545
REACT_APP_ARBITRUM_NOVA_NODE_URL=https://daemon.arbitrum-nova.shapeshift.com
46-
REACT_APP_COSMOS_NODE_URL=https://daemon.cosmos.shapeshift.com
4746
REACT_APP_THORCHAIN_NODE_URL=https://daemon.thorchain.shapeshift.com
4847

4948
# thorchain

Diff for: .env.dev

+4-5
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,14 @@ REACT_APP_UNCHAINED_THORCHAIN_HTTP_URL=https://dev-api.thorchain.shapeshift.com
3838
REACT_APP_UNCHAINED_THORCHAIN_WS_URL=wss://dev-api.thorchain.shapeshift.com
3939

4040
# nodes
41-
REACT_APP_ETHEREUM_NODE_URL=https://dev-daemon.ethereum.shapeshift.com
41+
REACT_APP_ETHEREUM_NODE_URL=https://dev-nownodes.shapeshift.com/ethereum
4242
REACT_APP_AVALANCHE_NODE_URL=https://dev-daemon.avalanche.shapeshift.com/ext/bc/C/rpc
4343
REACT_APP_OPTIMISM_NODE_URL=https://dev-daemon.optimism.shapeshift.com
44-
REACT_APP_BNBSMARTCHAIN_NODE_URL=https://dev-daemon.bnbsmartchain.shapeshift.com
45-
REACT_APP_POLYGON_NODE_URL=https://dev-daemon.polygon.shapeshift.com
44+
REACT_APP_BNBSMARTCHAIN_NODE_URL=https://dev-nownodes.shapeshift.com/bnbsmartchain
45+
REACT_APP_POLYGON_NODE_URL=https://dev-nownodes.shapeshift.com/polygon
4646
REACT_APP_GNOSIS_NODE_URL=https://dev-daemon.gnosis.shapeshift.com
47-
REACT_APP_ARBITRUM_NODE_URL=https://dev-daemon.arbitrum.shapeshift.com
47+
REACT_APP_ARBITRUM_NODE_URL=https://dev-nownodes.shapeshift.com/arbitrum
4848
REACT_APP_ARBITRUM_NOVA_NODE_URL=https://dev-daemon.arbitrum-nova.shapeshift.com
49-
REACT_APP_COSMOS_NODE_URL=https://dev-daemon.cosmos.shapeshift.com
5049
REACT_APP_THORCHAIN_NODE_URL=https://dev-daemon.thorchain.shapeshift.com
5150

5251
# thorchain

Diff for: .env.develop

+4-5
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,14 @@ REACT_APP_UNCHAINED_THORCHAIN_HTTP_URL=https://dev-api.thorchain.shapeshift.com
3636
REACT_APP_UNCHAINED_THORCHAIN_WS_URL=wss://dev-api.thorchain.shapeshift.com
3737

3838
# nodes
39-
REACT_APP_ETHEREUM_NODE_URL=https://dev-daemon.ethereum.shapeshift.com
39+
REACT_APP_ETHEREUM_NODE_URL=https://dev-nownodes.shapeshift.com/ethereum
4040
REACT_APP_AVALANCHE_NODE_URL=https://dev-daemon.avalanche.shapeshift.com/ext/bc/C/rpc
4141
REACT_APP_OPTIMISM_NODE_URL=https://dev-daemon.optimism.shapeshift.com
42-
REACT_APP_BNBSMARTCHAIN_NODE_URL=https://dev-daemon.bnbsmartchain.shapeshift.com
43-
REACT_APP_POLYGON_NODE_URL=https://dev-daemon.polygon.shapeshift.com
42+
REACT_APP_BNBSMARTCHAIN_NODE_URL=https://dev-nownodes.shapeshift.com/bnbsmartchain
43+
REACT_APP_POLYGON_NODE_URL=https://dev-nownodes.shapeshift.com/polygon
4444
REACT_APP_GNOSIS_NODE_URL=https://dev-daemon.gnosis.shapeshift.com
45-
REACT_APP_ARBITRUM_NODE_URL=https://dev-daemon.arbitrum.shapeshift.com
45+
REACT_APP_ARBITRUM_NODE_URL=https://dev-nownodes.shapeshift.com/arbitrum
4646
REACT_APP_ARBITRUM_NOVA_NODE_URL=https://dev-daemon.arbitrum-nova.shapeshift.com
47-
REACT_APP_COSMOS_NODE_URL=https://dev-daemon.cosmos.shapeshift.com
4847
REACT_APP_THORCHAIN_NODE_URL=https://dev-daemon.thorchain.shapeshift.com
4948

5049
# thorchain

Diff for: .env.e2e

+5-6
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,15 @@ REACT_APP_UNCHAINED_THORCHAIN_HTTP_URL=https://dev-api.thorchain.shapeshift.com
3232
REACT_APP_UNCHAINED_THORCHAIN_WS_URL=wss://dev-api.thorchain.shapeshift.com
3333

3434
# nodes
35-
REACT_APP_ETHEREUM_NODE_URL=http://localhost:8080
35+
REACT_APP_ETHEREUM_NODE_URL=https://dev-nownodes.shapeshift.com/ethereum
3636
REACT_APP_AVALANCHE_NODE_URL=https://dev-daemon.avalanche.shapeshift.com/ext/bc/C/rpc
3737
REACT_APP_OPTIMISM_NODE_URL=https://dev-daemon.optimism.shapeshift.com
38-
REACT_APP_BNBSMARTCHAIN_NODE_URL=https://dev-daemon.bnbsmartchain.shapeshift.com
39-
REACT_APP_POLYGON_NODE_URL=https://dev-daemon.polygon.shapeshift.com
38+
REACT_APP_BNBSMARTCHAIN_NODE_URL=https://dev-nownodes.shapeshift.com/bnbsmartchain
39+
REACT_APP_POLYGON_NODE_URL=https://dev-nownodes.shapeshift.com/polygon
4040
REACT_APP_GNOSIS_NODE_URL=https://dev-daemon.gnosis.shapeshift.com
41-
REACT_APP_ARBITRUM_NODE_URL=https://dev-daemon.arbitrum.shapeshift.com
41+
REACT_APP_ARBITRUM_NODE_URL=https://dev-nownodes.shapeshift.com/arbitrum
4242
REACT_APP_ARBITRUM_NOVA_NODE_URL=https://dev-daemon.arbitrum-nova.shapeshift.com
43-
REACT_APP_COSMOS_NODE_URL=https://dev-daemon.cosmos.shapeshift.com
44-
REACT_APP_THORCHAIN_NODE_URL=https://dev-daemon.thorchain.shapeshift.com/lcd
43+
REACT_APP_THORCHAIN_NODE_URL=https://dev-daemon.thorchain.shapeshift.com
4544

4645
# thorchain
4746
REACT_APP_MIDGARD_URL=https://dev-indexer.thorchain.shapeshift.com/v2

Diff for: .env.private

-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ REACT_APP_POLYGON_NODE_URL=https://daemon.polygon.shapeshift.com
4141
REACT_APP_GNOSIS_NODE_URL=https://daemon.gnosis.shapeshift.com
4242
REACT_APP_ARBITRUM_NODE_URL=https://daemon.arbitrum.shapeshift.com
4343
REACT_APP_ARBITRUM_NOVA_NODE_URL=https://daemon.arbitrum-nova.shapeshift.com
44-
REACT_APP_COSMOS_NODE_URL=https://daemon.cosmos.shapeshift.com
4544
REACT_APP_THORCHAIN_NODE_URL=https://daemon.thorchain.shapeshift.com
4645

4746
# thorchain

Diff for: react-app-rewired/headers/csps/chains/cosmos.ts

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ export const csp: Csp = {
44
'connect-src': [
55
process.env.REACT_APP_UNCHAINED_COSMOS_HTTP_URL!,
66
process.env.REACT_APP_UNCHAINED_COSMOS_WS_URL!,
7-
process.env.REACT_APP_COSMOS_NODE_URL!,
87
],
98
'img-src': [
109
'https://raw.githubusercontent.com/cosmostation/',

Diff for: src/config.ts

-3
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,6 @@ const validators = {
110110
REACT_APP_COWSWAP_BASE_URL: url({
111111
default: 'https://api.cow.fi',
112112
}),
113-
REACT_APP_COSMOS_NODE_URL: url({
114-
default: 'https://dev-daemon.cosmos.shapeshift.com',
115-
}),
116113
REACT_APP_ONRAMPER_WIDGET_URL: url(),
117114
REACT_APP_ONRAMPER_API_URL: url(),
118115
REACT_APP_ONRAMPER_API_KEY: str(),

0 commit comments

Comments
 (0)