Skip to content

Release/1.0 - WIP #242

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

Open
wants to merge 31 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
9839f14
fix: resolve corepack signature issue (#221)
robertqin86 Mar 10, 2025
7530932
Merge pull request #222 from NeurProjects/fix/221-corepack-signature-…
robertqin86 Mar 10, 2025
268b77e
feat: support server side code debugging
robertqin86 Mar 15, 2025
f1a68d8
fix: use a local script instead
robertqin86 Mar 15, 2025
7a59f3d
Merge pull request #235 from NeurProjects/feat/234-support-server-sid…
robertqin86 Mar 15, 2025
bfff2d8
feat: add launch.json to enable debug mode on vscode
robertqin86 Mar 15, 2025
e501724
Merge pull request #236 from NeurProjects/feat/234-support-server-sid…
robertqin86 Mar 15, 2025
11046c1
feat: delete dialog, render delete button for empty embedded wallets
robertqin86 Mar 23, 2025
1d180b5
feat: return total balance across all embedded wallets
robertqin86 Mar 23, 2025
8795e03
refactor: use-wallets check balance
robertqin86 Mar 24, 2025
9b36ace
feat: complete ui for delete account dialog with checkbox ack
robertqin86 Mar 24, 2025
1f358a1
fix: revert stub out code
robertqin86 Mar 24, 2025
2aa419d
feat: deleteUser functionality
robertqin86 Mar 25, 2025
1226aa9
Merge pull request #239 from NeurProjects/feat/146-allow-users-delete…
robertqin86 Mar 25, 2025
a2d029e
feat: display prompts on homepage based on user-selected filters
Mano-08 Apr 8, 2025
361b00c
feat: save homepage filtered-prompts preference on local storage
Mano-08 Apr 8, 2025
529350e
Merge pull request #241 from Mano-08/feat/add-prompt-filtering-on-hom…
robertqin86 Apr 10, 2025
b50dedc
feat: enable privy connected wallets to send 1 sol
robertqin86 Mar 19, 2025
bad84ed
fix: use devnet sol cluster if dev env
robertqin86 Mar 29, 2025
a9cd123
feat: add select funding method dialog
robertqin86 Mar 29, 2025
503ade2
feat: fund wallets directly in eap payments, bug fixes for legacy wal…
robertqin86 Mar 30, 2025
48fdb50
fix: update callback and rename wallet-card-mini to wallet-card-eap
robertqin86 Mar 31, 2025
ef4eb46
feat: handle eap payments from linked and embedded wallets
robertqin86 Mar 31, 2025
92e0354
feat: allow connecting to external solana wallets directly from selec…
robertqin86 Apr 1, 2025
2c38199
chore: declare a fundingwallet interface with wrappers to convert sol…
robertqin86 Apr 2, 2025
2bb5cab
fix: revert ai.ts
robertqin86 Apr 2, 2025
aa6b776
feat: implemented successful eap transfer from any sol external wallet
robertqin86 Apr 2, 2025
99ca6f4
chore: delete unused phantom icon
robertqin86 Apr 2, 2025
3b50246
feat: implemented enabling legacy embedded wallets to fund eap
robertqin86 Apr 3, 2025
9524972
Merge pull request #238 from NeurProjects/feat/223-send-eap-privy-con…
robertqin86 Apr 10, 2025
4b95518
chore: prepare for 1.0.0 release
robertqin86 Apr 10, 2025
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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,5 @@ yarn-error.log*
*.tsbuildinfo
next-env.d.ts
.env*.local

.idea
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v20.18.1
34 changes: 34 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "neur.sh: debug server-side",
"port": 9230,
"request": "attach",
"skipFiles": [
"<node_internals>/**"
],
"type": "node",
"sourceMapPathOverrides": {
"/turbopack/*": "${webRoot}/*"
}
},
{
"type": "chrome",
"request": "launch",
"name": "neur.sh: debug client-side",
"url": "http://localhost:3001",
"webRoot": "${workspaceFolder}",
"sourceMapPathOverrides": {
"/turbopack/*": "${webRoot}/*"
}
}
],
"compounds": [
{
"name": "neur.sh: debug full stack",
"configurations": ["neur.sh: debug client-side", "neur.sh: debug server-side"],
"stopAll": true
}
]
}
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.formatOnSave": false,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
Expand Down
5 changes: 5 additions & 0 deletions Dockerfile.local
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
FROM node:20 AS base
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"

# Update Corepack to prevent outdated signature issues
# See https://pnpm.io/installation#using-corepack
RUN npm install --global corepack@latest

RUN corepack enable

FROM base AS dev
Expand Down
19 changes: 19 additions & 0 deletions LOCAL_DEV.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ POSTGRES_USER=admin
POSTGRES_PASSWORD=admin

# Privy Embedded Wallet Delegated Actions
# Configure this via Privy (Authentication -> Advanced (tab) -> Enable Server-side access (offline access))
PRIVY_SIGNING_KEY=<YOUR_PRIVY_SIGNING_KEY>
```

Expand Down Expand Up @@ -89,6 +90,24 @@ If you're starting from an existing image run
pnpm run dev:up
```

To debug the Neur App Next.js server-side code:

Make the script executable (only needed once):

```
chmod u+x local_app_dev.sh
```

Start the neur-app with debugging enabled:

```
./local_app_dev.sh
```

This starts the application locally and attaches a debugger to the Node.js process.

You can then set breakpoints in server-side files like api/actions/route.ts and debug them using Chrome DevTools Inspector

### Docker troubleshooting

Sometimes if you add a dependecy you'll have to rebuild the image and clear existing volumes. If you run into issues with dependencies not adding clear your image, volumes, and build cache:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ services:
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
ports:
- "5432:5432"
- "5433:5432" # Map container port to a different host port to prevent conflicts with local postgres instance
volumes:
- "neur-db-data:/var/lib/postgresql/data"

Expand Down
12 changes: 12 additions & 0 deletions local_app_dev.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash

# change the default POSTGRES_USER and POSTGRES_PASSWORD
# to the actual value defined in your .env
export POSTGRES_USER=${POSTGRES_USER:-"admin"}
export POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-"admin"}

DB_URL="postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@localhost:5433/neurdb"
export DATABASE_URL=$DB_URL
export DIRECT_URL=$DB_URL

pnpm run dev:local
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"name": "neur-app",
"version": "0.3.4",
"version": "1.0.0",
"private": true,
"scripts": {
"vercel-build": "NODE_OPTIONS=--max_old_space_size=2048 pnpm npx prisma generate && next build",
"dev": "NODE_NO_WARNINGS=1 next dev --turbopack",
"dev:local": "NODE_NO_WARNINGS=1 NODE_OPTIONS='--inspect' next dev --turbopack -p 3001",
"build": "next build",
"start": "next start",
"lint": "next lint",
Expand All @@ -27,6 +28,7 @@
"@radix-ui/react-accordion": "^1.2.2",
"@radix-ui/react-alert-dialog": "^1.1.4",
"@radix-ui/react-avatar": "^1.1.2",
"@radix-ui/react-checkbox": "^1.1.4",
"@radix-ui/react-collapsible": "^1.1.2",
"@radix-ui/react-dialog": "^1.1.4",
"@radix-ui/react-dropdown-menu": "^2.1.4",
Expand Down Expand Up @@ -74,7 +76,7 @@
"recharts": "^2.15.0",
"rehype-raw": "^7.0.0",
"remark-gfm": "^4.0.0",
"solana-agent-kit": "github:slimeonmyhead/solana-agent-kit#c571e8b59ed7d399a705578af2d58c95f7e9e826",
"solana-agent-kit": "github:robertqin86/solana-agent-kit#f9ba5bfada0ce60527f2641989de553075e24785",
"sonner": "^1.7.2",
"swr": "^2.3.0",
"tailwind-merge": "^2.6.0",
Expand Down
80 changes: 75 additions & 5 deletions pnpm-lock.yaml

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

Loading