This is the basic model used by really crypto casinos

Blog