Besides enjoying in the holiday cheer I’ve been spending most of my free time over the past week reading through all of the source code for Plutus and getting the hang of how the Plutus Platform is suppose to work.
Given that there’s only a handful of example SCs, and only 2 that are reasonably simple enough to skim over without really knowing what’s going on, I’ve decided to start releasing some more basic contracts.
This first one is an implementation of a simple lottery game. It’s not too bad to follow along with if you’re use to haskell, but just be a bit wary when trying to edit around in the ValidatorScript/smart contract itself. Plutus Playground has some bugs, one of which being it won’t display many compiler error messages (seems to have to do with the GHC plugin for converting to Plutus Core having broken error messages on PP) so unless you clone the repo and compile the contract locally, you’ll be shooting in the dark. Even if you’re not too technical you can still run this contract on Plutus Playground and play around with the UI.
Once IOHK starts to finalise the Prelude, fix some bugs, and just in general patch a lot of the holes in the IDE and in Plutus itself, I intend to begin writing some tutorials for the community. Have fun hacking around, and hope the holidays have been treating everyone well