It’s been a while since I’ve become thrilled with the whole smart contracts idea, so I’ve looked around and I was struck by how good the Algorand smart contracts ecosystem is. So, I tried to write my first DApp on the Algorand blockchain.
Algorand Bet is a dice betting game, like many others that can be found online. Although, unlike most of them, the whole betting system is managed by a smart contract, so it is completely trustless. The source code of the smart contract is open source, and available on the website.
This is the website to play on the mainnet: https://algorandbet.tk/
And this is to play on the testnet: https://test.algorandbet.tk/
This is to me more of an exercise, since is also the first time that I’m developing a front-end, so feedback is very welcome.
Bonus note: the whole DApp is 100% written in Rust: the back-end uses Rocket and the front-end uses yew. The interaction with the Algorand blockchain is done using algonaut, the Rust SDK for Algorand, so big thanks go to the authors of this library.