Getting Started
- Fork the repository: https://github.com/JointSave-org/Joint_Save
- Clone your fork:
git clone https://github.com/<your-username>/Joint_Save.git
cd Joint_Save
- Create a new branch:
git checkout -b feat/pool-invite-link
Overview
There is no way to invite someone to join a pool by sharing a link, which is a prerequisite for Phase 3 social onboarding.
Requirements
Share Link Format
https://joint-save.vercel.app/join/<contract_address>
New Page: /join/[contractId]/page.tsx
- Fetch pool details from Supabase + on-chain
- Show: pool name, type, member count, deposit requirements, creator address
- CTAs: "Connect Wallet to Request Join" or "Request to Join"
Share Button in Group Detail
- "Share Invite Link" button in
group-details.tsx for pool creators
- Copies link to clipboard, shows "Link copied!" toast
join_requests Supabase Table
CREATE TABLE join_requests (
id UUID PRIMARY KEY DEFAULT uuid_generate_v4(),
pool_id UUID REFERENCES pools(id),
requester_address TEXT NOT NULL,
status TEXT DEFAULT 'pending',
created_at TIMESTAMP DEFAULT NOW()
);
Acceptance Criteria
Getting Started
Overview
There is no way to invite someone to join a pool by sharing a link, which is a prerequisite for Phase 3 social onboarding.
Requirements
Share Link Format
https://joint-save.vercel.app/join/<contract_address>New Page:
/join/[contractId]/page.tsxShare Button in Group Detail
group-details.tsxfor pool creatorsjoin_requestsSupabase TableAcceptance Criteria
/join/<contractId>renders pool info correctly