 Okay, you're live on YouTube. Okay. So, good afternoon, good morning. How are you all? I hope it's great. Welcome to a Meetup Master of HyperLayer Madrid. Today we have Michael Black, who is going to tell us what HyperLayer are. And well, as Trincy, who is the company where he works as a software engineer, he uses it to protect his individual identity. So, Michael, the third word. And well, I'm going to end it as always. I'm going to end the words in the chat, sorry, the questions in the chat, to make the Q&A round. And well, thank you very much for your time. And above all, Michael. Yes, thank you very much for having me here. First of all, I'm going to share my screen. And excuse me because my Spanish is not the best, but I learned it in Costa Rica. I lived there for two years. And then if you don't understand something, please ask me and I can explain better. Okay, share screen. Can you see my screen? Yes, it looks perfect. Perfect. So let's talk about HyperLayers and how Trincy uses it to protect their identity. So what is HyperLayers? Well, it's a Linux foundation project. HyperLayers is an open source community focused on the development of a set of frameworks, tools and libraries. With the aim of being used in blockchain solutions in the business sector. It also helps in data exchange. That's the most important thing, which we're going to talk more about today. And it has an infrastructure for point-to-point interactions included in blockchain. Okay. So it's identity. An important aspect of HyperLayers is identity. Today we use credentials on paper invited by the trust authority to verify identity. An example that I like to use more is a girl named Alice who wants to take a cup of a Bob's bar. The law requires Alice to be more than 18 years old. With the aim of proving that Alice is actually more than 18 years old, she takes her license to drive which has her birth date on it and a photo of herself. Bob can quickly verify that she is more than 18 years old when she sees her photo and the date of birth. And we also have a lot of trust in that credentials from Alice that she can take at Bob's bar. So there's also a comic that I like that shows the problem that we have on the internet. And this comic says on the internet nobody knows that you're a dog. And it's true, it's very difficult to prove your identity on the internet. Nobody knows who you are and we have a lot of things on the internet to try to prove who we are and things like that. Hyperledger Aries is also a tool to prove your identity and also protect it. But how does Hyperledger Aries do it? Digitally. First of all, we need a book about public accessibility. In our solution, we use blockchain and we also have public and private keys. These keys are to decipher messages and other data and also decipher messages and data. So in this data exchange Alice and Bob meet and create a connection through the generation of new keys between themselves. Alice can decipher the data with her key and send them to Bob. She can only decipher with her key. This creates a secure connection and an implicit trust that the messages Bob receives that are deciphered with that key are made by Alice. Nobody could pretend to be Alice or Bob and nobody could intercept the messages and spy on their conversation. So we have the question how does Alice have more than 18 years? Yes, she can send messages with Bob and Bob can know that she is Alice. But as a proof Alice has more than 18 years she couldn't keep facifying her own digital trust and send it to Bob. Maybe. And assuming that she doesn't forge something as she shows that she has more than 18 years to reveal all the extra information about her that is another problem that we have in paper credentials. If we look back at our example of Alice and Bob, Bob can quickly verify that Alice has more than 18 years to see the photo, the date and everything. However, he can also see all kinds of information about her name, date of birth, weight, height, color of eyes, things like that that we don't usually think about when we deliver our license. It reveals much more than what is necessary. And then how do we keep privacy and credibility in these digital exchanges? Well, Hyperledgerist has a solution that we can see in this drawing. To make exchanges work we need a creditor and also our creditor here. And Bob, our creditor. We also need this thing. I'm sorry that the drawing is in English but this part here is an imutable accounting book where all exchanges can be registered and cannot be altered. So the process to receive a creditor with Alice is the same as today in the government or the DMV and they give you a paper creditor. But in our case it is the same it is only digital and then it writes to the book some data of the exchange with Alice and the government or any DMV and this is important because this allows Bob to read the book and verify that Alice has this creditor and also that this creditor came from this emissary. So in this way in this way Bob can verify that Alice is more than 18 years old and also Alice can hide it. It does not reveal all the data of its creditor Bob. That would be another lesson but there is a way in which Alice can prove that Alice has this creditor without revealing the data of the creditor called a ZKP, Zero Knowledge Proof and it is possible because we have a book public that everyone can read and it is immutable and we have blockchain. So in this way Alice can prove that she is more than 18 years old and not reveal that her name and birth date weight all that and we use it in this way. We have a platform for the emissaries and also for those who want to verify credentials and I'm going to demonstrate a little bit of that. So first there are questions until right now. Well it seems that in the chat no, the only thing to do is hide, hide, hide when you were explaining the drawing that you commented that Alex wanted to hide his data and that it was implemented with Zero Knowledge Proof that the word he didn't know you were hiding and that's it. And then you commented Jimmy you mentioned DID is that the creditor? The DID is an identifier of the creditor. The creditor has a DID also the emissary has a DID and that DID is written in this book so that Bob can see or that this creditor with the DID I came from the emissary with this DID because it was written in the book. So if the DID has to do with the creditor and also with the emissary and let's see a little bit more in the example I'm going to show or hide. Ok, so in the end to understand a little bit the DID is the identifier of a creditor that then serves to consult it and the question is where do you find the creditor? because the question comes because there is a lot of un-mutable records decentralized there and well in Europe we have GDPR the general data protection regulation where the data has the right to forget you have to have the right to suppress etc. so for example if these storage in a blockchain as such it would be against GDPR where do you find the creditor? Yes, yes, yes, the creditor is in like Alice's phone all the data stays there but the exchange is written in the book not the data, so the data of Alice and everything is not written in the book because with that they would not have privacy so the creditor is with Alice and is not in the book is not with the emitter only Alice has the creditor so they stay in their phone in their phone wallet so apart from all the blockchain ecosystem there would be a wallet application don't worry, we are used to working with Spanglish, with terms that we translate directly to understand well the personal information is stored in the wallet and then what is left in the blockchain would be all the part of the exchange whether a creditor is valid or not but without revealing the content of the creditor if the blockchain is only a technology that we use so that the book is public so that everyone can read or that this creditor if it is valid or not but the data stays with the individual I don't know if I understood the question well Yes, in fact, thank you very much José we understand that you have solved the doubt and at the moment there is no more ok, ok, perfect, thank you ok, so to show how works a little better this is the TRIMZIC studio and we are going to create an organization organization we are going to call the government and take a little time we are also going to create another organization by Bob because Bob wants to verify if Alice has more than 18 years ok, so the government Alice goes to the government to receive a creditor a license to conduct then the government creates a creditor we are going to call it a license to conduct and we are going to put a name to see birth we are going to for simplicity and and year I don't have the N because I don't want to put without N with if you want the day, don't worry ok ok ok, that's for the date of birth so that we can try if they have more than 18 years and I'm going to show my phone then this will be Alice the phone is not connecting let's try again there it is ok, here is my phone and we are going to offer this license to Alice day 1 month 1 year 2,000 so that it has more than 18 years ok, there is the creditor and with the phone we can scan this code and here we can see that we have the license with Alice day 1 month 1 year and we are going to accept it and now we can see here we have the creditor in the wallet and now we want to offer to Bob that we do have this creditor first we need the day 1 of the emissor of the government because we don't want a creditor of anyone we want the creditor that Alice received from the government so we are going to verify we are going to create a verification of more than 18 years and we need to put the name of the creditor that we want which I think I think license to drive license to drive and the attributes we only need the for simplicity the year we don't need the name we just want to know if it has more than 18 years and we can click here to see more options we just want the day 1 of the emissor of the government and we also want that the year is less than 2003 to be 18 yes for simplicity obviously there would be more conditions that we need to see but for simplicity we are only going to do this here we are going to create this verification and we are going to ask Bob Bob is going to ask Alice if it has more than 18 years so now we can in the same way scan this code this verification and now we can see if we have a creditor that that that provides that we have more than 18 years so we are going to present this creditor and and and click on the computer let's try to uh oh okay okay say are you here yes I am do you know what error I was getting right there I'm sorry I didn't see it scan it again so when I try to present again the invalid structure maybe something with the age it needs to be maybe a string okay okay I'm sorry I'm sorry I'm sorry we are searching for this one I think I think the predicate on the greater one maybe the one that's functioning not sure okay I have a license at least looks like a bug Mike if you don't don't worry about the effect of the we have we have all suffered if you want if you want to continue with the chat and well we have seen that in this case it's been more than 18 years because it's being verified that the government had issued okay okay if it works right now without the check if it has more than 18 in this verification let's check if it had a license and that worked but we have a problem with the mobile app the application but okay so in this way we can protect the identity of Alice we can make verification of information of a person without revealing too much so that's what we want to do with Trindy protect the identity because right now any website that we visit has to put its name its email its age sometimes and a lot of information and each one is taking this information at each site but it would be better if we have a place that we have to verify those sites in this way the sites and organizations don't need to take the information they just need a verification and we can protect the identity and also provide that we are not people that we are we are who we are and that was all that we want to show the idea is that yes the internet and digitally is very difficult to provide who we are to protect our identity because we share too much information with everyone each one wants our information and we want to protect that with Hyperledger Aries and the technology that Hyperledger has with DIDs with blockchain with applications and is the vision and I don't know if there are more questions I'm sorry for being so short but comment on how ah yes yes so we use Hyperledger Aries like this in the code we use it in fact we use this code the Hyperledger Aries framework Thomas Love who is with us has done a lot in this code it is open code everyone can use it and this is what we use in our code to decipher messages and decipher them and use the keys that Aries asked us and maybe we can see I don't want to open our code but everything we do we use this C-Sharp and it has functions like pack unpack and to decipher the messages and then you too it is free, it is open everything is open code Thomas Love do we have any is there like a quick does this repo show any functions and stuff no, mostly the unit tests are where in the test folder there is demos, scenarios is there one for maybe issuing or verifying yes, it would be in protocols and we could actually finish the test here we have an example which is very similar in what we use for the studio in which we create credentials and everything is here so here we can see that we are creating a schema it is the same here we create a new schema for credentials and it is here a schema and create the definition of the credentials here and there too to offer so it is super simple it is easy to use Thomas Love has made a good example here with this test if you want that it has several people that are similar we make it a little more dynamic so look, Eric Pacheco asks if Trinsic manages the credentials no ok if I understand well he is asking if we have the credentials or if ok so no we don't have any credentials all the data is kept on the phone of the individual if we keep as DIDs as credentials identification so one can use our API to see what is this is still valid or not but we don't have any data of credentials in our database I don't know how to say I understand Jorge I go for the order from older to newer but but I understand that with what you have been telling us with the example that in the end Aries is a library that is used to manage credentials, we understand that it is solved but now we can go further also asks Roe Hernández then what is being kept in the validation action is correct what is kept in blockchain or in the ledger distribution is the validation of the transaction of a credential I think so but I'm going to ask Tomislav to make sure Tomislav the question is so Roger's got a a doubt where the transaction is valid where that is stored is that on the ledger or is that I said I believe it is it's not they can read the ledger to make sure it's not revoked and that it's still valid right it uses revocation registries and the state of that registry is on the ledger so they can check whether a certain credential is revoked at a certain point in time okay okay there are two parts yes okay if the government wants to revoke the credential there are registries you can register is that status thank you thank you it was in the in the ledger so if you can see it's still stored in the ledger but to verify the data as if it has more than 18 years there is a little more that is called a zero knowledge proof which is a little complicated with some keys but the data is deciphered and makes a proof so if it refers to the data as if it has more than 18 years if it's from one country or another it needs the ZQP but but for revocation if it's stored in the ledger in the book okay so at the level this is already my doubt at the level of the architecture of the application when I already have a created credential that is in my wallet and that has been issued to the government and that the blockchain register has been left so that it can be verified or that it is revoked between a moment of exchange between the one who has the credential and the one who wants to consult it and in that exchange you use a ZQP and you also consult a blockchain if it is valid exactly it can be seen there perfect they also ask us in general how do you manage the recovery of the identity if it is lost yes very good good question we have maybe I can open it again it can load on the internet its its wallet I don't know if well in our mobile application on your phone you can load your wallet and all your credentials and everything in the cloud and receive a code to download that wallet again but the problem is it has to do in its own time so if it never had like its wallet in the cloud and it lost its phone it would also be very difficult to recover its identity its wallet again it would have to receive all its credentials again so we recommend that like every I don't know week, month, whatever backup its application in the cloud so that if one day it loses its phone it can be downloaded so with that if we keep or save data because it has to load its phone in the cloud everything is encrypted so that we can't do any damage but and that storage in the cloud thank you it comes with our mobile application but if it is using maybe another wallet maybe they don't have that function so if we try that function with the wallet but it comes with the service of everything else well in fact mobile is free so of us is free great, thank you I also have a few questions I'm going to take advantage because I see that people are animating but while I would like to ask a question I understand that using HectorLayerAries you are compatible with the W3D of the DIBs yes it can be used as our application of my credentials with the Evernem or whatever everyone who uses HyperledgerAries if you use a platform or a framework HectorLayerAries you can share that credentials or verification with another because they are interoperable great we have our questions this is fantastic the mobile wallet can be more than a DIB in your mobile application yes great I will ask Thomas can someone have can you have more than one DIB on your mobile wallet like the ID of your wallet? each connection has a separate DIB so each connection that you have with your wallet has a new DIB great Eric asks us if HyperledgerAries is Agnostic to the DLT yes that is in the end what we have seen in the repository is a DLT that allows us to do all that logic of the exchange of credentials and then the part of DLT we would have to implement it to select which DLT we save the credentials or Eric asks you directly yes, I can use several DLTs is Agnostic but I don't know if you can use all of them but yes, it allows several DLTs right now in our application we can use I think we have like four that that I can use but it has to configure that in the settings of your application but yes, it is Agnostic great come on, I continue with questions we have in the example that I told you was for .NET and SAC if for example we are developing an application in Node.js or in Go or in Java would there also SDKs for this type of languages or can only be used for this specific language that you have taught us? yes, Hyperledger has many SDKs from here we have JavaScript and I go, I Python Java C sharp I I think Ruby too but there are many and with Hyperledger Aries and also if you are using Trinsic specifically we also have SDKs in Node and Ruby great thank you and well this is also a bit of an ecosystem for people to learn know the different projects that are within Hyperledger and above all it is done with the aim of dissemination for to learn and if someone wants to start because it starts in a more simple way and that sounds a bit like the things so if we wanted to start working with this project of Hyperledger what would you recommend or what would be your steps to learn to use Hyperledger Aries and be able to do a site project or a proof of concept to learn how it works I will also ask Thomas but I think here in Hyperledger just using those frameworks there is a lot documentation documentation I don't know to use them there are many examples in the tests in the tests and that is a way I think is easy and also if you are using Trinsic it is a bit more high level because we do a lot of that for engineers so you don't have to learn a lot of Hyperledger it is very easy but if you want to learn all below Hyperledger I would recommend that you see the tests in all the frameworks or any framework that you want to use or SDK documentation it is great here for being an open colleague but I will also ask what would you recommend for them to best learn on their own Hyperledger areas where would they get started or learn more about it and start using it the Hyperledger home page points to the most popular projects for Hyperledger areas I would say CloudAsianPython would have the most good starting information for it is that here or so this will have implementations links to implementations I think the cloud agent it has ariescloudagianpython.net these are links to repos that have very good getting started guys especially the Python version so Tomas Love says I will put it in the chat here can learn a lot of Hyperledger areas and also has the most popular frameworks especially the Python and the Python has documentation and guides that very comprehensive I don't know if you said it like that there is a lot here it's very popular it's easy to learn and use as quickly and to add to that there are also two free online courses about Aries on the Hyperledger training page David comments that also in the last link of Hyperledger training there are also two free courses Hyperledger areas to learn so we are going now I see that there are no more questions neither for YouTube there is none thank you very much Michael for your time your Spanish has been very good so don't worry now we have the effort I know it's complicated when it's not your native language to transform your thoughts while you speak your own language so thank you very much for the effort and thank you for your time in Hyperledger and thank you very much for the rest I would also like to take a little to do a call for talks if someone wants to make a chat with some Hyperledger project and tell how the technology is being used or tell a tutorial about how Aries or his experience with his factory all the projects there are you can contact me on social networks I'm Maria Tereza Nieto and we can schedule a meet up and participate in Hyperledger and if not see you in the next meet up and thank you very much Michael again for your time that's all thank you thank you very much David we have finished great thanks everyone thank you