From c9c50fbc23ae4087669780f333166cfdc7334dc7 Mon Sep 17 00:00:00 2001 From: Theophile Sandoz Date: Tue, 4 Jun 2024 20:08:45 +0200 Subject: [PATCH] Provide http rpc endpoint --- packages/atlas/src/.env | 5 ++++- packages/atlas/src/config/env.ts | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/atlas/src/.env b/packages/atlas/src/.env index 4ed1ec82cd..713b2cc03c 100644 --- a/packages/atlas/src/.env +++ b/packages/atlas/src/.env @@ -37,6 +37,7 @@ VITE_PRODUCTION_ORION_AUTH_URL=https://auth.gleev.xyz/api/v1 VITE_PRODUCTION_ORION_URL=https://orion.gleev.xyz/graphql VITE_PRODUCTION_QUERY_NODE_SUBSCRIPTION_URL=wss://orion.joystream.org/graphql VITE_PRODUCTION_NODE_URL=wss://rpc.joystream.org:9944 +VITE_PRODUCTION_NODE_HTTP_URL=https://rpc.joystream.org VITE_PRODUCTION_FAUCET_URL=https://faucet.joystream.org/member-faucet/register VITE_PRODUCTION_YPP_FAUCET_URL=https://18.184.136.237.nip.io/membership @@ -45,6 +46,7 @@ VITE_DEVELOPMENT_ORION_AUTH_URL=https://atlas-dev.joystream.org/api/v1 VITE_DEVELOPMENT_ORION_URL=https://atlas-dev.joystream.org/orion-api/graphql VITE_DEVELOPMENT_QUERY_NODE_SUBSCRIPTION_URL=wss://atlas-dev.joystream.org/orion-v2/graphql VITE_DEVELOPMENT_NODE_URL=wss://atlas-dev.joystream.org/ws-rpc +VITE_DEVELOPMENT_NODE_HTTP_URL=https://atlas-dev.joystream.org/http-rpc VITE_DEVELOPMENT_FAUCET_URL=https://atlas-dev.joystream.org/member-faucet/register VITE_DEVELOPMENT_YPP_FAUCET_URL=https://50.19.175.219.nip.io/memberships @@ -53,15 +55,16 @@ VITE_NEXT_ORION_AUTH_URL=https://3.73.121.180.nip.io/api/v1 VITE_NEXT_ORION_URL=https://3.73.121.180.nip.io/orion/graphql VITE_NEXT_QUERY_NODE_SUBSCRIPTION_URL=wss://3.73.121.180.nip.io/orion/graphql VITE_NEXT_NODE_URL=wss://3.73.121.180.nip.io/ws-rpc +VITE_NEXT_NODE_HTTP_URL=https://3.73.121.180.nip.io/http-rpc VITE_NEXT_FAUCET_URL=https://3.73.121.180.nip.io/member-faucet/register VITE_NEXT_YPP_FAUCET_URL=wss://3.73.121.180.nip.io/ws-rpc - # Local development env URLs VITE_LOCAL_ORION_AUTH_URL=http://localhost:4074/api/v1 VITE_LOCAL_ORION_URL=http://localhost:4350/graphql VITE_LOCAL_QUERY_NODE_SUBSCRIPTION_URL=ws://localhost:8081/graphql VITE_LOCAL_NODE_URL=ws://localhost:9944/ws-rpc +VITE_LOCAL_NODE_HTTP_URL=http://localhost:9933/http-rpc VITE_LOCAL_FAUCET_URL=http://localhost:3002/register VITE_LOCAL_YPP_FAUCET_URL=https://52.204.147.11.nip.io/membership diff --git a/packages/atlas/src/config/env.ts b/packages/atlas/src/config/env.ts index a6ea858da4..7974ac875a 100644 --- a/packages/atlas/src/config/env.ts +++ b/packages/atlas/src/config/env.ts @@ -37,6 +37,7 @@ export const ORION_GRAPHQL_URL = readEnv('ORION_URL') export const ORION_AUTH_URL = readEnv('ORION_AUTH_URL') export const QUERY_NODE_GRAPHQL_SUBSCRIPTION_URL = readEnv('QUERY_NODE_SUBSCRIPTION_URL') export const NODE_URL = readEnv('NODE_URL') +export const NODE_HTTP_URL = readEnv('NODE_HTTP_URL') export const FAUCET_URL = readEnv('FAUCET_URL') export const YPP_FAUCET_URL = readEnv('YPP_FAUCET_URL')