Skip to content
CCPEDIAby Unity Nodes
Discussions/Outreach/Problem: It's currently impossible to owe people beers. Solution: O(Beer)Forum ↗

Problem: It's currently impossible to owe people beers. Solution: O(Beer)

Outreach3 posts478 viewsLast activity Apr 2020
AN
anthonyOP
Apr 2020

There’s literally no way to owe anyone a beer ever, to solve this I’ve written a small piece of software so you can get a digital IOU that you owe (or are owed) a beer. (/s)

But seriously, this is an example application for how DAML works and all the nice features it gives you for free. The entire backend of this application is 32 lines of code and it enforces 2 contracts between two parties which can collectively exercise 4 different actions.

Code: https://github.com/anthonylusardi-da/o_beer
Live site: https://beer.woah.xyz

NE
nemanja
Apr 2020

Really cool app @anthony :slight_smile: Any plans for new features?

AN
anthony
Apr 2020

Not really a new feature but it currently stores data in memory and I’d like to change it to default to SQL and to also have instructions for other ledgers (which would all be rather similar)

← Back to Discussions