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

chore: merge develop #8

Merged
merged 40 commits into from
Jun 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
275d356
fix: image loading (#1)
tadejpodrekar Jun 6, 2024
003a409
feat: server components, profile, airstack, dapp optimizations (#2)
martines3000 Jun 6, 2024
a0d168b
fix: resolves navigation bug by updating to nextjs canary version (#3)
martines3000 Jun 6, 2024
34fdd0f
fix: resolves api route incorrectly reading API key
martines3000 Jun 6, 2024
fdc4a9d
feat: vercel analytics (#5)
martines3000 Jun 6, 2024
9824882
feat: profile loading skeleton (#4)
martines3000 Jun 6, 2024
08150cf
feat: move og image generation to opengrah-image.tsx (#6)
martines3000 Jun 6, 2024
157bbcf
feat: og image generation improvements
martines3000 Jun 6, 2024
ef4b9fb
fix: add missing og properties
martines3000 Jun 6, 2024
e700453
feat: gradient background, search bar alignment, error component
martines3000 Jun 6, 2024
1e6df71
fix: searchbar padding
martines3000 Jun 6, 2024
850db40
feat: address identicons, deployment url handling
martines3000 Jun 7, 2024
0fb12f1
chore: set temporary vercel.app url
martines3000 Jun 7, 2024
350fbe3
fix: only include platform in ogurl if it exists
martines3000 Jun 7, 2024
5073f8d
chore: force light theme
martines3000 Jun 7, 2024
91a6de1
chore: improve shadows and searchbar
martines3000 Jun 7, 2024
3fdb02c
fix: ui improvements based on feedback
martines3000 Jun 7, 2024
d1e13f9
fix: disable link prefetching in searchbar
martines3000 Jun 7, 2024
c3f79ce
chore: maybe fixes caching issues
martines3000 Jun 7, 2024
8ba79d5
chore: full url logging
martines3000 Jun 7, 2024
72aa017
chore: bump cache to 1 week for debugging
martines3000 Jun 7, 2024
b812051
chore: update text (#7)
Vid201 Jun 9, 2024
de5dd24
fix: rename dashboard to summary
martines3000 Jun 9, 2024
5bbc9eb
fix: remove animate presence becuase of bug
martines3000 Jun 9, 2024
e634f80
fix: clickable user badges, change endorse button text
martines3000 Jun 9, 2024
2e39ebc
fix: typos
pseudobun Jun 10, 2024
0dce985
fix: donations to tips
pseudobun Jun 10, 2024
f670dfb
fix: resolve issue with wrong order key
martines3000 Jun 10, 2024
8c07103
fix: change default endorsement type
martines3000 Jun 10, 2024
d4da999
fix: resolve layout issues
martines3000 Jun 10, 2024
d7a4dfe
fix: resolve issues with gas cost calculations
martines3000 Jun 10, 2024
d1897ea
fix: small margin adjustments
martines3000 Jun 10, 2024
8e7de66
fix: replace logo and text with endorse.fun
martines3000 Jun 10, 2024
a58d327
fix: resolve endorsement typos
martines3000 Jun 10, 2024
992e837
feat: styling and graphql improvements
martines3000 Jun 10, 2024
994d60a
fix: resolve subgraph deployment scripts
martines3000 Jun 11, 2024
c94d05a
feat: primitive loadbalancing for subgraph querying
martines3000 Jun 11, 2024
7c6edf3
chore: update readme.md with base deployment address
pseudobun Jun 11, 2024
52393b1
fix: user badge card placement
martines3000 Jun 11, 2024
d3afe84
feat: deploy subgraph on base
martines3000 Jun 11, 2024
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
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Intro to monorepo

The monorepo consists of three main parts:

* [Contracts](packages/contracts)
* [Dapp](packages/dapp)
* [Subgraphs](packages/subgraphs)
Expand All @@ -18,10 +19,10 @@ pnpm lint

## Deployed contracts and EAS schemas

### EESCore deployed contracts:
### EESCore deployed contracts

* Mainnet: TODO
* Base: TODO
* Base: [0x6BbcC7D0E661a4f5441F74Dc0Ab324ac4327D940](https://basescan.org/address/0x6bbcc7d0e661a4f5441f74dc0ab324ac4327d940)
* Sepolia: [0x306aa8b6640A4Ef12919Ed97b5d85c006DD68796](https://sepolia.etherscan.io/address/0x306aa8b6640A4Ef12919Ed97b5d85c006DD68796)
* Base Sepolia: [0x63F610a03Caa82ca32386BDb6F447a93d4D6F6e7](https://sepolia.basescan.org/address/0x63F610a03Caa82ca32386BDb6F447a93d4D6F6e7)

Expand Down
4 changes: 2 additions & 2 deletions packages/contracts/scripts/deployCore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const networkToSchemaUid = {
mainnet: 'not-yet-deployed',
sepolia: '0x28bb35c3774b2963e8703dccbe93a3d1620ddf91ee3eee4678cdb8fb8e1a8bbb',
local: '0x28bb35c3774b2963e8703dccbe93a3d1620ddf91ee3eee4678cdb8fb8e1a8bbb',
base: 'not-yet-deployed',
base: '0xc15bb007fcd98a5a99c0fd98286fba2f62f997de62c11ea24dfd30d274eef99f',
baseSepolia:
'0xc15bb007fcd98a5a99c0fd98286fba2f62f997de62c11ea24dfd30d274eef99f',
};
Expand Down Expand Up @@ -44,12 +44,12 @@ async function main() {
);
await deployment.waitForDeployment();

console.log('EESCore deployed to: ', await deployment.getAddress());
if (hre.network.name !== 'local') {
await run('verify:verify', {
address: await deployment.getAddress(),
});
}
console.log('EESCore deployed to: ', await deployment.getAddress());
}

main().catch((error) => {
Expand Down
21 changes: 17 additions & 4 deletions packages/dapp/.env.example
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
# GraphQL API endpoints
NEXT_PUBLIC_EES_BASE_GRAPHQL_ENDPOINT=
NEXT_PUBLIC_EES_BASE_SEPOLIA_GRAPHQL_ENDPOINT=
NEXT_PUBLIC_EES_SEPOLIA_GRAPHQL_ENDPOINT=
# GraphQL API endpoints (Alchemy + The Graph Network)
# Alchemy
EES_BASE_GRAPHQL_ENDPOINT_ALCHEMY=
EES_BASE_SEPOLIA_GRAPHQL_ENDPOINT_ALCHEMY=
EES_SEPOLIA_GRAPHQL_ENDPOINT_ALCHEMY=
# Graph network
EES_BASE_GRAPHQL_ENDPOINT_GRAPH_NETWORK=
EES_BASE_SEPOLIA_GRAPHQL_ENDPOINT_GRAPH_NETWORK=
EES_SEPOLIA_GRAPHQL_ENDPOINT_GRAPH_NETWORK=

# Coinbase API Secrets
COINBASE_API_KEY_NAME=
Expand All @@ -14,3 +19,11 @@ NEXT_PUBLIC_APP_ENV=
NEXT_PUBLIC_BASE_ENDPOINT=
NEXT_PUBLIC_BASE_SEPOLIA_ENDPOINT=
NEXT_PUBLIC_SEPOLIA_ENDPOINT=

# Airstack
AIRSTACK_API_URL=
AIRSTACK_API_KEY=

# Next.js Vercel
# Should be only set for local development, on Vercel it will be set automatically
NEXT_PUBLIC_VERCEL_PROJECT_PRODUCTION_URL=
32 changes: 24 additions & 8 deletions packages/dapp/codegen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,38 @@ import type { CodegenConfig } from '@graphql-codegen/cli';

const config: CodegenConfig = {
generates: {
'./src/__generated__/eas/': {
documents: './src/lib/graphql/eas/**/*.graphql',
schema: 'https://base.easscan.org/graphql',
// './src/__generated__/eas/': {
// documents: './src/lib/graphql/eas/**/*.graphql',
// schema: 'https://base.easscan.org/graphql',
// preset: 'client',
// plugins: [],
// presetConfig: {
// gqlTagName: 'gqlEAS',
// },
// },
'./src/__generated__/ees/': {
documents: './src/lib/graphql/ees/**/*.graphql',
config: {
documentMode: 'string',
},
schema:
'https://subgraph.satsuma-prod.com/9c8dcc2edf3c/martins-team--780110/ees-sepolia/api',
preset: 'client',
plugins: [],
presetConfig: {
gqlTagName: 'gqlEAS',
gqlTagName: 'gqlEES',
},
},
'./src/__generated__/ees/': {
documents: './src/lib/graphql/ees/**/*.graphql',
schema: 'http://0.0.0.0:8000/subgraphs/name/ees',
'./src/__generated__/airstack/': {
documents: './src/lib/graphql/airstack/**/*.graphql',
config: {
documentMode: 'string',
},
schema: 'https://api.airstack.xyz/graphql',
preset: 'client',
plugins: [],
presetConfig: {
gqlTagName: 'gqlEES',
gqlTagName: 'gqlAirstack',
},
},
},
Expand Down
5 changes: 5 additions & 0 deletions packages/dapp/next.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
logging: {
fetches: {
fullUrl: true,
},
},
images: {
remotePatterns: [
{
Expand Down
9 changes: 6 additions & 3 deletions packages/dapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,20 @@
"@rainbow-me/rainbowkit": "^2.1.2",
"@tanstack/react-query": "5.40.0",
"@tanstack/react-query-devtools": "^5.40.0",
"@vercel/analytics": "^1.3.1",
"@vercel/speed-insights": "^1.0.11",
"@wagmi/core": "^2.10.5",
"blo": "^1.2.0",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"cmdk": "^1.0.0",
"framer-motion": "^11.2.10",
"jsonwebtoken": "^9.0.2",
"lucide-react": "^0.381.0",
"next": "14.2.3",
"next": "14.3.0-canary.87",
"next-themes": "^0.3.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react": "19.0.0-rc.0",
"react-dom": "19.0.0-rc.0",
"react-inlinesvg": "^4.1.3",
"react-share": "^5.1.0",
"react-use": "^17.5.0",
Expand Down
Binary file added packages/dapp/public/endorse.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions packages/dapp/public/icons/icon-gas.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
63 changes: 63 additions & 0 deletions packages/dapp/src/__generated__/airstack/fragment-masking.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

48 changes: 48 additions & 0 deletions packages/dapp/src/__generated__/airstack/gql.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading