Skip to content

Commit 50562dd

Browse files
committed
update testnet endpoint
1 parent 0045798 commit 50562dd

21 files changed

Lines changed: 40 additions & 70 deletions

apps/connect/.env.development

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
VITE_HYPERGRAPH_SYNC_SERVER_ORIGIN="http://localhost:3030"
22
VITE_HYPERGRAPH_CHAIN="geo-testnet"
3-
VITE_HYPERGRAPH_API_URL="https://v2-postgraphile.up.railway.app/graphql"
43
VITE_HYPERGRAPH_RPC_URL="https://rpc-geo-test-zc16z3tcvf.t.conduit.xyz"
54
VITE_PRIVY_APP_ID="cmbhnmo1x000bla0mxudtd8z9"
65
VITE_PRIVY_PROVIDERS="development"
76
# VITE_HYPERGRAPH_CHAIN="geogenesis"
8-
# VITE_HYPERGRAPH_API_URL="https://hypergraph-v2.up.railway.app/graphql"
97
# VITE_HYPERGRAPH_RPC_URL="https://rpc-geo-genesis-h0q2s21xx8.t.conduit.xyz"

apps/connect/.env.production

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# VITE_HYPERGRAPH_SYNC_SERVER_ORIGIN="https://syncserver.hypergraph.thegraph.com"
22
VITE_HYPERGRAPH_SYNC_SERVER_ORIGIN="https://hypergraph.fly.dev"
33
VITE_HYPERGRAPH_CHAIN="geo-testnet"
4-
VITE_HYPERGRAPH_API_URL="https://v2-postgraphile.up.railway.app/graphql"
54
VITE_HYPERGRAPH_RPC_URL="https://rpc-geo-test-zc16z3tcvf.t.conduit.xyz"
65
VITE_PRIVY_APP_ID="cmcccikza007bjy0niawgutl0"
76
VITE_PRIVY_PROVIDERS="production"

apps/connect/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
},
1616
"dependencies": {
1717
"@base-ui-components/react": "1.0.0-beta.0",
18-
"@graphprotocol/grc-20": "^0.21.2",
18+
"@graphprotocol/grc-20": "^0.21.6",
1919
"@graphprotocol/hypergraph": "workspace:*",
2020
"@graphprotocol/hypergraph-react": "workspace:*",
2121
"@privy-io/react-auth": "^2.13.0",

apps/connect/src/routes/authenticate.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { SpacesCard } from '@/components/SpacesCard';
33
import { Loading } from '@/components/ui/Loading';
44
import { usePrivateSpaces } from '@/hooks/use-private-spaces';
55
import { usePublicSpaces } from '@/hooks/use-public-spaces';
6+
import { Graph } from '@graphprotocol/grc-20';
67
import { Connect, Identity, Key, type Messages, StoreConnect, Utils } from '@graphprotocol/hypergraph';
78
import { useIdentityToken, usePrivy, useWallets } from '@privy-io/react-auth';
89
import { createFileRoute } from '@tanstack/react-router';
@@ -145,7 +146,7 @@ function AuthenticateComponent() {
145146
isPending: publicSpacesPending,
146147
error: publicSpacesError,
147148
data: publicSpacesData,
148-
} = usePublicSpaces(import.meta.env.VITE_HYPERGRAPH_API_URL);
149+
} = usePublicSpaces(`${Graph.TESTNET_API_ORIGIN}/graphql`);
149150

150151
const selectedPrivateSpaces = new Set<string>();
151152
const selectedPublicSpaces = new Set<string>();

apps/connect/src/routes/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { SpacesCard } from '@/components/SpacesCard';
33
import { Loading } from '@/components/ui/Loading';
44
import { usePrivateSpaces } from '@/hooks/use-private-spaces';
55
import { usePublicSpaces } from '@/hooks/use-public-spaces';
6+
import { Graph } from '@graphprotocol/grc-20';
67
import { useIdentityToken } from '@privy-io/react-auth';
78
import { createFileRoute } from '@tanstack/react-router';
89

@@ -32,7 +33,7 @@ function Authorized() {
3233
isPending: publicSpacesPending,
3334
error: publicSpacesError,
3435
data: publicSpacesData,
35-
} = usePublicSpaces(import.meta.env.VITE_HYPERGRAPH_API_URL);
36+
} = usePublicSpaces(`${Graph.TESTNET_API_ORIGIN}/graphql`);
3637

3738
return (
3839
<div className="flex grow flex-col items-center justify-center">

apps/events/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"preview": "vite preview"
99
},
1010
"dependencies": {
11-
"@graphprotocol/grc-20": "^0.21.2",
11+
"@graphprotocol/grc-20": "^0.21.6",
1212
"@graphprotocol/hypergraph": "workspace:*",
1313
"@graphprotocol/hypergraph-react": "workspace:*",
1414
"@noble/hashes": "^1.8.0",

apps/next-example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
"type": "module",
1313
"dependencies": {
14-
"@graphprotocol/grc-20": "^0.21.2",
14+
"@graphprotocol/grc-20": "^0.21.6",
1515
"@graphprotocol/hypergraph": "workspace:*",
1616
"@graphprotocol/hypergraph-react": "workspace:*",
1717
"next": "15.3.2",

apps/typesync/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"@effect/sql": "^0.40.1",
4747
"@effect/sql-sqlite-node": "^0.41.1",
4848
"@effect/vitest": "^0.23.10",
49-
"@graphprotocol/grc-20": "^0.21.3",
49+
"@graphprotocol/grc-20": "^0.21.6",
5050
"@graphql-codegen/cli": "^5.0.7",
5151
"@graphql-codegen/client-preset": "^4.8.3",
5252
"@graphql-codegen/typescript": "^4.1.6",

docs/docs/spaces.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Public spaces are spaces that are open to the public. They are visible to anyone
1212

1313
Indexer API that indexes all the public spaces and the content in it!
1414

15-
[Railway Graphql API](https://v2-postgraphile.up.railway.app/graphql)
15+
[Railway Graphql API](https://api-testnet.geobrowser.io/graphql)
1616

1717
## Private Spaces
1818

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"@babel/core": "^7.27.1",
2020
"@biomejs/biome": "1.9.4",
2121
"@changesets/cli": "^2.29.3",
22-
"@graphprotocol/grc-20": "^0.21.3",
22+
"@graphprotocol/grc-20": "^0.21.6",
2323
"babel-plugin-annotate-pure-calls": "^0.5.0",
2424
"glob": "^11.0.2",
2525
"pkg-pr-new": "^0.0.43",

0 commit comments

Comments
 (0)