Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Geoanchors and MUD #468

Merged
merged 12 commits into from
Feb 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 17 additions & 16 deletions .env.mainnet
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
NEXT_PUBLIC_NETWORK_ID = 10
NEXT_PUBLIC_SUBGRAPH_URL = "https://api.thegraph.com/subgraphs/name/geo-web-project/geo-web-subgraph"
NEXT_PUBLIC_CERAMIC_URL = "https://ceramic.geoweb.network/"
NEXT_PUBLIC_CERAMIC_CONNECT_NETWORK = "mainnet"
NEXT_PUBLIC_BLOCK_EXPLORER = "https://optimistic.etherscan.io/"
NEXT_PUBLIC_SPATIAL_DOMAIN = "https://geoweb.app/"
NEXT_PUBLIC_APP_ENV = "mainnet"
NEXT_PUBLIC_IPFS_GATEWAY = https://ipfs.io
NEXT_PUBLIC_IPFS_DELEGATE = "/dns4/ceramic.geoweb.network/tcp/443/https"
NEXT_SSX_HOST=https://ssx.geoweb.network
NEXT_REFERRAL_HOST=https://referral.geoweb.network
RAMP_HOST_KEY = th2erp2odav33psv76km8dauua9nkxsagr5b34qm
GELATO_RELAY_API_KEY = vVq0N9RISYzNKOdsFLP7oE2BfBQxCUh7rR2z8vSJ1bg_
REFUND_RECEIVER = 0x48d4516DeF236a0583e8cF05f1D489988738C3B5
WALLET_CONNECT_PROJECT_ID = ed360fa2058a62cd7828610800e21c86
TRANSAK_API_KEY = bf22a0d4-0492-44bd-9e32-a6030c14996e
VITE_NETWORK_ID = 10
VITE_CERAMIC_URL = "https://ceramic.geoweb.network/"
VITE_CERAMIC_CONNECT_NETWORK = "mainnet"
VITE_BLOCK_EXPLORER = "https://optimistic.etherscan.io/"
VITE_WORLD_ADDRESS =
VITE_WORLD_BLOCK_NUMBER =
VITE_SPATIAL_DOMAIN = "https://geoweb.app/"
VITE_APP_ENV = "mainnet"
VITE_IPFS_GATEWAY = https://ipfs.io
VITE_IPFS_DELEGATE = "/dns4/ceramic.geoweb.network/tcp/443/https"
VITE_SSX_HOST = https://ssx.geoweb.network
VITE_REFERRAL_HOST = https://referral.geoweb.network
VITE_RAMP_HOST_KEY = th2erp2odav33psv76km8dauua9nkxsagr5b34qm
VITE_GELATO_RELAY_API_KEY = vVq0N9RISYzNKOdsFLP7oE2BfBQxCUh7rR2z8vSJ1bg_
VITE_REFUND_RECEIVER = 0x48d4516DeF236a0583e8cF05f1D489988738C3B5
VITE_WALLET_CONNECT_PROJECT_ID = ed360fa2058a62cd7828610800e21c86
VITE_TRANSAK_API_KEY = bf22a0d4-0492-44bd-9e32-a6030c14996e
34 changes: 18 additions & 16 deletions .env.testnet
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
NEXT_PUBLIC_NETWORK_ID = 420
NEXT_PUBLIC_SUBGRAPH_URL = "https://api.thegraph.com/subgraphs/name/geo-web-project/geo-web-testnet"
NEXT_PUBLIC_CERAMIC_URL = "https://ceramic.geoweb.network/"
NEXT_PUBLIC_CERAMIC_CONNECT_NETWORK = "mainnet"
NEXT_PUBLIC_BLOCK_EXPLORER = "https://goerli-optimism.etherscan.io/"
NEXT_PUBLIC_SPATIAL_DOMAIN = "https://testnet.geoweb.app/"
NEXT_PUBLIC_APP_ENV = "testnet"
NEXT_PUBLIC_IPFS_GATEWAY = https://ipfs.io
NEXT_PUBLIC_IPFS_DELEGATE = "/dns4/ceramic-clay.geoweb.network/tcp/443/https"
NEXT_SSX_HOST=https://ssx-stg.geoweb.network
NEXT_REFERRAL_HOST=https://referral-stg.geoweb.network
RAMP_HOST_KEY = th2erp2odav33psv76km8dauua9nkxsagr5b34qm
GELATO_RELAY_API_KEY = CBnuvCHhO6HrJqwcGWoIlK_9mrGHUrF6XTXZAyvEC_0_
REFUND_RECEIVER = 0x1a8b3554089d97Ad8656eb91F34225bf97055C68
WALLET_CONNECT_PROJECT_ID = ed360fa2058a62cd7828610800e21c86
TRANSAK_API_KEY = bf22a0d4-0492-44bd-9e32-a6030c14996e
VITE_NETWORK_ID = 11155420
VITE_CERAMIC_URL = "https://ceramic.geoweb.network/"
VITE_CERAMIC_CONNECT_NETWORK = "mainnet"
VITE_BLOCK_EXPLORER = "https://sepolia-optimism.etherscan.io/"
VITE_WORLD_ADDRESS = 0x943e0b3F1926008f2e1bEFCBc55FA2A75CeC2452
VITE_WORLD_BLOCK_NUMBER = 6992231
VITE_SPATIAL_DOMAIN = "https://testnet.geoweb.app/"
VITE_APP_ENV = "testnet"
VITE_IPFS_GATEWAY = https://ipfs.io
VITE_IPFS_DELEGATE = "/dns4/ceramic-clay.geoweb.network/tcp/443/https"
VITE_SSX_HOST = https://ssx-stg.geoweb.network
VITE_REFERRAL_HOST = https://referral-stg.geoweb.network
VITE_RAMP_HOST_KEY = th2erp2odav33psv76km8dauua9nkxsagr5b34qm
VITE_GELATO_RELAY_API_KEY = CBnuvCHhO6HrJqwcGWoIlK_9mrGHUrF6XTXZAyvEC_0_
VITE_REFUND_RECEIVER = 0x1a8b3554089d97Ad8656eb91F34225bf97055C68
VITE_WALLET_CONNECT_PROJECT_ID = ed360fa2058a62cd7828610800e21c86
VITE_TRANSAK_API_KEY = bf22a0d4-0492-44bd-9e32-a6030c14996e
VITE_NATIVE_SUPER_TOKEN = 0x0043d7c85C8b96a49A72A92C0B48CdC4720437d7
49 changes: 3 additions & 46 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,50 +1,7 @@
{
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true
},
"parser": "@typescript-eslint/parser",
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:@next/next/recommended", // always put prettier at last
"prettier"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true // enable linting for jsx files
},
"ecmaVersion": 11
},
"settings": {
"react": {
"version": "detect"
},
"import/resolver": {
"node": {
"extensions": [
".js",
".jsx",
".ts",
".tsx"
]
}
}
},
"plugins": ["react", "react-hooks", "@typescript-eslint"],
"extends": ["react-app", "prettier"],
"rules": {
// NextJs specific fix: suppress errors for missing 'import React' in files for nextjs
"react/react-in-jsx-scope": "off",
// NextJs specific fix: allow jsx syntax in js files
"react/jsx-filename-extension": [1, { "extensions": [".ts", ".tsx"] }], //should add ".ts" if typescript project
"react/display-name": 1
"react-hooks/exhaustive-deps": "off",
"react/no-unescaped-entities": "off"
}
}
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: CI
on: [push, pull_request]
env:
APP_ENV: testnet
jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -8,10 +10,10 @@ jobs:
- name: Begin CI
uses: actions/checkout@v2

- name: Use Node 16
- name: Use Node 18
uses: actions/setup-node@v1
with:
node-version: 16.x
node-version: 18.x

- name: Use cached node_modules
uses: actions/cache@v1
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ jobs:
uses: creyD/[email protected]
with:
dry: True
prettier_version: 2.8.4
prettier_options: --write src/**
github_token: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ yarn-error.log*
.envrc
.direnv

.next
tsconfig.tsbuildinfo
.vercel
dist
76 changes: 0 additions & 76 deletions components/gallery/GalleryDisplayGrid.tsx

This file was deleted.

141 changes: 0 additions & 141 deletions components/gallery/GalleryDisplayItem.tsx

This file was deleted.

Loading
Loading