Skip to content
Monpediaby Unity Nodes
Monad

Talking privacy, MEV attacks, BTX and the Monad tech with the expert: Babak Gilkalaye

about 1:10:54 long

Nothing is loaded from YouTube until you press play, and then without tracking cookies.

Transcript

8,963 words

Captions as YouTube publishes them, usually machine-generated, so product and people names can be misheard.

  1. 0:11

    Hey, hey, hey. Hey. Hey. Hey.

  2. 2:53

    Heat. Heat.

  3. 3:59

    Heat. Hey, Heat. Hey,

  4. 5:01

    you know what? Welcome to MITM on Thursday. It is there's no Danny here today. It's just me and uh we got our special guest from Category Labs. Bob back. Bob back. Yeah, welcome Bob back. Uh like what is your position at category labs and give a little introduction?

  5. 5:45

    Yeah sure absolutely. Um thanks for having me first. Um so I can give you some backgrounds about my my background is a mix of engineering applied math and also cryptography. So I started with uh mechanical engineering and my bachelor's degree and then I continued with industrial engineering, production system engineering, got my master's degree. Um then I switched kind of like changed

  6. 6:19

    math completely and switched to machine learning, electrical engineering and started my PhD in electrical mathematics uh in the US. So um during my PhD kind of like I joined a startup group it was the name was uh triple blind. So they were I mean their focus was privacy preserving kind of a cryptography related um team.

  7. 6:50

    So um so the main focus there was kind of like creating some tools enabling parties to train or kind of like do inference on machine learning uh models in private privacy preserving f. Um so I mean kind of like um it's kind of like mainly cryptography and math with some kind of like found in machine stuff. Um after that kind of like I joined monot as senior cryptographer.

  8. 7:26

    So I mean we're working on many different interesting stuff here category labs. So, um, yeah. All right. So, I want to do something, uh, a little more fun to start this off. Uh, because I imagine it's going to be very technical conversation. So, there's a timer, a large timer right behind you.

  9. 7:52

    If you look behind you, uh, if you want to grab it, it's a little sand timer there. Yeah. So, we're going to do a 60-second podcast. So, it'll just be some quick questions. Um here if you want to put it a little bit in front of you so that we can see it on the the camera. You're like Yeah, there we go. Um I'm going to have you flip it and then we're just going to wait one sec. We'll just rip through uh

  10. 8:15

    these are kind of some more quirky fun questions. Um and then we'll just see how many you can get through kind of without thinking just off the top of the head. Okay. Uh, and then we can hop right into the conversation just because we got got a lot of cool topics here to to cover. So, you ready to do it?

  11. 8:34

    Yeah. All right. Whenever you're ready. Yeah. All right. If you were invisible for a day, what would you do? Oh, well, I didn't know. Um, probably travel some places. Could it be long? Short answers or just off the top. What's the funniest joke you know by heart?

  12. 9:01

    All right. Pass. Uh, if you had the power to make one thing rain from the sky once a year, what would it be and why? Um, probably some Nvidia GPU things. Why? because I think it I think the issue for kind of like LMS are they are very slow kind of locally and I want to run them locally. I mean you said on top of that and so then I don't think I'm just answering um if you found out that every time you dream you're actually visiting alternate

  13. 9:37

    realities which dream would you choose to visit again? Ah oh time's up. I mean these are hard questions. All right we'll do one more there. Here's just some rapid fire questions. So, just the quickest answer possible. Chocolate or vanilla?

  14. 9:56

    Um, neither. I mean, I don't like ice cream. Also, favorite holiday. Um, like the day or like Yeah. Yeah. Maybe. I mean, no rules. It's just my own kind of It's for my own culture. So, it's kind of like Christmas for Persians. Okay, cool. Camping or hotel?

  15. 10:21

    Um, hotel. Hotel. Yeah. Uh, dream travel destination? Roma. Rome. Like the cap. Like it's in Italy. Yeah. Yeah. Uh, texting or calling? Texting. Texting. Cool. All right. Um, sometimes those are those are hard to think of. Yeah. I mean like I mean you kind of over the first thing comes to my mind. I try to process if it's fine if I say that and then when I'm an analyzing it then my brain says no don't say that. So that's why I kind of like became silent

  16. 10:55

    after your questions. So uh that was tough. It's probably just the your analytical mind that's probably like very what what probably uh contributes to Yeah. I mean if you ask like some math questions probably that would be easier for me to answer like Yeah. Um so [clears throat] how how is the work that um you've kind of been doing in your past relevant to the work you're doing on Monet? So yeah um I would say like the cryptography part is very similar like I mean there

  17. 11:31

    are some cryptography primitive that could be used both in uh like it depends on the the application domain it could be encryption system signatures hash like hash functions and like um security assumptions hardness assumptions they are all could be used that's a cryptography as blackbox could be use in any application domain could be machine learning could be uh blockchain systems.

  18. 12:00

    So those parts are similar. Um I would say other than that so my experience in triple blind was kind of like could be similar in some sense like uh in triple blind we were kind of realizing some cryptography ideas into a product. So that is kind of similar to what we want to do in mo in category labs and eventually in monot. So that part also very I mean that gave me really good experience.

  19. 12:31

    So also there was a project that um we were working in triple blind that was kind of like directly related to blind um kind of designing a wallet such that there was kind of like some rules who can sign a transaction. So it was kind of like multi like distributed key wallet so with some rules not like always like just threshold. There was there were some rules like for example I can give you an example let's say we have a company there is a CEO like one

  20. 13:04

    president couple of vice presidents and then some employee you wanted them to be able to sign a transaction let's say for example if two vice presidents and one employee kind of like want to do so or just one s single signature of CEO is also enough and vice president like also like the president can overrule rule overrules everyone with his signature some like design any kind of like rules that you want to design. So that was

  21. 13:34

    also another thing that I worked before um joining uh category labs. So yeah and also I think like cryptography and coding theory are very kind of like they are they have a lot of like there there's a big history between these two. By coding theory I mean like read Solomon code for encoding and decoding like u encoded values and so um that tool also was very useful to um help with some

  22. 14:10

    projects in Mona. So it was uh called raptor cast where we kind of like encode some messages with some coding theory and also that helped me a lot to contribute to that project in category like around more than two years ago. I think it was uh March And uh what I guess excited you about um like working on this project on building Monad and the the tech.

  23. 14:52

    Um so I would say like kind of like the main reason I mean you can see the potential in the when you talk with the people in Monot back then and category labs. So you can see like how determined they are and how like open and complete vision they have towards the future plans and that gives you kind of the confident that this is the team and you understand like just by um discussion with them that that they know this the area and they are familiar. They know

  24. 15:30

    what they are doing the plan. they know how to kind of like um fight with obstacles and how they can they you can kind of like feel that by talking to so also like I mean blockchain systems were kind of like is one of the I would say kind of like it's very related to cryptography and my specialty is cryptography and kind of like I really like to kind of work uh in the area that is like directly related but I have

  25. 16:03

    studied and I am I am experienced. Yeah, I'm from Iran. Yeah, I mean Bobc is a typical name, typical Persian name. So yeah, I mean that's very important I would say. So I think like there's a difference between industry. So in academia usually you have a lot of freedom. So you can kind of like um do whatever

  26. 17:05

    research you want. doesn't have to be necessarily uh something that you want to build a product on. Um you have freedom. That's a good thing. I mean I think novelty and innovation kind of like require some degree of freedom. So if you tell someone um kind of like solve this problem, solve this kind of unsolved problem by tomorrow, probably they cannot do that. This is not how research work. For research, you need to give

  27. 17:38

    freedom and kind of like let them to understands the problem do the lit literature review and then they try to solve the problem by their pace. Um that's one thing academia gives and people who are working in that. Um but the thing is like the companies like big companies also they are very similar to academia like there are some research but not all of the research will be end up in the final product and that's kind of like that

  28. 18:13

    kind of kills the motivation um when you know that your research is just research and it's just not going to be in any product in many years from now. It's just kind of some imaginary research. Um but in a small companies I would say like there is also that they don't have that kind of freedom as well. So you cannot get I mean usually in small company to mid-range companies I worked in one of them. It's mainly kind of the employee is restricted by short-term

  29. 18:47

    task and you cannot let some employee to go and research for years and like for months and then come back. So um but I would in category labs it's very different. So I would say we have the luxury of the freedom of thinking and solving the problems at the same time those solutions will and those solutions will end up in the product and that that gives a lot of motivation and I think that's a rare opportunity and I really I

  30. 19:20

    don't take it for granted and I do know that this is something uh very unique that you cannot find in many other kind companies. Yeah. Um, I just want to check the chat was saying they couldn't hear me ask questions. Can you guys hear me?

  31. 19:44

    Fine. Now they're saying yes. Um, I guess guess it's working. Um, so how do you see category labs impacting the future and adoption of the EVM? Um I would say kind of like the goal here is be make the EVM more performant and keep adding like nice features to whatever the existing EVM.

  32. 20:26

    So um that's the main goal of the academy make it more performance like adding more tools this thing tool we are working currently on encrypted transaction I mean I will talk about it later in detail there are many different solutions to that uh problem but what we are looking for is not only to be a solution we want it to be high performance like we want to target at least like thousands TPS or

  33. 21:01

    even more than that for encrypted transaction. So um that's what the main focus is to make it as performant as I also want to just uh let the chat know if you guys have any questions uh that you want to ask just drop them in the chat and we will ask them at the end of this. You also have uh kind of not necessarily a presentation but some things that you will go over towards the end potentially.

  34. 21:38

    Uh so if you have any questions uh make sure to drop them in the chat. Um you're talking about like making the EVM more performant. The Monad BFT is is a good example. Uh you published the original paper, ran it on testn net, found things that needed to change, updated the protocol, updated the paper, and now it's running on mainet. Uh walk us through how that worked in that loop.

  35. 22:13

    Um yeah. So I mean um usually like what we do is kind of like the I mean both I think for consensus and crypto we come up with a solution and then we brainstorm that solution shape it and then we try to publish on it on a peerreviewed conference or print we try to publish on that then get some feedback on the theory.

  36. 22:43

    And so in that publication we usually I mean if it's for um consensus related we do prove um the safety and livveness and if it's related to consensus if it's related to cryptography we prove like the correctness and security proof of the protocol that the solution that we have built. Um but after that we don't stop like after publishing and getting peer reviewed and publication we don't stop. So that's the starting point for us. At that point we start we try to

  37. 23:15

    solve and design a system for the solution kind of integrate that solution and into the existing system that we have. Um after that kind of like there is a loop that you mentioned and which is very useful for the research. So kind of like it's like a feedback loop. We designed something theoretically and then using the engineering team we realize that into the existing system that we have um and then that gives us a lot of feedback about even

  38. 23:47

    the initial design even the theoretical side it lets us kind of to improve on that and then again the engineering team like realizes that and then we get some feedback and we improve the solution and that's a unique opportunity I mean it's not only I think it's kind of like maybe it's related to blockchain system like the test net exists and that's something unique to blockchain system maybe in some other areas you don't have something like this I know let's say for

  39. 24:18

    production when you want to um the production of iPhone like Apple can never like realize many of their ideas because it is going to be very expensive for them. Let's say if they someone comes up with an idea of like let's make the iPhone twice bigger in size. So they cannot just simply realize that and start building that and selling that. It may end up very bad for them. But in blockchain system we can always do that.

  40. 24:46

    we can um come up with an idea and do it try to test it in test net, get feedback, improve the initial design and so yeah that is very helpful for the research team as well. Oh, I can talk slower as well. Do Do you guys have audio on him?

  41. 25:34

    It It sounds like uh it's fixed. So um so you're just kind of saying that this is fairly different from then how normal consensus research usually moves through the academic world. Yeah, absolutely. Like I mean we have something on top of that. We I mean I mean I can give you an example like for example um in Monot BFD there was like kind of the thing was kind of when a leader proposes something

  42. 26:09

    um validators vote on the proposal to the next it used it used to be like that like they um they send their votes to the next leader. So and the issue could be like if the next leader is not online then um the previous proposer will kind of like would lose his proposal like his block so it wouldn't be finalized. So that was an issue right? So I mean why my proposal why my proposal should

  43. 26:38

    depend on the next leader to be finalized? What if is not online? So kind of like we fixed that um after like that loop that we went through like the feedback loop in the test net and then fix that issue but also they send the votes to the previous leader. So the main reason was kind of like that helps with the latency when you send it to the next leader. Um the next leader can kind

  44. 27:04

    of build builds the QC and include it in his new proposal and that helps with the latency but the issue was kind of like if he's not online the previous leader would lose his proposal. So we kind of solved that after hearing that after seeing that problem can happen. So there's a blog post on that explaining like now it's just kind of like doesn't have doesn't kind of like influence the previous leader. So that was one example. There are many other examples.

  45. 27:35

    Um but definitely that loop is something special for the research team that we get feedback, we improve the initial design. So you're the co-author on monad BFT. uh what did you specifically work on and what was the hardest part getting that right?

  46. 27:56

    Um so I mainly helped with the cryptography part and also the raptor cast. I would say the like the most challenging part is related to the raptor cast. So um the raptor cast is kind of the data dissemination like when a leader wants to propose a block let's say the size of the block is 2 megabytes so we want to support 10,000 transactions or 5,000 transactions in each block and the block the max block size I think it's around two megabytes

  47. 28:36

    so and then assume we have thousands validators I I mean I know we currently have less than that but just assume we have thousands validators and 2 megabytes of the block size. So if if a leader wants to send this block to all other validators just uh bandwidth wise that would be around 2 gigabytes of data and it is impossible like even like given the current bandwidth requirement

  48. 29:04

    which is around 300 megabits per second sending 2 gigabytes of data it's impossible. So the way that we realized that was using um some sort of like rebroadcasting. So the the leader would rely on other validators bandwidth to um propose to kind of broadcast his proposal to all other validators. So that's where it becomes a little bit tricky when it comes to now I need to rely on other validators being honest and rebroadcast whatever I send to them to other validators. So the main idea of

  49. 29:43

    the raptor cast is to kind of like I divide my block proposal into small chunks. I send I assign each chunk to a group of validators and I rely on them to rebroadcast those chunks to the to other validators. That solved the bandwidth problem because now we have a lot of more bandwidth. But that introduces a new problem. What if those intermediate validators don't rebroadcast it? What if they start kind

  50. 30:14

    of polluting um the network by just injecting some garbage information to other validators? It's at the end of the day it's kind of some encoding and decoding uh systems and if one of those chunks are not correct that could be problematic. So um that was the most challenging part and how do we solve that? So do we want to the the the the solutions um usually are based on some redundancy some kind of like

  51. 30:46

    um encoding systems and kind of adding some redundancy and some authentication based on the main leader proposal. Um but the thing is they we wanted to also optimize those overhead introduced by authentication and also by um redundancy. So finding the sweet point and sweet kind of the optimized values and tuned parameters were probably the challenging part of uh that I was working on.

  52. 31:21

    We're gonna kind of shift a little bit and talk about MEVs. Uh what for anybody listening who has heard the word ME but has no idea what it is, can you break down? Yeah, sure. Yeah. I mean, in my opinion, um the MEV is kind of like the reason that it happens is because of some exposed transactions. So when I send a transaction it could be it is visible to everyone and everyone can extract value from that transaction. What does it mean to kind of extract value some

  53. 32:02

    transactions maybe there is no value in if I send money to my friend there is no value to extract from that transaction. But in general if I want to kind of like explain it even outside the blockchain space I can give you this analogy. So think of a world that imagine I come up with an idea. Uh let's say there is a competition $1 million is the prize. I solve the solution and I write it down on a paper and let's say in that imaginary world you cannot like uh there

  54. 32:36

    is no internet you just need to physically pass the paper to the uh for the competition. So I write the solution on the paper and I pass it to you and ask you to pass it to person A and ask him to pass it to person B until it reaches to the um competition center and then this is my account bank account and ask them to deposit my bank account with $1 million. I mean we both know that

  55. 33:02

    would never happen like someone in between will claim that kind of oh I found I this is my solution. I solved this and they will get the money. That's exactly what's happening in blockchain. Whatever investment idea you have, whatever kind of like solution that you have. So in current blockchain system, you kind of expose that to others and it's up to the it's up to others to how to extract value from whatever your

  56. 33:30

    intention is. So u how to extract some value from that your from your intention. So that's main thing in my opinion about MEV. Um I hope I kind of like high level answered your question. Yeah, I I think that was a great analogy. Um why should somebody outside of crypto care about that? Um I would say uh like outside crypto like you mean um for example like I mean the me you mean like can you explain about that question like I mean like outside crypto is kind of like what do you mean by me outside crypto maybe?

  57. 34:16

    Um, I guess more so of like why uh why would like anybody outside of our industry or like how does that affect? Oh, I see. Yeah. I mean you mean outside like the those who are building the system. Exactly. Right. So yeah, I mean any I mean kind of like I explained that as well like any when they reveal their intention whenever you want to use any systems and you reveal your intention

  58. 34:46

    there may be some opportunities for others to take advantage of your intention until it's finalized. So um we need to kind of make sure that gap is um doesn't exist anymore. So we need to kind of like make sure the gap between when you come up with something when you want to do uh something like send money from your intention until it's finalized it is secure and no one can take advantage of that uh exposed intention.

  59. 35:19

    So on monad is there anything that prevents that? Um um that's what we're working on right. So that's what the BTX the paper uh is trying to address. So I would say like um how we are addressing that I can explain about that. Um so the thing is there are many solutions to that it's being discussed for many years and why how is it related to cryptography? I would say like kind of that's the first solution anyone would come up with like if you see if I tell you like uh

  60. 35:58

    something is exposed and how can I like keep it secure the first solution that you probably would come up with is to encrypt this. So that is reasonable solution but the question is like how can we how does it affect the whole system? So now it introduces a lot of complexity.

  61. 36:20

    when you encrypt the transaction um potentially it affects the consensus execution all different components of the blockchain system and other than that kind of like it definitely adds some overhead and we that's very specific to monot that we want to be high performant we also we still want to keep the um kind of the TPS high we don't want to introduce something just f with some fancy name like encrypted transaction supporting like let's say

  62. 36:54

    five transaction per block. No, this is not the solution. So I can give you um an overview on kind of like the evolution evolution of encrypted transaction. So how what was the original solution and how we got to the BTX how we got to BTX the solution that we proposed recently and hopefully that um makes many thing clear.

  63. 37:22

    So the first solution was kind of like yes I mean if something is revealing information we need to encrypt that. All right so let's encrypt uh each transaction. That was the first solution. If we encrypt each transaction, yes, that solves a problem.

  64. 37:38

    But what it causes is on the validator side, that would introduce a lot of communication overhead to decrypt this transaction. So I can give you some numbers for each of these transaction to decrypt. Let's say we have thousands validators, we have thousands encrypted transaction.

  65. 37:59

    So the communication for each validator would be around like 48 megabytes. Um that is uh a little bit too much. So given our bandwidth requirement which is 300 megabits per second that would be around like 2 seconds alone. Just forget about the other part of the blockchain voting making the proposal all of those aside just the decryption uh just the communication part of this encrypted transaction would be around 2 seconds.

  66. 38:34

    So that's too too much right? So we cannot afford that. So that's not a real solution for us. The second solution so solves that problem. So the second solution um it pro I think it proposed two years ago um in a paper I think the name was fair block um in that fair block.

  67. 38:56

    Fair block. Okay. Yes. Um it addresses it solves the first problem and the idea is kind of like all right so each now that solves the communication problem and then that means like each validator now needs to only reveal 148 kilobytes that solves the communication but how it works is each node each client encrypts their transaction to a block fixed block round let's say block n I encrypt my transaction to block n and after block n my transaction will be decryptable.

  68. 39:34

    So yeah, what's the issue with this design? The main issue with this design is pending transaction privacy. So if I send a transaction and I say all right, I want this transaction to be decryptable at round n. If my transaction is not included in block round n so that means my transaction would be decryptable and that again is against the u privacy that we are talking about. So that was this second solution and the issue with that

  69. 40:10

    was pending transaction privacy. the third um groups of solutions um tried to address the first two problems and okay it was kind of like it the paper was um proposed by Amit and he's currently working in category labs as well um but that solution was kind of like binding the transaction to a fixed uh block number so here um here it is how it works so if I want to send the transaction I encrypt it to a block

  70. 40:45

    number let's say block n if it's not included by block n that's fine it is not decryptable um but the issue is that if it's not included in block n then unfortunately it cannot be used in next rounds so then that means like I need to resend more cipher text so that makes that transaction that's cipher text useless for future So yeah, I mean some solutions um like that I mean they try to solve the problem but they introduce new problems.

  71. 41:23

    So the next solution is beat me solve the other problems. The new problem it introduces is like collision. So now each client needs to select a number from let's say the batch size 1 to 1000 and if two clients select the same number um they cannot be included in the same block. So you select 700 I also select 700. So only one of us could be inside that specific round and the other one should be should wait until the next round. That's called collision issue. So

  72. 41:57

    again after that TRX paper solved that and with some gigantic CRS size like over gigabytes. So the setup would probably take hours or even day to do generate those um CRS values for TRX pay. So yeah I mean this is like the evolution steps until we reach to BTX.

  73. 42:21

    So BTX uh solves all of those problems and the way it works is kind of like we shift the computation to the part that is kind of like we can afford it's kind of like the premputation part is it's the setup phase for each round we try to push the computation into DKG distributed key generation part and this is currently around like 2 minutes 3 minutes um two to three minutes before each epoch. That's the computation

  74. 42:55

    validators need to do three hours before even the epoch starts. So they can do that just two minutes computation and that makes um the bit uh that makes the encrypted transaction much faster. It sounds like uh I mean you guys are definitely doing a lot to optimize and not just cutting corners and like their solutions but then it reduces how performant it is. So it's like exactly trying to figure out exactly the path to

  75. 43:29

    go that doesn't jeopardize speed and performance and stuff like that. Yeah, exactly. I mean the goal is not as I said the goal is not to come up with just something that may work with small number of transactions and also it introduces some problems and we say all right no one would care about those problems. So we want to kind of go for the most optimized the ideal solution the perfect solution that doesn't have

  76. 43:57

    any issue and it's it is it is currently I would say like um we can do around one cipher text per millisecond like we can support one encrypted transaction per millisecond that would give us around thousands TPS um where we are improve I mean we are working on it to improve this number even to higher numbers. So uh and there and also none of those mentioned issues are there. No collision pending pending transaction privacy is preserved.

  77. 44:35

    Communication is also constant size. So yeah um so there's a debate in the ME research community about whether encrypted me pools are the right approach and whether the answer is something like ordering transactions fairly or letting me happen. but redistributing the profits back to users. Where do you land and why?

  78. 44:59

    Um, yeah, I see. So, um, I personally think reordering cannot be a good solution. So, that's not the problem. That is kind of like the result of the main problem. The main problem, as I said, is the exposed transactions. that's um what is revealing the information. So we need to kind of like solve that problem not what it is causing. I would say like I mean let's say we have a sink uh leak leaking some

  79. 45:36

    water. So the solution cannot be just cleaning the water from ground and drying the ground. That's not a real solution. You are just that may look as real that may look like a solution. It is solving the problem partially. It is I mean the ground is clean and dried but not an actual solution. I mean the solution is fix the thing right. Um that's what I stand. So I think like reordering or random ordering the transaction yes it solves partially like

  80. 46:06

    um validators and proposers I mean the uh the leader and the proposer or sequencer cannot take that limits not at all but I mean it limits the um kind of like the value that proposer can extract from the transaction by enforcing some ordering.

  81. 46:28

    Um but there are many other issues like still those transactions are visible like it it again as I said it reveals the intention of the uh sender so that's what we need to kind of like prevent by encrypting the transaction that kind of solves the problem I would say even perfectly close to perfectly um by encrypting the transaction however I think there is also another issue with like ordering. I think like if you kind of enforce a random ordering on the

  82. 47:02

    transaction that kills the purpose of the like the or like the order of each transaction like it has to be some there has to be some way if I want to be on top of this block there has to be a way for me to be on top of this block. So if I currently I think if you include more priority fee inclusion fee you have you will be on top of the block or there's an auction you that's if you win that you will be on top of the block but if it is only like just based on some

  83. 47:34

    randomness to be on top of the block that is also probably compromises some of the fe mechanism design. So yeah also I think the other solution doesn't look appealing. I think all of these solutions um are they are just alternative for the encrypted meool because the encrypted meool is hard to solve. It was hard to solve and these solutions are alternatives. they they know that this

  84. 48:06

    is the these solutions are not as good as encrypted tools and I don't think they think these are better solutions are like kinds but these solutions are easier to implement and integrate and kind of like yeah I mean they are better than nothing right it I guess it just goes back to your analogy right like you said it's it's better than nothing but it's still just not fixing the sink exactly Exactly.

  85. 48:36

    Um, so your other recent paper is on time lock encrypted storage. The idea that you can encrypt something today and guarantee it can only be opened after a specific point in the future. Um, can you give us one real world use of this?

  86. 48:51

    Um, yeah. So I mean the main reason we kind of like tried to solve this problem was um kind of like giving you can imagine like in some scenarios when the let's say we have some sort of like um congestion on some round I can give you an example let's say um on a fixed round there is an auction let's say round n there is an auction and like thousands people's or millions of people let's say millions of people

  87. 49:30

    are like planning to um participate in that auction. So and the auction round is round n. So we probably cannot support up to n like 1 million transaction exactly be submitted at round n. We we we support 10,000 transaction per second but definitely not 1 million transaction per block. So currently if they submit their transaction earlier even using encrypted transaction the issue would be kind of

  88. 50:02

    like um those transaction will be decrypted after the inclusion. So if the auction round is round n, if they participate at round n minus 10, for example, that transaction will be decrypted at round n minus 10 and will be visible until round n. So we can also not ask them all to participate at round n because there will be a huge bottleneck. 1 million people in one round is impossible. So that's what this um kind of like tool is supposed to

  89. 50:36

    solve. So with this tool they can participate at any round they want and still their transaction will be encrypted until the target round. So if the target round is end it remains in encrypted until the target round. So some application could be yeah like seal bit auctions also some gaming. So I mean I know like many of the solutions are solved using on the application layer by some cryptography tools inside the smart

  90. 51:09

    contract and but we want to solve it kind of like on better layer like on the on the system layer on the with the better blockchain so they don't need to solve it using like smart contract and application. Yeah. Um, and I guess how does this necessarily apply to monad?

  91. 51:32

    So yeah, I mean I don't think like monad is immune to me attacks and also if you want to prepare a fair environment for traders for th those who are using defy so we probably want to introduce these tools. Um also what is special about monot is it is it is supporting up to 10,000s transactions per second. So that that makes kind of like things even harder for us. Um now we need to kind of

  92. 52:07

    like build the tool to catch up with that. So to be able to support around um close to the 10,000s TPS and I think uh that's where we are at right now and we are kind of like trying to improve the numbers um until we can support as many as uh like plain text transaction that we currently support.

  93. 52:38

    I'm just uh checking in with the chat. How many how many people are learning something today? Chat is moving slow. Um so we have a couple more questions here. Uh encrypted me pools uh are famously hard to actually ship. Many cryptographers have been working on this for years and still haven't fully landed it. Is BTX planned for Monad deployment or is this category labs contributing a

  94. 53:15

    useful tool to the broader research space? Um yeah, I mean that's a very good point. I agree that um shipping uh encrypted meool is not easy at all. So there are I mean I mentioned couple of those issues um all those things that I mentioned about like the collision pending transaction privacy communication uh bottleneck also massive setup and DKG phase by DKG I mean like as part of the setup phase distributed key generation like

  95. 53:54

    validators um run a protocol couple of hours before the each epoch starts and they each get some keys and that's usually that's a separated that takes maybe couple of minutes it's separated and they get each of like threshold key um for the encrypted transaction. So there are many different problem there are some other problems to solve when it comes to action. So we have we have like kind of like solved the first stage which is the

  96. 54:26

    theoretical side. Um kind of like this is how this is where we are at right now. We have solved the theoretical part and we are exploring the implementation and the system design um to make it kind of like um to get into the final um product and to be shipped as a single standalone product. I think like uh if you think about this problem if you introduce encrypted transaction to your

  97. 54:56

    system it touches many different areas like the UI the the user need the wallet needs to kind of like adjust themselves RPC node also the consensus needs to uh handle now encrypted transaction in terms of like what if it's garbage like what if uh it's just the encryption of some garbage data execution how the execution handles garbage data just some image like let's say something like that it we need to just kind of like solves all of those problems step by step and

  98. 55:30

    yeah I agree that this is a hard problem to solve but that's the goal so we are actively exploring the system design and that the goal is to ship the goal we would we don't like to publish and forget um all right that's we are not like the academia to just the goal is not to publish and kind of forget about it. The goal is to go until the end and try to get it inside the uh get it into the um actual blockchain system. And

  99. 56:03

    yeah, I mean I think we are kind of like um currently working on the system design part and we have a prototype for that. We are working on that too. We doing testing and benchmark on that also um improving the design again with some kind of feedback feedback we get from the internal nodes that we are running at what do you have uh next on that you're working on research wise okay so I I think like I mean currently Um I am working mainly on the encrypted

  100. 56:49

    transaction system design part. Those problems that I mentioned, the integration into the system and the potential problems um that this introduction may cause. But um other than that I think confidential payment is also very interesting problem are thinking about we are doing research on also ZKEVM I think I need to mention that encrypted transaction is very different from confidential payment.

  101. 57:27

    So in encrypted transaction we encrypt the transaction until uh it is finalized until the block is finalized and then it is um decrypted. So it it is different from confidential payment where it remains confidential even after the block is finalized. And so probably yeah I mean many big companies many big companies doesn't like they they don't like blockchain because it is maybe too

  102. 57:57

    transparent like everyone can see all other transactions. So that helps a lot to attract big companies to use start using blockchain. Yeah. What is the most kind of unique and underrated aspect of working at category labs? Yeah, I mean I partially mentioned that I think we have uh a lot of kind of like interesting problems to think about and also um the freedom is I really appreciate that kind

  103. 58:38

    of like the freedom that you usually find that in academia and also the motivation that you get from the industry that you know that whatever you are working on it's going to be in final product at least um they try to include it inside the final product that's kind of like something unique that is special to category labs I would say also we have a lot of talented researcher engineers and the connection between research team and

  104. 59:10

    engineering team I think that's kind of like they make us better we make them better that's kind of relation we have and we have really strong team like it's not like just a group of researcher we have some dedicated team like cryptography team consensus team fee mechanism team inside the research team and we have maybe six or seven cryptographers same for other um teams so we are I think um trying to solve

  105. 59:41

    many problems related to blockchain system and EVM um kind of like domain So, we are at 2 o'clock. We've we've ran about 60 minutes. Uh, do you want to I know you have some more stuff that you can go over. Um, I mean, it's kind of up to you. [snorts] Um, so maybe just one table. Um, you want to share your screen here?

  106. 1:00:23

    You want me to bring up your screen? Yeah. Am I sharing? I'm not sharing my screen. Oh, there you go. Yeah. So, this is part of the paper that we published. Um this shows like the problems that we are like it shows like how BTX is kind of like is better in almost all areas in comparison with other solutions. So this is the list of the other solutions. Um all of them kind of like any other all the schemes in this list kind of um they solve those two problems. The first one was the

  107. 1:01:05

    communication. And so the communication is constant in all of them. And also um they don't have the pending transaction privacy issue. So that means like if a transaction is not included in a block, it's not decryptable. So this is kind of like um valid for all of these schemes. But you can see that like the collision resistance some of them um have that issue some of them don't have this issue. Epocus I mean it means like um

  108. 1:01:41

    kind of if is the transaction is tied to a specific round number or not. And if the transaction is not included in that specific round number is it going to be a useful or it's just kind of like useless transaction at that point. So and also decryption complexity as you can see like um our scheme the complexity is it's very important it's B like B um it's faster than all of them and also why is it better than B max

  109. 1:02:15

    like B max the reason is kind of like that means like our runtime decryption time depends on the actual number of transactions not the batch size that we can so if you imagine like the batch size is thousands. If we can claim if we claim that we support up to thousands transa encrypted transaction and if the actual batch size is 10 our scheme can do it with B being 10 not thousands so that makes it very unique and also from cipher text size point of view um this

  110. 1:02:51

    is the smallest so it's just kind of like one extra group element the size is 48 bytes is enough to make it possible So 48 bytes I would say it's very small for a transaction and it makes it completely practical. Yeah, thank you. I just wanted to mention this as well.

  111. 1:03:18

    Um well, thank you so much for coming out here. The the chat wants us to do another 60-second podcast. The chat knows I am terrible at so that's why they want to do that. Um we'll we'll do another one of those here. I wish you gave me those questions before.

  112. 1:03:42

    Yeah, right. Um all right. So these these ones will be a little uh deeper questions. So I have two two different categories. We have some quirky ones which is what we started with. This is more introspective. We'll see uh see how if you can just come off of the top of the head with some of these. You ready? Yeah. All right, let's do it.

  113. 1:04:04

    What is a value that guides your decisions and actions? Um maybe kindness, right? Cool. Yeah, that's a great answer. Uh how do you think you're going to die? I think I don't know how but I will be like satisfied with my life. Cool. Uh what is a habit you're trying to develop and why?

  114. 1:04:37

    Um I hate habits. I mean I don't like do kind of like things as a routine. So I can't think of anything. So, you're actively avoiding habits. I don't like to know what I'm going to do next. Uh, what is a strength that you're proud of and how do you use it?

  115. 1:05:00

    Um, I used to be funny. I don't know. Probably it's harder to be in like another language. So, how to how do I use it? Probably like I cannot use it in English. So [snorts] if there is a native person, I that helps me to kind of like make friends and kind of I think that's my strength kind of like how to talk with other people with just at the same time being funny.

  116. 1:05:34

    Yeah. Um all right, we're going to do the rapid fire questions again. Uh nature or nurture? Uh nurture. random skill. You have random scaler skill. Oh, probably the funny skill. Well, I'm really good in video games. What? What video games? FC like FIFA FC 26. If any of the if anyone in chat wants to challenge me, I'm down on FIFA. Yeah, it's I mean the name was FIFA but now it's changed to FC 20. I think after 24 it's changed to but that's the same game, same company just

  117. 1:06:23

    name brand and to FC26. Progress or perfection? Perfection. Worst habit that those are you know I cannot say that here. Non-fiction or fiction? H I don't know. Friction. Fiction or non-fiction? Oh, you mean Okay. Oh, definitely fiction. Fiction. Cool.

  118. 1:06:55

    Um, well, that that's that's all I got here. Chat, do you guys have any questions that you wanted to ask? Um, some of the chat is saying these are the things they can finally understand. There's a lot of technical stuff. Uh Zayn says he wants to play FIFA asking what division rival is in.

  119. 1:07:21

    Uh do what do you play on? Um my Steam like computer like PC, personal computer PC. But I mean it's possible to play cross. It is a cross. Yeah, he he get dropped his uh PSN. Um, but yeah, I mean, you don't have a Twitter, so is there anywhere that people can follow along that I have a LinkedIn account, so maybe we can share it with them later.

  120. 1:07:51

    Yeah. Is it I would imagine it's probably your name that they can Yes. search up. Yeah. So, uh, just go and search his name, which is on the bottom of the this stream. You can see it running there. And uh yeah, I mean any other shout outs or things that you want to Yeah, I mean again I want to thank category lab um for kind of like giving me this [snorts] opportunity. This is an amazing kind of I I'm really enjoying what I am doing um the research wise and

  121. 1:08:27

    also anything is kind of like perfect from my point of view like what we are doing the atmosphere like the people that I'm working with everything is perfect and I mean I just wanted to say thanks once again to amazing group of people that I'm working with. That's yeah that's pretty cool and that's awesome to you know it's not a lot of people get to do what they love to do work on something meaningful and something that is you know impacting the

  122. 1:09:01

    way technology is functioning and then doing it alongside people that they respect and uh enjoy working with. So that's super cool. Absolutely. Well, thank you for your time. Um let's see if there there's one question here says how to accomplish true randomness on chain can we trust oracles um true randomness we can actually we are actually working on that that's a very good question um kind of like achieving true randomness

  123. 1:09:35

    is possible throughout the encrypted transaction like the output of the validators we can kind of like whatever they are building, whatever they are outputting to decrypt transactions that could be used as randomness. So it needs some kind of like research to make sure that even given like none of those validators can take advantage of that. Um but whatever we are building probably we are thinking

  124. 1:10:05

    about um kind of like supporting true randomness on chain. So I would say it's definitely true randomness could be achieved using cryptography. Cool. We also have another question here that is a little more ridiculous from Sailor Nini and it says, "Do you think there are more doors or wheels in the world?" Um, doors. More doors.

  125. 1:10:32

    Yeah, 100%. All right, Nene, there was your answer. Uh, I think that's that's everything. So, awesome. Thanks for your time. Thanks chat for hanging out with us and everybody that watched. Um, we'll see you next time we do this. Thanks for hanging out.

  126. 1:10:54

    Thank you for having me. Yeah, of course.