Answering the call: Distributed Twitter made easy!
Nothing is loaded from YouTube until you press play, and then without tracking cookies.
About this video
📖Get started with Daml: bit.ly/tryDaml 📚Learn more about Daml Smart Contracts: bit.ly/learn_daml 📮Check out our blogs: bit.ly/daml-blog-engineering 📋Become a Daml certified expert: bit.ly/daml-certification
Having a centralised solution for a global product is challenging in today’s ever changing world. How do you ensure that your data meets the standards set by the multiple jurisdictions in which you operate in? How do you ensure that you are not applying the policies of one jurisdiction to the data of another jurisdiction? What do you do when you have conflicting policies to enforce?
From a user’s perspective, once you post a message on Twitter (or other Social Media platform), you lose all control over that content - you don’t know how your content is monetised, to whom your content is sold to, for what purpose was your data sold, etc.
One potential solution towards decentralisation as pointed out by Jack is Blockchain. But what if we went one step further and introduced Smart Contracts on a Distributed Ledger?
This is where we need Daml
🔎 Please create a free account on project: DABL and deploy this smart contracts based chat application on your ledger. You get your own URL to share with everyone, and now have your own collaboration system for your projects!
📖 Here are two other end-to-end samples here and here that will help you get started when you are ready to host your own business app.
⏩ What better way than to create your roadmaps and important to-dos on DAML smart contracts based, project:DABL hosted, OpenWork Board! Board is a Kanban-style card tracking app.
👏 For any questions or assistance please feel free to write to us. Stay safe❗️
#dlt #smartcontract #blockchain #damlsmartcontract #digitalasset #ledger #technicalskills #DLT #skillset
Transcript
632 wordsCaptions as YouTube publishes them, usually machine-generated, so names such as Daml and Canton can be misheard.
- 0:00
hi my name is brian and today i'm going to show you open work feeds which is a distributed twitter like application so let's get started let's log in as a user i'm going to log in as a new user called daisy i'll give this a display name on an email i provide an avatar and i'll just provide a very quick bio okay so now i've logged in it's dizzy so as you can see we have no posts because we're not following anybody we
- 0:45
have a profile showing some basic information again we're not following anybody we have no followers on the posts but we can go to the user directory and quickly change that so as dizzy i want to follow alice so now alice will receive a request from daisy on this right side i will log in as alice and as we can see alice has some posts from various people and we have a request from daisy to approve so i'm going to approve that as alice
- 1:27
and i will go back to my post and also as alice i want to follow dizzy now when i go back to disney screen we have a request from alice i'm going to approve that request so now when i go to my home page i will see we have a few posts from and checking as alice we can see here that we have this poofy scene earlier so as alice and we can see we have some other users with which daisy doesn't follow so we have charlie and bobby have both applied to this post and alice has also replied to bobby
- 2:11
and here as bobby bobby doesn't follow charlie but follows alice and dusk does it cannot see charlie's reply to alice anders charlie charlie does not follow bob and thusly cannot see that bob has also replied to this post so as alice i am going to go to this this list of posts and i i'm going to reply and now as you can see this post has instantly appeared on alice's screen and also
- 3:03
is at the top of alice's feed so looking a bit further we have an application called the navigator which sits on top of the sandbox which is our ledger in this case and i can log in as daisy and i can see all of the contracts that daisy can view so here we have a user contract we can see the signatory is daisy we have the observers so alice is a friend uh is an observer to this contract and the web admin
- 3:43
this is for the that's what the directory of users and you can see some details that i entered earlier the description the email address so on so forth and the followers so currently only alice is following dizzy by taking a little look further at the code behind us so if we take a look at the user contract which we've just viewed in the navigator we have a username which is a party we
- 4:14
have the display name as text we have a list of followers we have the creator that time we have the avatar text we have the admin which is simply the party which can view we can do this as a only in the directory and then we have um some choices and in the choices we only the username which is also the signatory can execute these choices so for updating the user profile for accepting um accepting a follow request
- 4:50
and for creating a post so that's it if you want some more information feel free to go to tamil.com where you can view the open source code thank you very much