{"id":16153999,"url":"https://github.com/lambdaclass/aleo_roulette","last_synced_at":"2025-04-09T23:34:16.246Z","repository":{"id":44305359,"uuid":"509565072","full_name":"lambdaclass/aleo_roulette","owner":"lambdaclass","description":null,"archived":false,"fork":false,"pushed_at":"2022-10-04T18:52:43.000Z","size":78958,"stargazers_count":7,"open_issues_count":6,"forks_count":7,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-03-24T01:23:53.213Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elixir","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/lambdaclass.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}},"created_at":"2022-07-01T19:15:51.000Z","updated_at":"2024-01-15T16:28:44.000Z","dependencies_parsed_at":"2023-01-19T05:31:00.406Z","dependency_job_id":null,"html_url":"https://github.com/lambdaclass/aleo_roulette","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lambdaclass%2Faleo_roulette","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lambdaclass%2Faleo_roulette/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lambdaclass%2Faleo_roulette/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lambdaclass%2Faleo_roulette/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lambdaclass","download_url":"https://codeload.github.com/lambdaclass/aleo_roulette/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248130173,"owners_count":21052709,"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","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":"2024-10-10T01:14:56.823Z","updated_at":"2025-04-09T23:34:16.209Z","avatar_url":"https://github.com/lambdaclass.png","language":"Elixir","funding_links":[],"categories":["Applications"],"sub_categories":["Gaming"],"readme":"# Aleo Roulette\n\nRoulette web app with ZKP.\n\n## Disclaimer\n\nThis is a toy example, the random number is generated in a deterministic way through a seed. The seed is equal to the roulette spin counter number. \n\nThe random number is generated by applying the Poseidon Hash Function available in Aleo Instructions to the seed and then applying mod(36) to the last 6 bits. This mod operation is performed outside the circuits and then verified within them. In a future version, the mod operation will be calculated by an Aleo Instruction integrally.\n\n## Up \u0026 Running\n\nTo use the project you need to have [nix](https://nix.dev/tutorials/install-nix) installed.\n\nTo enter the nix-shell, type:\n\n`nix-shell`\n\nIf it's the first time using this app run:\n\n`make init`\n\nTo build the project:\n\n`make build`\n\nTo run the API:\n\n`make run_api`\n\nTo run the Frontend:\n\n`make run_front`\n\nif you need to update the aleo to the latest code available on the main branch of its repo:\n\n`make update_aleo`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flambdaclass%2Faleo_roulette","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flambdaclass%2Faleo_roulette","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flambdaclass%2Faleo_roulette/lists"}