[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-116639":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":18,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":10,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":10,"pushedAt":24,"updatedAt":25,"readmeContent":26,"aiSummary":27,"trendingCount":15,"starSnapshotCount":15,"syncStatus":13,"lastSyncTime":28,"discoverSource":29},116639,"CampusCrew","edehvictor\u002FCampusCrew","edehvictor","Campuscrew helps people book local services on their own or with neighbours. Book One starts with posted requests and applications.","https:\u002F\u002Fcampus-crew-henna.vercel.app",null,"TypeScript",105,2,64,0,1,40,16,64.43,false,"main",true,[],"2026-11-23 09:20:17","2026-11-22 18:33:28","# CampusCrew\n\nBook local services on your own or with neighbours. Built on Stellar.\n\n## Run locally\n\nOpen this existing CampusCrew folder in VS Code. Use Node.js 24 and run:\n\n```powershell\nnpm.cmd ci\nnpm.cmd run dev\n```\n\nOpen the address printed in the terminal, usually http:\u002F\u002Flocalhost:3000. Keep one dev server running. Next.js refreshes when you save. Press Ctrl+C to stop the server. On macOS or Linux, use `npm` in place of `npm.cmd`.\n\n## Configure Stellar onboarding\n\n1. Use your existing development Supabase project, or create a development project for the pilot.\n2. In Supabase SQL Editor, run `supabase\u002Fmigrations\u002F20261119000100_stellar_onboarding.sql` once. It creates the Stellar profiles, tasks, applications, booking records, login challenges, and sessions.\n3. Put `NEXT_PUBLIC_SUPABASE_URL` and `SUPABASE_SERVICE_ROLE_KEY` in `.env.local`, following `.env.example`. Keep the service-role key private. Existing values can be reused. Reown and the Supabase Ethereum wallet provider are no longer needed for this onboarding flow.\n4. Restart Next.js after changing environment variables. Refresh the page and choose **Connect wallet**.\n5. Connect Freighter \u002F Varial or xBull. Sign the CampusCrew login message and complete your profile. To apply for work, include the service category and area in your profile.\n\nThe app uses Stellar Testnet. A browser wallet connection is followed by a server-verified SEP-53 signed challenge. Challenges expire after five minutes, are bound to the browser and origin, and can create a session only once. Login cookies are HTTP-only and sessions can be revoked on sign-out. Wallet ownership is separate from provider skill or campus identity checks.\n\nStellar sign-in uses its own session cookie. Earlier Ethereum\u002FSupabase browser sessions do not authenticate the Stellar API. The original pilot migration and its data are retained. Stellar records have their own tables and explicit Testnet\u002FUSDC labels.\n\n## Booking stage\n\nUsers can sign in, save profiles, post tasks with test USDC budgets, apply, compare applications, and select a provider. Individual bookings now have wallet-signed escrow creation, provider acceptance, funding, completion submission, approval\u002Fpayout, cancellation, disputes, and refunds. Pending submissions are tracked by their prepared transaction hash and recovered with **Refresh payment**. A booking advances only after a confirmed RPC result and a matching on-chain booking record.\n\nThe campus selector keeps UNN, Nsukka active. Choosing **Other campuses** displays a coming-soon notice and keeps the UNN task list selected. Multi-campus data and onboarding are not enabled yet.\n\nOpen your profile to see your wallet's test USDC and XLM balances, refresh them, get test XLM, add the USDC trustline, or open the test USDC faucet. Balances are read from Stellar Testnet for the signed-in wallet. Only USDC issued by Circle's Testnet issuer is counted. A failed lookup displays an error; an unactivated account and an account without a USDC trustline are identified separately. Balances and wallet setup controls stay in the profile modal.\n\nThe contract in `contracts\u002Fescrow` passed formatting, 14 Rust tests, Clippy, and the release WebAssembly build in [GitHub run 44843634439](https:\u002F\u002Fgithub.com\u002Fedehvictor\u002FCampusCrew\u002Factions\u002Fruns\u002F44843634439). Windows still blocks local dependency build scripts. The verified artifact was deployed to [Stellar Testnet](https:\u002F\u002Fstellar.expert\u002Fexplorer\u002Ftestnet\u002Fcontract\u002FCCS3UK7HCGK5AQIPCJRVNMCR3HWXPD7ZCL7XMWRHGFTG46MTCBAGGZ6S); public configuration and receipts are in `deployments\u002Fstellar-testnet.json`.\n\n## Enable Testnet booking payments\n\n1. Apply `supabase\u002Fmigrations\u002F20261121000100_stellar_escrow.sql` once, after the onboarding migration. It stores immutable booking terms, prepared transaction approvals, confirmed receipts, and monotonic chain snapshots. Both migrations have been applied to the current development project.\n2. To reuse the published Testnet deployment, use the contract, WASM hash, and resolver from `deployments\u002Fstellar-testnet.json` in `.env.local`, following `.env.example`.\n3. Run `npm.cmd run stellar:enable`. It checks the deployed code and payment tables before enabling the local payment controls. Restart Next.js if needed. The current local pilot is enabled.\n4. To deploy a new reviewed version, download its passing CI artifact into `target\u002Fverified\u002Fcampuscrew_escrow.wasm`, then run `npm.cmd run stellar:deploy`. Deployment never enables payments automatically. Testnet deployer\u002Fresolver secrets stay in the ignored `.env.stellar-testnet.local`; the Next.js app does not need those secrets.\n\nThe first live technical check created, accepted, and cancelled an unfunded booking on Testnet. Its receipts are in `tests\u002Freceipts\u002Fstellar-testnet-smoke.json`. It transferred **zero USDC** and does not count as a completed service booking. The first browser-driven USDC funding\u002Fpayout remains to be confirmed. Book Together is still a later milestone.\n\n### Two-wallet payment test\n\n1. In separate browser profiles, connect the task owner and provider to Stellar Testnet. Open each CampusCrew profile, get test XLM, and add test USDC to the wallet. The task owner obtains at least 1 test USDC from the Circle faucet.\n2. Post a clearly marked test task and have the provider quote **1 USDC**. Select that provider.\n3. As task owner, choose **Create Testnet escrow** and approve the wallet transaction. Use **Refresh payment** after confirmation.\n4. As provider, refresh and choose **Accept booking terms**. Then the task owner refreshes and chooses **Fund with test USDC**.\n5. As provider, refresh, choose **Submit completion**, write a note, and sign. As task owner, refresh and choose **Approve and release test USDC**.\n6. Confirm **Paid**, the funding\u002Fsettlement explorer receipts, and the provider's updated USDC balance. Refreshing must preserve state. If a transaction is pending or a response is lost, refresh payment before retrying.\n\nBefore funding, either party can cancel. After funding, disputes stop payout and require the independent resolver. For a pilot dispute, the local operator can run `npm.cmd run stellar:resolve -- TASK_UUID PROVIDER_USDC_AMOUNT` using the configured Testnet resolver key. An award of `0` makes the full deposit refundable; the contributor then uses **Refresh payment** and **Reclaim contribution**. This operator decision has its own saved receipt; it is not an automatic dispute judgment. Work and funding deadlines, the two-day review period, and resolver authority appear before funding.\n\n## Test\n\n```powershell\nnpm.cmd run lint\nnpm.cmd test\nnpm.cmd run build\n```\n\nFixtures live in `tests\u002Ffixtures`. Call `makeTaskFixtures()` in a test for independent sample data. The app loads real tasks from Supabase.\n\n`npm.cmd run stellar:smoke` is an explicit technical Testnet create\u002Faccept\u002Fcancel check using fresh wallets and test XLM. It does not create Supabase tasks or transfer USDC, and it never runs during `npm test`.\n\nRun Rust checks from this same project root:\n\n```bash\ncargo fmt --check\ncargo test --locked\ncargo clippy --locked --all-targets -- -D warnings\ncargo build --locked --target wasm32v1-none --release\n```\n\nSee ROADMAP.md for the Stellar migration and buildathon delivery targets, DESIGN.md for layout and brand conventions, and AGENTS.md for repository guidance.\n\nBased on the [Chucks1093 Next.js server template](https:\u002F\u002Fgithub.com\u002FChucks1093\u002Ftemplates\u002Ftree\u002Fmain\u002Fnextjs-server-template).\n","CampusCrew 是一个基于 Stellar 区块链的校园本地服务协作预订平台，支持学生或邻里间发起服务需求、提交申请、完成带链上资金托管（USDC）的端到端服务履约。核心功能包括 Stellar 钱包登录（SEP-53 挑战验证）、多角色资料管理、任务发布与申请、链上 escrow 创建与状态同步、测试网 USDC 结算及争议处理。技术上采用 Next.js + TypeScript，后端依赖 Supabase，所有交易与会话均锚定 Stellar Testnet 并具备防重放、绑定 Origin 和 HTTP-only 安全机制。适用于高校场景下的轻量级本地服务协作，如跑腿、维修、辅导等需信任保障与小额支付的闭环需求。","2026-11-24 04:54:08","CREATED_QUERY"]