feat: Build Treasury Dashboard#54
Conversation
Delete README copy.md
feat: Build Milestone Progress component with on-chain sync
…scrow feat: add MilestoneEscrow contract for milestone-based scholarship disbursements
docs: add project documentation
…-treasury-and-milestone-escrow feat: add ScholarshipTreasury and MilestoneEscrow contracts for governed scholarship disbursement
…vent/contract data; fix build shims
…hook feat: implement useCourse hook for CourseMilestone integration
feat: implement persistent theme toggle and zero-FOUC architecture
…bar-active-route bakeronchain#46 Add navigation header and sidebar with active route highlighting
# Conflicts: # src/App.tsx # src/components/MilestoneTracker.tsx # src/components/WalletButton.tsx # src/main.tsx
- Add migration 003_course_content_schema.sql defining courses, lessons, milestones, quizzes, and quiz_questions tables with created_at/updated_at timestamps and set_updated_at() trigger function - Add schema_migrations tracking table via migrate.ts runner so each SQL file is applied exactly once (idempotent re-runs) - Add seed.sql with 2 sample courses (intro-to-stellar, soroban-smart-contracts), 3 lessons each, milestones with on-chain IDs and LRN amounts, quizzes with passing scores, and quiz questions with JSONB options and explanations - Add npm run db:migrate (scripts/migrate.ts) and npm run db:seed (scripts/seed.ts) - Expose DATABASE_URL in server/.env.example - All tables use node-postgres (pg) Pool; ON CONFLICT guards make seed idempotent Closes #<issue>
Adds quiz.json for Track 1 covering Soroban/Rust, LRN, finality, SEP-41, and Friendbot. Part of issue bakeronchain#48. Made-with: Cursor
- Add usdc_test_token for local development environment - Add usdc_testnet for staging/testnet environment - Add usdc_mainnet with official Circle USDC contract address - Document mainnet USDC contract: CCW67TSZV3SSS2HXMBQ5JFGCKJNXKZM7UQUWUZPUTHXSTZLEO7SJMI75 Addresses bakeronchain#49
- Add PUBLIC_USDC_CONTRACT_ID environment variable - Document usage for testnet and mainnet USDC contract addresses Addresses bakeronchain#49
- Create bash script to mint test USDC tokens to any address - Support custom amounts (default: 1000 USDC) - Include environment detection (development/staging) - Add colored output and error handling - Make script executable Usage: ./scripts/mint-test-usdc.sh <address> [amount] Addresses bakeronchain#49
- Add getUSDCContractId() to retrieve contract ID from env - Add mintTestUSDC() function for minting test tokens - Add getUSDCBalance() function for balance checking - Include error handling and validation - Add TODO comments for full implementation with contract clients Addresses bakeronchain#49
- Create reusable button component for getting test USDC - Follow existing FundAccountButton pattern - Include loading states and tooltips - Support custom amounts (default: 1000 USDC) - Integrate with notification system - Use @stellar/design-system components Addresses bakeronchain#49
- Add English translations for USDC operations - Add French translations (Obtenir USDC de Test) - Add Swahili translations (Pata USDC ya Majaribio) - Include success/error messages and tooltips Addresses bakeronchain#49
- Document USDC contract addresses (mainnet, testnet, local) - Explain configuration in environments.toml and .env - Provide CLI script usage examples - Document ScholarshipTreasury integration - Include development workflow and deployment steps - Add troubleshooting section and security considerations Addresses bakeronchain#49
Build Donor Dashboard
…ror-boundaries feat: implement global error handling and boundaries
…-build-onboarding-flow A first-time user landing on LearnVault
…content-schema feat: course content relational schema, migration runner, and seed data
…tnet-integration feat: Implement USDC integration on Stellar Testnet
…r-basics-milestone-quiz Add Stellar Basics milestone quiz (5 questions)
feat: Add activity feed component and hook, integrating it into the profile page.
|
@cyphercodes kindly fix pipeline |
|
Fixed the pipeline issues:
The build should now pass. Please re-run the CI checks. |
7480891 to
b60d53b
Compare
|
Updated this PR with a package-lock-only fix for the frontend install failure. Verification on the PR branch (
The lockfile is now in sync with Note: GitHub currently still reports this PR as |
|
Updated this PR to address the frontend pipeline failures I could reproduce on the PR branch. Changes pushed in
Local verification on Node
GitHub currently still reports this PR as |
|
kindly resolve conflicts |
This PR implements the Treasury Dashboard as requested in issue #50.
Features Added:
All components use the existing Stellar Design System for visual consistency.