A simple Zero Knowledge Blackjack app built on top of Aleo using SnarkVM.
- Clone & cd into the repo
git clone https://github.com/ShubhamPalriwala/blackzack.git
cd blackzack
- Give permissions to the script
chmod +x ./blackzk.sh
- Run the script
./blackzk.sh
snarkvm build
snarkvm run blackzk <aleo-address> <user-score>u8 <bet-amount>u8 <dealer-score>u8
Example: snarkvm execute blackzk aleo1vwcvaf83rzsv29s02zk8zgp4k4x8uxkqd0rlqpl9qvynyzq3d58qysas9a 20u8 100u8 10u8