+
{JSON.stringify(env, null, 2)}
+
+ );
+};
+
export default VegaTradingApp;
const MaybeConnectEagerly = () => {
diff --git a/libs/environment/src/hooks/index.ts b/libs/environment/src/hooks/index.ts
index c1c468099..6961f5a23 100644
--- a/libs/environment/src/hooks/index.ts
+++ b/libs/environment/src/hooks/index.ts
@@ -1,3 +1,4 @@
export * from './use-environment';
+export * from './use-environment-2';
export * from './use-links';
export * from './use-node-health';
diff --git a/libs/environment/src/hooks/use-environment-2.ts b/libs/environment/src/hooks/use-environment-2.ts
new file mode 100644
index 000000000..b765beccf
--- /dev/null
+++ b/libs/environment/src/hooks/use-environment-2.ts
@@ -0,0 +1,144 @@
+import { LocalStorage } from '@vegaprotocol/react-helpers';
+import { useEffect } from 'react';
+import { create } from 'zustand';
+import { createClient } from '@vegaprotocol/apollo-client';
+import type {
+ BlockTimeSubscription,
+ StatisticsQuery,
+} from '../utils/__generated__/Node';
+import {
+ BlockTimeDocument,
+ StatisticsDocument,
+} from '../utils/__generated__/Node';
+
+type Client = ReturnType