-
Notifications
You must be signed in to change notification settings - Fork 9
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
305 changed files
with
973 additions
and
455 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
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,16 +1,16 @@ | ||
{ | ||
"name": "@chievemints", | ||
"name": "@’chievemints", | ||
"author": { | ||
"name": "dysbulic", | ||
"email": "dys@dhappy.org" | ||
"name": "dys", | ||
"email": "d@dhappy.org" | ||
}, | ||
"version": "0.3.0", | ||
"version": "0.4.19", | ||
"license": "CC0-1.0", | ||
"private": true, | ||
"scripts": { | ||
"ui:start": "yarn workspace @chievemints/ui dev", | ||
"ui:test": "yarn workspace @chievemints/ui test", | ||
"ui:publish": "yarn ui:build && yarn gh:publish", | ||
"ui:publish:op": "yarn ui:build && yarn gh:publish:op", | ||
"ui:build": "yarn workspace @chievemints/ui build", | ||
"ui:preview": "yarn workspace @chievemints/ui preview", | ||
"hh:node": "yarn workspace @chievemints/contracts chain", | ||
|
@@ -32,11 +32,12 @@ | |
"ui:theme": "yarn workspace @chievemints/ui theme", | ||
"ui:watch": "yarn workspace @chievemints/ui watch", | ||
"cm:grant": "yarn workspace @chievemints/contracts hardhat grant", | ||
"cm:disable": "yarn workspace @chievemints/contracts hardhat disable", | ||
"cm:metadata": "yarn workspace @chievemints/contracts gating-metadata" | ||
}, | ||
"workspaces": { | ||
"packages": [ | ||
"packages/*" | ||
"pkgs/*" | ||
] | ||
}, | ||
"packageManager": "[email protected]", | ||
|
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,4 +1,5 @@ | ||
# VITE_IPFS_LINK_PATTERN=http://{v1cid}.ipfs.localhost:8080/{path} | ||
VITE_CHAIN_NAME=polygon | ||
VITE_CHAIN_NAME=optimisticEthereum | ||
VITE_process.env.NODE_DEBUG='' | ||
VITE_RAW_global.WebSocket=window.WebSocket |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
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,83 @@ | ||
|
||
import { Helmet } from 'react-helmet' | ||
import { | ||
ApolloClient, | ||
InMemoryCache, | ||
ApolloProvider, | ||
} from '@apollo/client' | ||
import { | ||
HashRouter as Router, | ||
Routes, | ||
Route, | ||
} from 'react-router-dom' | ||
import React from 'react' | ||
import { WagmiProvider } from 'wagmi' | ||
import { ConnectKitProvider } from 'connectkit' | ||
import { ToastContainer } from 'react-toastify' | ||
import { nftGraph } from '@/config' | ||
import { Web3ContextProvider } from '@/lib/hooks' | ||
import { config as wagmiConfig } from './lib/ConnectKit' | ||
import { Spinner } from './components/Spinner' | ||
import { QueryClient, QueryClientProvider } from '@tanstack/react-query' | ||
|
||
const Home = React.lazy(() => import('./pages/home')) | ||
const New = React.lazy(() => import('./pages/new')) | ||
const View = React.lazy(() => import('./pages/view')) | ||
const Edit = React.lazy(() => import('./pages/edit')) | ||
const Disburse = React.lazy(() => import('./pages/disburse')) | ||
const SelfMint = React.lazy(() => import('./pages/self-mint')) | ||
const Owners = React.lazy(() => import('./pages/owners')) | ||
const Permissions = React.lazy(() => import('./pages/permissions')) | ||
const FreeMushroom = React.lazy(() => import('./pages/mushroom')) | ||
|
||
const apolloClient = new ApolloClient({ | ||
uri: nftGraph, | ||
cache: new InMemoryCache(), | ||
}) | ||
|
||
const queryClient = new QueryClient(); | ||
|
||
const App: React.FC = () => ( | ||
<> | ||
<Helmet> | ||
<link rel="shortcut icon" href="favicon.svg"/> | ||
<meta | ||
name="viewport" | ||
content="width=device-width, initial-scale=1.0" | ||
/> | ||
</Helmet> | ||
<ApolloProvider client={apolloClient}> | ||
<WagmiProvider config={wagmiConfig}> | ||
<QueryClientProvider client={queryClient}> | ||
<ConnectKitProvider> | ||
<Web3ContextProvider> | ||
<React.Suspense fallback={<Spinner/>}> | ||
<Router> | ||
<Routes> | ||
<Route path="/new" element={<New/>} /> | ||
<Route path="/view/:nftId" element={<View/>} /> | ||
<Route path="/self-mint/:nftId" element={<SelfMint/>} /> | ||
<Route path="/disburse/:nftId" element={<Disburse/>} /> | ||
<Route path="/owners/:nftId" element={<Owners/>} /> | ||
<Route path="/edit/:nftId" element={<Edit/>} /> | ||
<Route path="/permissions/:nftId" element={<Permissions/>} /> | ||
<Route path="/mushy" element={<FreeMushroom/>} /> | ||
<Route path="/" element={<Home/>} /> | ||
</Routes> | ||
</Router> | ||
</React.Suspense> | ||
</Web3ContextProvider> | ||
</ConnectKitProvider> | ||
</QueryClientProvider> | ||
</WagmiProvider> | ||
</ApolloProvider> | ||
<ToastContainer | ||
position="bottom-center" | ||
autoClose={15000} | ||
closeOnClick | ||
pauseOnHover | ||
/> | ||
</> | ||
) | ||
|
||
export default App |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
Oops, something went wrong.