Giter Club home page Giter Club logo

aleo_roulette's Introduction

Aleo Roulette

Roulette web app with ZKP.

Disclaimer

This 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.

The 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.

Up & Running

To use the project you need to have nix installed.

To enter the nix-shell, type:

nix-shell

If it's the first time using this app run:

make init

To build the project:

make build

To run the API:

make run_api

To run the Frontend:

make run_front

if you need to update the aleo to the latest code available on the main branch of its repo:

make update_aleo

aleo_roulette's People

Contributors

mationorato avatar maurotoscano avatar angiedutra avatar ncontinanza avatar collinc97 avatar unbalancedparentheses avatar mlsmith avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.