{"id":23936727,"url":"https://github.com/johnforfar/poseidon-challenge","last_synced_at":"2026-05-17T10:33:40.192Z","repository":{"id":269300886,"uuid":"906980043","full_name":"johnforfar/poseidon-challenge","owner":"johnforfar","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-23T13:46:37.000Z","size":218,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-24T02:51:01.406Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/johnforfar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2024-12-22T13:34:49.000Z","updated_at":"2024-12-23T13:46:40.000Z","dependencies_parsed_at":"2024-12-22T15:29:03.518Z","dependency_job_id":"b065db79-a5ea-4a96-a9f3-8282e4141dc0","html_url":"https://github.com/johnforfar/poseidon-challenge","commit_stats":null,"previous_names":["johnforfar/poseidon-challenge"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/johnforfar/poseidon-challenge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnforfar%2Fposeidon-challenge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnforfar%2Fposeidon-challenge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnforfar%2Fposeidon-challenge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnforfar%2Fposeidon-challenge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnforfar","download_url":"https://codeload.github.com/johnforfar/poseidon-challenge/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnforfar%2Fposeidon-challenge/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33134957,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T09:28:26.183Z","status":"ssl_error","status_checked_at":"2026-05-17T09:27:52.702Z","response_time":107,"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-06T01:16:08.038Z","updated_at":"2026-05-17T10:33:40.175Z","avatar_url":"https://github.com/johnforfar.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Poseidon Challenge\n\nA Web3 game built on Solana using Poseidon and Next.js where players can stake tokens and compete in a skill-based challenge.\n\n## Features\n\n- Skill-based gameplay\n- Token staking mechanism\n- On-chain statistics\n- Solana wallet integration\n- Performance tracking\n\n## Prerequisites\n\nBefore you begin, ensure you have installed:\n- [Node.js](https://nodejs.org/) (v18 or higher)\n- [Bun](https://bun.sh/) (v1.0 or higher)\n- [Rust](https://www.rust-lang.org/tools/install)\n- [Solana CLI Tools](https://docs.solana.com/cli/install-solana-cli-tools)\n- [Anchor](https://www.anchor-lang.com/)\n\n## Installation\n\n1. Clone the repository:\n\ngit clone https://github.com/yourusername/poseidon-challenge.git\ncd poseidon-challenge\n\n2. Install dependencies:\n\nbun install\n\n3. Install and build Poseidon:\n\ngit clone https://github.com/Turbin3/poseidon\ncd poseidon\n\n4. Ensure your Rust toolchain is up-to-date:\n\nrustup update stable\n\n5. Update dependencies if there are version conflicts:\n\ncargo update\n\n6. Build Poseidon in release mode:\n\ncargo build --release\n\n**Note**: You might need to move the compiled binary or adjust your PATH:\n\nmv target/release/poseidon ../bin/\n\nor\n\nexport PATH=$PATH:/path/to/poseidon/target/release\n\n7. Set up your environment variables:\n\ncp .env.example .env.local\n# Edit .env.local with your values\n\n## Development\n\nRun the development server:\n\nbun dev\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\n## Project Structure\n\nposeidon-challenge/\n├── programs/              # Solana program files\n│   └── src/\n│       └── gameProgram.ts # Main game program\n├── src/\n│   ├── app/              # Next.js app router files\n│   ├── components/       # React components\n│   └── lib/             # Utility functions \u0026 constants\n├── public/              # Static assets\n├── tests/              # Program \u0026 UI tests\n├── poseidon/            # Cloned Poseidon repository\n└── bin/                # Compiled binaries\n\n## Game Rules\n\n1. Connect your Solana wallet\n2. Stake tokens to start a game\n3. Play the dodge game:\n   - Avoid incoming attacks\n   - Score points by successful dodges\n   - Survive for 60 seconds\n4. Win conditions:\n   - Maintain health above 0\n   - Score at least 100 points\n   - Complete the time duration\n\n## Deployment\n\nThis project is configured for GitHub Pages deployment. Push to main branch to trigger automatic deployment.\n\n### Manual deployment:\n\nbun run build\n\n## Technologies Used\n\n- [Next.js](https://nextjs.org/) - React Framework\n- [Poseidon](https://github.com/Turbin3/poseidon) - Solana TypeScript Transpiler\n- [Solana Web3.js](https://solana-labs.github.io/solana-web3.js/) - Solana JavaScript API\n- [TailwindCSS](https://tailwindcss.com/) - Styling\n- [Recharts](https://recharts.org/) - Statistics Visualization\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## Acknowledgments\n\n- [Turbin3](https://github.com/Turbin3) for Poseidon\n- Solana Foundation\n- The Web3 Gaming Community\n\n## Dependency Management\n\n### Rust Toolchain\nKeep your Rust toolchain updated:\n\nrustup update stable\n\n### Project Dependencies\nIf you encounter dependency issues:\n\ncargo update\n\n### Poseidon Setup\nAfter building Poseidon:\n1. Move the binary: mv target/release/poseidon ../bin/\n2. Or update PATH: export PATH=$PATH:/path/to/poseidon/target/release\n\n## Troubleshooting\n\n### Common Issues\n- **Dependency Conflicts**: Update Rust toolchain and run cargo update\n- **Build Failures**: Check Poseidon repository for updates and verify environment setup","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnforfar%2Fposeidon-challenge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnforfar%2Fposeidon-challenge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnforfar%2Fposeidon-challenge/lists"}