{"id":24072519,"url":"https://github.com/jongan69/solanademomobileapp","last_synced_at":"2026-05-12T21:03:54.356Z","repository":{"id":270056632,"uuid":"909214559","full_name":"jongan69/SolanaDemoMobileApp","owner":"jongan69","description":"This is a barebones demo mobile app built using Phantom deeplinks along with in app wallet generation for user ease of use, aiming to be a scaffold for a web3 fitness app (Lockfit v2)","archived":false,"fork":false,"pushed_at":"2025-05-10T21:23:57.000Z","size":1880,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-10T22:25:36.177Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jongan69.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-12-28T03:35:58.000Z","updated_at":"2025-05-10T21:22:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"95462359-c890-40fe-af66-42abc5021500","html_url":"https://github.com/jongan69/SolanaDemoMobileApp","commit_stats":null,"previous_names":["jongan69/solanademomobileapp"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/jongan69/SolanaDemoMobileApp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jongan69%2FSolanaDemoMobileApp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jongan69%2FSolanaDemoMobileApp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jongan69%2FSolanaDemoMobileApp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jongan69%2FSolanaDemoMobileApp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jongan69","download_url":"https://codeload.github.com/jongan69/SolanaDemoMobileApp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jongan69%2FSolanaDemoMobileApp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32956837,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-12T09:19:52.626Z","status":"ssl_error","status_checked_at":"2026-05-12T09:17:33.438Z","response_time":102,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-09T17:17:53.599Z","updated_at":"2026-05-12T21:03:54.350Z","avatar_url":"https://github.com/jongan69.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LockIn - Fitness Staking App\n\nA mobile fitness application that combines workout tracking with Solana blockchain staking, allowing users to earn $LOCKIN tokens by participating in fitness competitions and challenges.\n\n## 💪 App Concept\n\nLockIn revolutionizes fitness motivation by introducing a \"stake-to-compete\" model where users can:\n- Stake $LOCKIN tokens to join fitness competitions\n- Earn rewards by completing workout challenges\n- Compete in community fitness leagues\n- Track and verify workouts using mobile sensors\n- Join team-based fitness challenges\n\n## 🚀 Technology Stack\n\n- [Expo Router](https://docs.expo.dev/router/introduction/) - For navigation\n- [Nativewind](https://www.nativewind.dev/v4/overview/) - For styling\n- [Solana Web3.js](https://solana-labs.github.io/solana-web3.js/) - For blockchain integration\n- React Native\n- TypeScript\n- Device sensors for workout verification\n- Push notifications for challenge updates\n\n## 🛠️ Setup \u0026 Installation\n\n1. Clone the repository:\n```sh\ngit clone https://github.com/jongan69/SolanaDemoMobileApp.git\n```\n\n2. Install dependencies:\n```sh\nyarn install\n```\n\n3. Start the development server:\n```sh\nnpx expo start\n```\n\n## 🗺️ Feature Roadmap\n\n### Sprint 1 (Weeks 1-2): Foundation ✅\n- [X] Basic app architecture setup\n  - Set up Expo Router with TypeScript\n  - Configure NativeWind for styling\n  - Implement Redux store\n  - Set up basic folder structure\n  - Configure environment variables\n- [X] Wallet integration\n  - [X] Wallet creation\n    - Implement seed phrase generation\n    - Add wallet encryption\n    - Create wallet backup system\n  - [X] Import existing wallet\n    - Seed phrase validation\n    - Private key import\n    - Paper wallet import support\n  - [X] Secure storage of keys\n    - Implement encrypted storage\n    - Add biometric protection\n    - Set up secure key management\n- [X] Basic navigation structure\n  - Tab navigation setup\n  - Stack navigation implementation\n  - Deep linking configuration\n- [X] UI/UX design system implementation\n  - Color scheme definition\n  - Typography system\n  - Component library setup\n  - Dark/Light mode support\n\n### Sprint 2 (Weeks 3-4): Core Functionality\n- [X] Solana network integration\n  - [X] Connect to devnet/testnet\n    - Network switching capability\n    - RPC endpoint configuration\n    - Connection state management\n  - [X] Basic transaction handling\n    - Transaction creation\n    - Fee calculation\n    - Transaction signing\n    - Error handling\n  - [ ] Balance checking\n    - Real-time balance updates\n    - Token balance tracking\n    - Transaction history\n- [ ] Fitness tracking fundamentals\n  - [ ] Basic workout logging\n    - Exercise type selection\n    - Rep/Set tracking\n    - Duration tracking\n    - Rest period timing\n  - [ ] Activity verification system\n    - Motion detection\n    - GPS tracking\n    - Heart rate monitoring (if available)\n    - Activity pattern recognition\n  - [ ] Fitness profile creation\n    - User stats tracking\n    - Fitness goals setting\n    - Progress photos\n    - Measurement logging\n- [ ] Basic error handling\n  - Network error management\n  - Transaction failure handling\n  - Sensor data validation\n  - User feedback system\n\n### Sprint 3 (Weeks 5-6): Staking \u0026 Competitions\n- [ ] $LOCKIN Token Implementation\n  - [ ] Token distribution system\n    - Initial token distribution\n    - Reward calculation algorithm\n    - Token vesting schedules\n    - Airdrop mechanism\n  - [ ] Staking mechanism\n    - Stake pool creation\n    - Stake/Unstake functionality\n    - Reward distribution logic\n    - Slashing conditions\n  - [ ] Reward distribution\n    - Performance-based rewards\n    - Team rewards\n    - Challenge completion bonuses\n    - Referral rewards\n- [ ] Competition Framework\n  - [ ] Challenge creation system\n    - Challenge templates\n    - Custom challenge creation\n    - Rule set definition\n    - Prize pool management\n  - [ ] Leaderboard implementation\n    - Real-time rankings\n    - Category-based leaderboards\n    - Historical performance tracking\n    - Achievement badges\n  - [ ] Competition rules engine\n    - Verification rules\n    - Scoring system\n    - Anti-cheat measures\n    - Dispute resolution\n- [ ] Social Features\n  - [ ] User profiles\n    - Achievement showcase\n    - Statistics display\n    - Activity feed\n    - Reputation system\n  - [ ] Team formation\n    - Team creation/joining\n    - Team challenges\n    - Team chat\n    - Team statistics\n  - [ ] Social feed\n    - Activity sharing\n    - Challenge updates\n    - Achievement posts\n    - Community interaction\n\n### Sprint 4 (Weeks 7-8): Enhanced Features\n- [ ] Advanced Fitness Tracking\n  - [ ] Workout analytics\n    - Performance trends\n    - Personal records\n    - Workout heatmaps\n    - Progress visualization\n  - [ ] Progress visualization\n    - Charts and graphs\n    - Body metrics tracking\n    - Goal progress tracking\n    - Comparison tools\n  - [ ] Achievement system\n    - Milestone tracking\n    - Badge system\n    - Level progression\n    - Rewards integration\n- [ ] Competition Types\n  - [ ] Individual challenges\n    - Daily challenges\n    - Weekly goals\n    - Monthly competitions\n    - Special events\n  - [ ] Team competitions\n    - Team vs team\n    - Guild systems\n    - Alliance mechanics\n    - Tournament structure\n  - [ ] League system\n    - Seasonal rankings\n    - Division structure\n    - Promotion/Relegation\n    - Prize pools\n- [ ] Sensor Integration\n  - [ ] Step counting\n    - Pedometer implementation\n    - Distance calculation\n    - Calorie estimation\n    - Activity classification\n  - [ ] Activity verification\n    - Movement pattern recognition\n    - Intensity validation\n    - Rest detection\n    - Cheating prevention\n  - [ ] Location tracking\n    - Route recording\n    - Distance verification\n    - Location-based challenges\n    - Privacy controls\n\n### Sprint 5 (Weeks 9-10): Polish \u0026 Launch\n- [ ] Community Features\n  - [ ] Social sharing\n    - Achievement sharing\n    - Challenge invites\n    - Progress updates\n    - Social media integration\n  - [ ] Challenge creation\n    - Custom challenge builder\n    - Template system\n    - Reward configuration\n    - Verification rules\n  - [ ] Team management\n    - Team analytics\n    - Role management\n    - Team events\n    - Communication tools\n- [ ] UI/UX refinements\n  - Animation polish\n  - Performance optimization\n  - Accessibility improvements\n  - User feedback implementation\n- [ ] Performance optimization\n  - Code optimization\n  - Cache management\n  - Network optimization\n  - Battery usage optimization\n- [ ] App store preparation\n  - Store listings\n  - Marketing materials\n  - Documentation\n  - Support system setup\n\n## 🏋️ Core Features\n\n### Fitness Tracking\n- Workout logging and verification\n- Progress tracking\n- Personal records\n- Activity statistics\n\n### Staking Mechanism\n- Stake $LOCKIN to join competitions\n- Earn rewards for completing challenges\n- Team staking pools\n- Anti-cheat mechanisms\n\n### Competition System\n- Daily/Weekly challenges\n- Season-based leagues\n- Team competitions\n- Global leaderboards\n\n## 🔒 Security Considerations\n\n- Secure key storage implementation\n- Biometric authentication\n- Activity verification system\n- Anti-cheating measures\n- Data encryption\n\n## 🧪 Testing\n\n- Unit tests for core functionality\n- Integration tests\n- E2E testing\n- Security audit\n- Fitness tracking accuracy testing\n\n## 📱 Supported Platforms\n\n- iOS\n- Android\n\n## 🤝 Contributing\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n## 📄 License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## 👥 Team\n\n- Project Manager: [Name]\n- Lead Developer: [Name]\n- UI/UX Designer: [Name]\n- Blockchain Developer: [Name]\n- Fitness Expert: [Name]\n\n## 📞 Contact\n\nFor questions and support, please open an issue in the GitHub repository.\n\n## 🎯 Minimum Viable Product (MVP)\n\n### Current Progress: ~35% of MVP Complete\n\n#### MVP Core Features\n\n1. Basic Wallet Integration ✅\n   - Wallet creation and import\n   - Basic transaction handling\n   - Secure key storage\n   - $LOCKIN token integration\n   \n2. Essential Fitness Tracking 🟡\n   - Basic workout logging\n   - Simple activity verification\n   - Progress tracking\n   - Required APIs:\n     - Device motion/step counter\n     - Basic location services\n   \n3. Simplified Staking System 🔴\n   - $LOCKIN token integration\n     - Token balance display\n     - Transaction history\n     - Price feed integration\n   - Staking pool integration\n     - Connect to existing staking contracts\n     - Stake/Unstake interface\n     - Reward tracking\n   \n4. Basic Competition System 🔴\n   - Individual challenges only\n   - Simple leaderboard\n   - Basic verification system\n   - Required Features:\n     - Challenge creation\n     - Score tracking\n     - Basic anti-cheat measures\n\n5. Essential User Features 🟡\n   - User profiles\n   - Basic statistics\n   - Simple activity feed\n   - Required APIs:\n     - User authentication\n     - Profile management\n     - Activity logging\n\n### MVP Status Breakdown\n\n✅ Completed:\n- Basic app architecture\n- Wallet integration\n- Navigation structure\n- UI foundation\n- Solana network connection\n- Basic transaction handling\n\n🟡 In Progress:\n- Balance checking\n- Basic fitness tracking\n- User profile system\n- Activity logging foundation\n- $LOCKIN token integration\n\n🔴 Not Started:\n- Staking pool integration\n- Competition system\n- Verification system\n- Reward tracking\n\n### MVP Timeline Estimate\n\n1. Phase 1 (2 weeks) - Complete Current Features\n   - Finish balance checking\n   - Complete $LOCKIN token integration\n   - Implement basic fitness tracking\n   - Complete user profile system\n\n2. Phase 2 (2 weeks) - Staking Integration\n   - Connect to existing staking pools\n   - Implement stake/unstake UI\n   - Set up reward tracking\n   - Build transaction history\n\n3. Phase 3 (3 weeks) - Competition System\n   - Build challenge system\n   - Implement leaderboard\n   - Create verification system\n\n4. Phase 4 (2 weeks) - Testing \u0026 Polish\n   - Bug fixes\n   - Performance optimization\n   - Security audit\n   - App store preparation\n\nEstimated MVP Completion: 9 weeks\n\n### MVP Technical Requirements\n\n1. Frontend\n   - React Native with Expo\n   - NativeWind for styling\n   - Redux for state management\n   - Basic sensor integration\n\n2. Blockchain Integration\n   - Solana Web3.js integration\n   - $LOCKIN token contract interaction\n   - Existing staking pool integration\n   - Transaction handling\n\n3. Data Storage\n   - Secure key storage\n   - User profile data\n   - Activity history\n   - Challenge records\n\n4. Security\n   - Basic encryption\n   - Activity verification\n   - Transaction signing\n   - Secure key management\n\n### Smart Contract Integration Requirements\n\n1. $LOCKIN Token\n   - Token address: [Insert token address]\n   - Required methods:\n     - balanceOf\n     - transfer\n     - approve\n     - allowance\n\n2. Staking Pool\n   - Pool address: [Insert staking pool address]\n   - Required methods:\n     - stake\n     - unstake\n     - getRewards\n     - getStakedBalance\n\n### MVP Limitations \u0026 Future Improvements\n\nThe MVP will not include:\n- Custom staking pools\n- Team competitions\n- Advanced sensor integration\n- Complex challenge types\n- Social features\n- NFT integration\n- Advanced analytics\n- Custom challenge creation\n- Guild/Alliance systems\n\nThese features will be prioritized for post-MVP releases based on user feedback and platform adoption.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjongan69%2Fsolanademomobileapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjongan69%2Fsolanademomobileapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjongan69%2Fsolanademomobileapp/lists"}