Any ideas how to model habits with DAML?

Check out here the latest blog post from @SamirTalwar on Decentralized Honesty – Habit Tracking with DAML.

Quoting @SamirTalwar:

The concept of trust isn’t one we think about with simple applications such as this one, but it’s there nonetheless. In a conventional web app, the job of accepting or rejecting my recordings would fall to a centralized server (or cluster of servers, running identical code), which would have similar logic as above. However, there are plenty of use cases for blockchain or distributed ledger technology, where relying on a central authority is dangerous.

DAML offers us a set of tools to solve problems like this explicitly and conveniently. While there would be nothing wrong with using a single “operator” party for all users of my habit-tracking application, I know (and my users know) that we have the option to switch to a distributed model in the future.

https://daml.com/daml-driven/decentralized-honesty-habit-tracking-with-daml/

5 Likes

Very good post. Thanks @SamirTalwar for writing it.

5 Likes

Thanks for sharing this, @andreolf!

If anyone has any questions about the post, or some suggestions for improvements, I’m all ears. Please feel free to comment here.

1 Like