-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
770 additions
and
367 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
NEXT_PUBLIC_NETWORK_ID = 10 | ||
NEXT_PUBLIC_GRAPH_URI = https://api.thegraph.com/subgraphs/name/geo-web-project/geo-web-subgraph | ||
NEXT_PUBLIC_CERAMIC_URI = https://ceramic.geoweb.network/ | ||
NEXT_PUBLIC_CERAMIC_CONNECT_NETWORK = "mainnet" | ||
NEXT_PUBLIC_ANNUALRATE = 0.1 | ||
NEXT_PUBLIC_IPFS_GATEWAY = https://w3s.link | ||
NEXT_PUBLIC_MODEL_VIEWER_IPFS_GATEWAY = https://w3s.link | ||
NEXT_PUBLIC_IPFS_DELEGATE = "/dns4/ceramic.geoweb.network/tcp/443/https" | ||
VITE_PUBLIC_NETWORK_ID = 10 | ||
VITE_PUBLIC_GRAPH_URI = https://api.thegraph.com/subgraphs/name/geo-web-project/geo-web-subgraph | ||
VITE_PUBLIC_CERAMIC_URI = https://ceramic.geoweb.network/ | ||
VITE_PUBLIC_CERAMIC_CONNECT_NETWORK = "mainnet" | ||
VITE_PUBLIC_ANNUALRATE = 0.1 | ||
VITE_PUBLIC_IPFS_GATEWAY = https://w3s.link | ||
VITE_PUBLIC_MODEL_VIEWER_IPFS_GATEWAY = https://w3s.link | ||
VITE_PUBLIC_IPFS_DELEGATE = "/dns4/ceramic.geoweb.network/tcp/443/https" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
NEXT_PUBLIC_NETWORK_ID = 420 | ||
NEXT_PUBLIC_GRAPH_URI = https://api.thegraph.com/subgraphs/name/geo-web-project/geo-web-testnet | ||
NEXT_PUBLIC_CERAMIC_URI = https://ceramic-clay.geoweb.network/ | ||
NEXT_PUBLIC_CERAMIC_CONNECT_NETWORK = "testnet-clay" | ||
NEXT_PUBLIC_ANNUALRATE = 0.1 | ||
NEXT_PUBLIC_IPFS_GATEWAY = https://w3s.link | ||
NEXT_PUBLIC_MODEL_VIEWER_IPFS_GATEWAY = https://w3s.link | ||
NEXT_PUBLIC_IPFS_DELEGATE = "/dns4/ceramic-clay.geoweb.network/tcp/443/https" | ||
NEXT_PUBLIC_WS_RPC_URL=wss://opt-goerli.g.alchemy.com/v2/Y4RuzHDAmcqDnO6iqLcfwDzmbTk4xHob | ||
NEXT_PUBLIC_LIVEPEER_API_KEY=8cdf71bd-3f27-46e8-991b-411a0f75b91f | ||
VITE_PUBLIC_NETWORK_ID = 420 | ||
VITE_PUBLIC_GRAPH_URI = https://api.thegraph.com/subgraphs/name/geo-web-project/geo-web-testnet | ||
VITE_PUBLIC_CERAMIC_URI = https://ceramic-clay.geoweb.network/ | ||
VITE_PUBLIC_CERAMIC_CONNECT_NETWORK = "testnet-clay" | ||
VITE_PUBLIC_ANNUALRATE = 0.1 | ||
VITE_PUBLIC_IPFS_GATEWAY = https://w3s.link | ||
VITE_PUBLIC_MODEL_VIEWER_IPFS_GATEWAY = https://w3s.link | ||
VITE_PUBLIC_IPFS_DELEGATE = "/dns4/ceramic-clay.geoweb.network/tcp/443/https" | ||
VITE_PUBLIC_WS_RPC_URL=wss://opt-goerli.g.alchemy.com/v2/Y4RuzHDAmcqDnO6iqLcfwDzmbTk4xHob | ||
VITE_PUBLIC_LIVEPEER_API_KEY=8cdf71bd-3f27-46e8-991b-411a0f75b91f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,3 +26,5 @@ yarn-error.log* | |
.direnv | ||
|
||
*.pem | ||
|
||
dist/ |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
declare module "@latticexyz/store/mud.config"; | ||
declare module "@geo-web/mud-world-base-setup"; | ||
declare module "@ensdomains/content-hash"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<meta | ||
name="description" | ||
content="Geospatial Browser for Accessing The Geo Web" | ||
/> | ||
<title>Geo Web Browser</title> | ||
</head> | ||
<body> | ||
<noscript>You need to enable JavaScript to run this app.</noscript> | ||
<div id="react-root"></div> | ||
<script type="module" src="/src/index.tsx"></script> | ||
</body> | ||
</html> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import * as React from "react"; | ||
import ReactDOM from "react-dom/client"; | ||
import { App } from "./App"; | ||
import { createBrowserRouter, RouterProvider } from "react-router-dom"; | ||
|
||
const rootElement = document.getElementById("react-root"); | ||
if (!rootElement) throw new Error("React root not found"); | ||
|
||
const router = createBrowserRouter([ | ||
{ | ||
path: "/", | ||
element: <App />, | ||
}, | ||
]); | ||
|
||
ReactDOM.createRoot(rootElement).render( | ||
<React.StrictMode> | ||
<RouterProvider router={router} /> | ||
</React.StrictMode> | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
export const NETWORK_ID = parseInt(process.env.NEXT_PUBLIC_NETWORK_ID!); | ||
export const NETWORK_ID = parseInt(import.meta.env.VITE_PUBLIC_NETWORK_ID!); | ||
export const PAYMENT_TOKEN = "ETHx"; | ||
export const SUBGRAPH_URL = process.env.NEXT_PUBLIC_GRAPH_URI; | ||
export const GRAPH_URL = process.env.NEXT_PUBLIC_GRAPH_URI; | ||
export const CERAMIC_URL = process.env.NEXT_PUBLIC_CERAMIC_URI; | ||
export const CONNECT_NETWORK = process.env.NEXT_PUBLIC_CERAMIC_CONNECT_NETWORK; | ||
export const SUBGRAPH_URL = import.meta.env.VITE_PUBLIC_GRAPH_URI; | ||
export const GRAPH_URL = import.meta.env.VITE_PUBLIC_GRAPH_URI; | ||
export const CERAMIC_URL = import.meta.env.VITE_PUBLIC_CERAMIC_URI; | ||
export const CONNECT_NETWORK = import.meta.env | ||
.VITE_PUBLIC_CERAMIC_CONNECT_NETWORK; | ||
export const CERAMIC_EXPLORER = `https://cerscan.com/${CONNECT_NETWORK}/stream`; | ||
export const IPFS_DELEGATE = process.env.NEXT_PUBLIC_IPFS_DELEGATE; | ||
export const IPFS_DELEGATE = import.meta.env.VITE_PUBLIC_IPFS_DELEGATE; | ||
export const PINATA_API_ENDPOINT = "https://api.pinata.cloud/psa"; | ||
export const STORAGE_WORKER_ENDPOINT = | ||
"https://storage-workers.geo-web.workers.dev"; | ||
export const SECONDS_IN_YEAR = 60 * 60 * 24 * 365; | ||
export const WS_RPC_URL = process.env.NEXT_PUBLIC_WS_RPC_URL!; | ||
export const LIVEPEER_API_KEY = process.env.NEXT_PUBLIC_LIVEPEER_API_KEY!; | ||
export const WS_RPC_URL = import.meta.env.VITE_PUBLIC_WS_RPC_URL!; | ||
export const LIVEPEER_API_KEY = import.meta.env.VITE_PUBLIC_LIVEPEER_API_KEY!; |
Oops, something went wrong.