Skip to content

Commit

Permalink
Merge pull request #18 from gitcoinco/allo2
Browse files Browse the repository at this point in the history
Allo2
  • Loading branch information
carlbarrdahl authored Mar 15, 2024
2 parents b486ee7 + 01b37d0 commit 0ac2fd0
Show file tree
Hide file tree
Showing 60 changed files with 3,721 additions and 1,918 deletions.
14 changes: 11 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ NEXTAUTH_URL="https://<project_id>.vercel.app"
# NETWORK CONFIGURATION
# ---------------------

# Must be one of: ethereum, optimism, optimismGoerli, arbitrum, linea, sepolia, baseGoerli
# Must be one of: ethereum, optimism, optimismSepolia, arbitrum, linea, sepolia, baseGoerli
# Supported networks found here: https://docs.attest.sh/docs/quick--start/contracts
# NEXT_PUBLIC_CHAIN_NAME=optimism
NEXT_PUBLIC_CHAIN_NAME=optimismGoerli
NEXT_PUBLIC_CHAIN_NAME=optimismSepolia

# EAS GraphQL API URL
# Find the URLs here: https://docs.attest.sh/docs/developer-tools/api
NEXT_PUBLIC_EASSCAN_URL=https://optimism-goerli-bedrock.easscan.org/graphql
NEXT_PUBLIC_EASSCAN_URL=https://optimism-sepolia.easscan.org/graphql
# NEXT_PUBLIC_EASSCAN_URL=https://optimism.easscan.org/graphql

# Optional but highly recommended
Expand Down Expand Up @@ -113,6 +113,14 @@ NEXT_PUBLIC_EAS_CONTRACT_ADDRESS=0x4200000000000000000000000000000000000021
NEXT_PUBLIC_EAS_SCHEMA_REGISTRY_ADDRESS=0x4200000000000000000000000000000000000020


# -------------------
# Allo2 Configuration
# -------------------
NEXT_PUBLIC_ALLO2_ADDRESS="0x1133eA7Af70876e64665ecD07C0A0476d09465a1"
NEXT_PUBLIC_STRATEGY_ADDRESS="0xa3c5a2ea8ca2060e00761069b23da5171146a747"
NEXT_PUBLIC_TOKEN_ADDRESS=""


# ----------------------
# Advanced Configuration
# ----------------------
Expand Down
Binary file modified bun.lockb
Binary file not shown.
8 changes: 8 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ await import("./src/env.js");
const config = {
reactStrictMode: true,

webpack: (config) => {
config.resolve.fallback = { fs: false, net: false, tls: false };
config.externals.push("pino-pretty", "lokijs", "encoding", {
"node-gyp-build": "commonjs node-gyp-build",
});
return config;
},

eslint: {
ignoreDuringBuilds: true,
},
Expand Down
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@
"db:push": "prisma db push",
"db:studio": "prisma studio",
"dev": "next dev",
"postinstall": "prisma generate",
"postinstall": "prisma generate && npm run db:push",
"lint": "next lint",
"start": "next start",
"test": "vitest",
"eas:registerSchemas": "npx tsx src/lib/eas/registerSchemas"
},
"dependencies": {
"@ethereum-attestation-service/eas-sdk": "^1.4.0",
"@allo-team/allo-v2-sdk": "^1.0.39",
"@ethereum-attestation-service/eas-sdk": "^1.5.0",
"@hookform/resolvers": "^3.3.4",
"@next-auth/prisma-adapter": "^1.0.7",
"@nivo/boxplot": "^0.84.0",
Expand All @@ -39,7 +40,7 @@
"clsx": "^2.1.0",
"cmdk": "^0.2.0",
"date-fns": "^3.3.1",
"ethers": "^5.7.2",
"ethers": "^6.11.1",
"formidable": "^3.5.1",
"graphql-request": "^6.1.0",
"lucide-react": "^0.316.0",
Expand All @@ -59,6 +60,7 @@
"siwe": "^2.1.4",
"sonner": "^1.4.0",
"superjson": "^2.2.1",
"tailwind-merge": "^2.2.1",
"tailwind-variants": "^0.1.20",
"viem": "^1.20.3",
"wagmi": "^1.4.12",
Expand Down
Loading

0 comments on commit 0ac2fd0

Please sign in to comment.