{"id":30686572,"url":"https://github.com/roswelly/dice-roller-smart-contract","last_synced_at":"2025-10-12T21:58:12.765Z","repository":{"id":286390239,"uuid":"961262160","full_name":"roswelly/Dice-Roller-Smart-Contract","owner":"roswelly","description":"** 🎲 A simple and fun on-chain dice rolling smart contract built on Solana using the Anchor framework. Perfect for blockchain game development, DApps, and learning Solana smart contracts in Rust.","archived":false,"fork":false,"pushed_at":"2025-04-06T06:11:46.000Z","size":123,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-12T23:40:14.804Z","etag":null,"topics":["anchor","dice-game","gambling","lottery","randomness","smart-contract"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/roswelly.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":"2025-04-06T05:52:35.000Z","updated_at":"2025-04-06T06:14:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"0d3895a5-a856-4f27-8e1b-190a0207170e","html_url":"https://github.com/roswelly/Dice-Roller-Smart-Contract","commit_stats":null,"previous_names":["love-luca/dice-roller-smart-contract","defaimaxi/dice-roller-smart-contract","0xzepdev/dice-roller-smart-contract","caterpillardev/dice-roller-smart-contract","roswelly/dice-roller-smart-contract"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/roswelly/Dice-Roller-Smart-Contract","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roswelly%2FDice-Roller-Smart-Contract","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roswelly%2FDice-Roller-Smart-Contract/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roswelly%2FDice-Roller-Smart-Contract/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roswelly%2FDice-Roller-Smart-Contract/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roswelly","download_url":"https://codeload.github.com/roswelly/Dice-Roller-Smart-Contract/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roswelly%2FDice-Roller-Smart-Contract/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273203283,"owners_count":25063279,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-01T02:00:09.058Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["anchor","dice-game","gambling","lottery","randomness","smart-contract"],"created_at":"2025-09-01T23:05:50.839Z","updated_at":"2025-10-12T21:58:07.725Z","avatar_url":"https://github.com/roswelly.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🎲 Solana Dice Roll Smart Contract (Anchor Framework)\n\nA simple, fun, and fully on-chain **Dice Rolling Game built on Solana** using the **Anchor framework**. This smart contract allows users to roll a dice and win rewards based on random outcomes — all deployed on the fast and low-cost Solana blockchain.\n\n---\n\n## 🚀 Features\n\n- **Fair Dice Roll Logic** using pseudo-randomness\n- **Solana Native Token Integration** (SOL / SPL)\n- Built with the **Anchor Framework**\n- Secure on-chain logic for provable outcomes\n- Ready for frontend integration (React / Next.js)\n- Includes unit tests and localnet setup\n\n---\n\n## Tech Stack\n\n- **Solana Blockchain**\n- **Rust / Anchor Framework**\n- **Solana CLI \u0026 Anchor CLI**\n- **Mocha for Testing**\n- **TypeScript (for tests)**\n\n---\n\n## Installation\n\n```bash\ngit clone https://github.com/love-luca/dice-roller-smart-contract.git\ncd solana-dice-roll\nanchor build\nanchor test\n\n\n## How It Works\nPlayers call the roll_dice function.\n\nThe contract generates a random number between 1 and 6.\n\nRewards are distributed if the outcome matches certain conditions (e.g., roll a 6).\n\n## Project Structure\n\n├── programs/\n│   └── dice_roll/\n│       └── src/lib.rs         # Main Solana smart contract\n├── tests/\n│   └── dice-roll.ts           # Anchor tests\n├── migrations/\n├── Anchor.toml\n├── Cargo.toml\n└── README.md\n\n\n## Contact\n\n-Twitter [@defai_maxi](https://x.com/defai_maxi)\n-Telegram [@rhettjel](https://t.me/rhettjel)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froswelly%2Fdice-roller-smart-contract","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froswelly%2Fdice-roller-smart-contract","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froswelly%2Fdice-roller-smart-contract/lists"}