as part of our aeternity Hackathon in Sofia, I decided to work on a implementation of Blockchain in Sophia on aeternity.
This is purely meant as show-case of what is possible to be implemented in sophia smart contracts and in no way to be used seriously.
Check out the Contract at https://github.com/thepiwo/sophia-blockchain/blob/master/contracts/Blockchain.aes. The repository also includes a minimalistic sample UI
My Learnings from this:
- sophia is great to write concise contracts
- algebraic datatypes are amazingly easy to work with
- working with bytes/hashes and crypto primitives in contracts is nice
- writing aepps with the boilerplate is easy https://github.com/kenodressel/aepp-boilerplate
Let me know if you have any questions or feedback about this and happy sophia hacking!