Liquefaction and Oasis Sapphire (Part 2)

Whitepaper Reading Club Talks · 2025 · 32:44

Brian Seong of Polygon hosts James Austgen and Dani Vilardell, researchers at Cornell Tech in Ari Juels' group, and Will Wendt of Oasis for the second part of a Whitepaper Reading Club Community Pod conversation on Liquefaction. Liquefaction uses trusted execution environments to break the one account, one owner assumption. The guests discuss it alongside Oasis Network's modular design and Sapphire, its confidential EVM, and weigh TEEs against ZK and other cryptography.

Speakers

Topics

From Whitepaper Reading Club Talks; community: Whitepaper Reading Club.

Transcript

We have talked about Oasis quite a lot, but I don't think we had a really good run through of Oasis cuz Oasis obviously it's a really complicated project. It's a layer one itself and then there's a lot of things. I feel like maybe can also just give us uh after all this discussion we have if you can just help us understand Oasis deeper some of the things that we didn't discuss in this topic will be really appreciated. >> Yeah, absolutely. So Oasis started with a paper I think it was from published in 2018 maybe 2017. It was the Echodin paper. So we wish that a white paper reading club was around back then and everyone was aware of it. It was a pretty big paper at the time. It had Ari Jules who obviously Danny and James are

working under now. Andrew Miller who is very big in the TE space and Don who ended up founding Oasis Labs as well as Fanzang who I think previously was in AR's who is our CEO and a few others as well. It was a basically a paper that talked about this idea that we now know is the separation of consensus and execution as layer one layer two. So unfortunately we'd had poor marketing when we first started and we were we only were talking about separation execution and consensus and no one knew what that meant and had we only known to use the word modular blockchain maybe we could have been ahead of that trend because we launched in about 2019 and we were as far as I know the first or one of the first modular blockchains where we have a underlying consensus layer

that handled that has basically only the ability to validate transactions from the execution layer as well as the ability to handle one smart contract which is the staking smart contract. No other smart cont. So it really was 100% this is for consensus and then the above layer was execution. Well we had we started doing some work on what was known as the cipher power time because on the ex execution layer we have these things called parimeines that stand for parallel runtime chimes but really they're layer twos. We quickly realized that it would be a lot of work to rebuild all the infrastructure that exists for the EVM, oracles wallets indexers RPCs everything that Ethereum already had, we would have to be building in house. That

led us to launching the Sapphire blockchain. Sapphire is the first confidential EVM where which is us and it confidentiality is based in CES. So all transactions are encrypted by default on the input side. they go inside the black box and now they can act as they normally would on any EVM blockchain and then based on like the parameters of the smart contract they get decrypted or encrypted on the output side as well. So this allows us to build really cool applications. We have one called like a luminex which is traditional unis swap v2 fork that has the ability for confidential swaps but you also then can still emit events so that we can calculate what the liquidity pools volume is. This idea like a verifiable computing is something that B

talking a little bit about where you want to have this like web two like user experience but you still want to make sure that everything is done correctly. How do you see this kind of evolving on Oasis? Like where is this going? If T is the only set of tools that we have I was talking with like a friend and it just feels like TE is such a it's just like black magic in some senses. It solves everything and then it's like you're done. But how do you think about that? Yeah, it's funny that the industry turned around so fast because when I first started at Oasis in 2021 and James and Bounty can probably

vouch for this. Everyone hated tees. Andrew Miller did too good of a job telling everyone how bad tees were at first and everyone was like they're so exploitable when reality they're quite difficult to exploit. But no, I don't think TE's are the only approach. I think that the end game is probably going to be some combination of FPC FHE and ZK. NPC is just multi-party computation and FHE is just fully homework encryption. The problem is that right now that none of the none of them are really ready individually and they're certainly not ready together like in combination with one another.

Tees are the best solution we have today in terms of ease of use, scalability, and performance. To be fair, with multi-party computation and fully homorphic encryption together, you can pretty much achieve everything you do with TE's, it's just that the latency, scalability, and performance right now is not there, but it's improving every day. And I think probably in 15 years, that'll be the solution that that everyone uses. I don't know. This is these are not decisions that I determine it. These are not things I determined on my own. I've listened to a lot of really smart people and I think those are the conclusions that they've come to as well.

But yeah, in terms of what teams are capable of doing today, the Oasis vision is that they perform, they allow for confidentiality, which is a missing aspect of crypto. They allow for AI, which is I think right now the hottest intersection of crypto, web 2 or traditional world like that combination of web 3 with AI is probably the fastest growing sector in web 3. >> Yes. >> And yeah, they allow for this verification which increasingly is being understood. That's where blockchain is really creating value between counterparties is the ability to verify that the you know logs the state of other networks or other lenders. So right now it's an all-in-one sort of tool and we have like I said two two solutions. We have Sapphire which is our

blockchain that allows for everything that a blockchain would enable but it is uses leverages tees for the confidentiality aspect of it. And then we have Rockle which doesn't have so much to do with liquefaction but maybe is interesting for people to check out. It's our offchain compute framework and that allows you to do the non-terministic compute. So, for example, you can run an LLM within raw and then like instead of having a conversation with chat GPT where you're asking about personal questions that you maybe don't want open AI to know, you can use raw and run the same LLM, but now all the conversations you're having with it are entirely encrypted. That's one use case. There's a ton of use cases. We have one project that's using

it for key management on Ethereum. Yeah, I mean there's a ton of use cases, but it basically allows for any non-deterministic compute or anything like you said where you could want web two usability or web two compute power that is nondeterministic, you can use raw board. I really like your earlier when you're in your explanation about you missed the market window. You should have framed yourself as modular blockchain. I think the separation of execution and consensus that really came to me when I layer was really pushing it. They're anchoring the trust the consensus all of that on Ethereum don't care about it.

they just use it but all they care about is just sort of a offchain the all the all the TV all the liquid staking that thing that's a separate story that's a good marketing on themselves they did have done a really good job for sure but I think what they really enable is this offchain computation environment and then they verify onchain but still this does require them to have it in deterministic aspect but where whereas in your model this waffle model, you allow undeterministic computation. And I just wonder like how do you how do you wrap it into so that it can connect back to this trustless environment because when it's undeterministic, it's hard to

validate whether the execution is correct or not. So that goes back to the like I said this hardware version of a ZK proof with which TE's have which is called remote attestation. Um, basically the remote attestation allows you to attest that this computation was done in accordance to what you specified. So that's another really big thing. It doesn't have to do with confidentiality, but it's a use case is let's say you're using chat GPT or you should be using chat GPT 5. How do you know that and you're paying for it? How do you know that those that's the response you're getting? you're not getting chatbt 3.5 or something that we want to do in the future is we want to enable people to share confidential data that maybe their healthcare data or financial data be compensated off from people who need

access to that data but you want to make sure that they're accessing that data in accordance to your specifications they're only running certain models on it they're not sharing it so again you need remote attestation to make sure that sort of >> I see what it's expected is what actually is done yeah >> cool yeah that makes sense it's basically ally this sort of a program key that the T environment can generate and you can validate that this program key is indeed a this a matching key of the program signature itself very similar to the ZKVM design but it should zkm has the v key property for any comput program that will be running on zikvm but basically to abstract this is basically you allow general computations

to be run in a trustless environment in oasis approaches using PE but in some of the other approaches they use ZKVMs and in Igel layer approach they probably uses this validator which is like a just like a lot of people running it that kind of approach to generate trust there are different ways of generating trust but in oasis sense it's using the program signature cool that makes a lot of sense yeah I think that is a really good explanation of oasis no ro >> I'm just trying to not sound too dumb that's my main goal for this podcast.

>> That's right. See you. >> It's It's absolutely incredible. Danny or James, do you have anything to add first and then it'll be good to go into privacy in the future for Oasis and for liqufaction. >> I'll just add that the reason we implemented liqufaction on top of Oasis Sapphire is simply that it was easy to use and EVM based. So, we could write all of our policies and smart contracts. I don't have anything else about Oasis. >> Thank you Oasis for being Viet.

>> Yeah. Yeah. I think that's like the it's like a critical part. >> Yeah. And with TE enables for sure. Yeah. >> Privacy. Maybe I can shoot one question with the chat about it. I think nowadays we're all talking about privacy because I think people are worried about it because of the distribution of stable tokens meaning more people are coming on chain that possess that puts everyone more risk and also there's strong demand from the institution side to be on boarded as a sort of a privacy player instead of a public player to not changing too much in their business logic but still be able to tap into this trustless environment very natively.

And I think that's like a lot of how a lot of people's approaching to blockchain nowadays who were not web guru before. And I wonder like what is Oasis and liqufaction's perspectives? Okay. What is this privacy use cases that you're really trying to enable by what is this privacy problem that you're trying to solve in the blockchain space and what kind of customers or experiences you think you can make? Maybe starting with James. So liquefaction it's just a wallet platform. It's fairly neutral in the goals that it has. In fact, the majority of the paper is or like the I guess the most critical part of the paper is really just enumerating the things that you can do with the liquefaction

platform. Building the platform was not really we didn't have the intention of um constructing a particular privacy use case, but we wanted to survey the landscape of what's possible using liqufaction as a new primitive and blockchain ownership. Certainly there's a lot of privacy applications because if you keep the identities or the policies private in this TE then you can hide a lot of things that happen. You can even write some interesting policies where you for example know that you own some token but you don't know where it's it is right now or who previously owned it.

You could even for example do private fundraising. The Constitution Dow in 2021 famously was outbid after raising I think it was like $47 million of ether. And with liqufaction, you could do something where instead of publicly committing funds to a Dow like Constitution Dow, everyone who's participating actually privately commits their funds by sending an Ethereum transaction to a completely empty wallet. and this will just look like on the blockchain like it was some transfer to to some fresh wallet, but actually they're raising money for a DAO. And that's one of the really cool things that that I think people will eventually

start to use liquifaction to do things like that where it's bringing the positives out of privacy and that's in the future. That's what our goals are. Our goals are if we continue to work on this liquefaction track, we want to come up with positive applications and positive uses of privacy for the ecosystem. We've all heard about tornado cache, the problems it's brought to the like the whole system. We've seen attempts at solving those problems with privacy pools. Those at least the ones I know are zk based. As I've mentioned, liquefaction enables you to implement some more detailed logic, access control, even requiring your know your

customer in order to use privacy pools and you're able to implement more like regulation friendly constraints on these kind of privacy preserving technologies. I am pretty excited for these use cases. particularly the access controls are the things that I find the most useful but it I think the really cool thing is actually like the flexibility and I think this is what where crypto in the past went wrong is like privacy in crypto used or web 3 used to mean anonymity and there was like no it was very binary if you're not mono and you're not completely confidential and anonymous and hide every single aspect of a transaction then you know you're

not private enough, but then that that was met with regulatory like pressure and things of that nature. So from the audience perspective, I think we've always been focused on flexibility on our network, allowing people to choose which aspects of state are encrypted and what's transparent. And I think the really synergistic aspect of liquefaction is that it does the same thing. It allows for things that need to be public to be made public and things that need to be encrypted or confidential to be made confidential. And that is where I think web 3 is going because as you said earlier that sort of is what the institutions and that's what the trad people who are now adopting crypto and the regular users want is they want the same flexibility that exists in web two to exist to web 3 and that's what liquefaction is really

offering for all of its use cases. Do you think that doing a private fundraising is fundamentally opposed to like a compliant and regulated fundraising? Can these two things exist together in parallel or are these will they always be conflicted? I guess to highlight that is the reason they got outbid was actually because everything was public on chain. I think it was like one unit or a couple bucks that that they basically chain how much was ran w so privacy good for that but in America we have we're supposed to have caps on how much anyone can donate to a

presidential election so you can't buy an election because in theory I think it just highlights your point that it's hard to find the balance with these things I think are always diametrically opposed views and ideally technology hopes to bring things closer together where you balance it a bit better. Yeah, I think both of us, Danny and I like believe that they're not opposed actually at all. We think that there are because liquefaction is so flexible. You can create privacy preserving policies that are also compliant. They're just probably in in ways that we haven't we don't really think of them right now in web 3. Like for example, you could create a policy where only the people who are able to access this wallet or

participate in this program have proven them some aspect of themselves, the fact that they're a citizen of a particular country. And you might be wondering, can you use liquefaction to then use someone else's identity to get access to that thing? But we actually do have a solution to that and that's called complete knowledge. So for any application where you don't want some encumbered account to be able to access the protocol, we have our complete knowledge paper talks about these proofs of complete knowledge which essentially prove that the key has been leaked at some point and therefore can't really enter into an incumbrance policy or this off-chain agreement in a trustworthy way. For example, if you've proven

complete knowledge of your key, then at some point someone could have seen the whole key because the key has to be leaked over some insecure channel in order to create this proof. And so if the key gets leaked, then you can undermine any agreement that you try to enter into and you can't really share the key anymore after that. It's less trusted. That's our countermeasure to any sort of any issue with liquefaction that an application or protocol has with the use of encumbered accounts. My thought is as the enabling technology for instance on an Oasis level or even on a researchers level is there a responsibility or idea to make it as

flexible as possible such that you have a larger surface of players that could participate or is it important to for instance to make sure that you're abiding by certain regulations you come up with a very flexible attack surface and then you provide a counter measure to this and that's one side but >> I think D correct me if I'm wrong but what proof of complete knowledge that came out actually first right >> we provided the countermeasure before we came up with the attacks yeah >> you guys have published the liquifaction had you not already come up with a countermeasure or would you have taken some time before publishing it if there

was if all these attack surfaces has existed without a solution. >> That's a great question. Certainly like there are a lot of components to the liquefaction paper that we were debating. Are we going to release the source code for example? And we think it's always good to release it. But if there were actual like protocols that we thought were in danger of compromise, we probably wouldn't have done that. But we also contacted the especially the Dows that we were talking to because we thought that the dark dowo risk was probably the highest. beforehand. But because this kind of liquefaction constitutes a rethinking of ownership, it's not really something. It's not like a particular software vulnerability.

It's just a different it's undermining this ownership assumption which is on the social layer of things. But we that's a good question. We pro we might have still released the paper, but it probably would have looked different. And I think the fact that we had the complete knowledge paper first and actually the complete knowledge paper was over a much longer time span. Phil was thinking about this back in like 2018. The fact that we had that one first really made our decision to release the source code and go into all the risks of liquefaction a lot easier.

Just trying to see where the the boundaries lie just in terms of the future. I think what is the next steps for liquor faction for Aces? Where will things be going from here and what's something exciting that we can look forward to? >> Daddy had a great summer working out of breath. I'd love for him to talk about some of the work he's done as well as where that work is going. >> Actually, liquefaction has many applications. We've already talked about the ones that we like, the one that are already being implemented by different companies. I I helped Oasis on starting up the implementation of what I mentioned before as the overlay smart contracts. Basically, I built the basic

platform to what we call encumbered. We intuitively is creating a wrapped token within the liquifaction network for Bitcoin and used the Ethereum one that we worked on with James during the submission of the paper and basically created the basic logic for them to be able to be exchanged in a like DX or an AMM. So basically this overlay this L2 on Bitcoin and using the L2 on Ethereum for those things to come together and with that you can build any application you want using coin or wrapped bitcoin on oasis for example I think yall are

looking into building some kind of stable coin on top of that or some different wallet platforms to control the bitcoin in a nicer way. Is there a link to this or is this not public yet? >> It's a really early stage of the project. It's a pretty big project because it involves linking different blockchains and has many security risks that still need to be mitigated before it gets released in public. >> Are there next steps? I know you you're back at school now. fortunately wait to sad to to no longer have you but what do you have working at next steps of this paper and this project

>> yeah James and the group we are all looking into what's the next step for like a research paper we want to publish we are looking into these kind of interoperability of blockchains from maybe a decentralized like DEX perspectives and see what we can do with it how can we make it faster how can we make it less reliable on the TE's. Yeah, I think James can explain a bit more on that. >> We're looking at crosschain integrations using liquefaction. We're looking at ways of strengthening the security assumptions behind liquefaction and we're still in the early stages of our next project. So it but we're certainly excited to continue this line

of work and in general I'm just super optimistic about the use of these containerized TE applications because I really think all of the original like conceptions of things you can do with smart contracts like what people were excited about when they were first coming out were finally able to actually like create these applications that will fulfill those and do so many interesting things like trustworthy game servers for example. There's just a lot of opportunity there that I think the applications that involve liquefaction will like soon be a lot more diverse and just bring a lot more interesting things that you can do with blockchains like finally which is pretty cool.

>> I know that me and Ari talked about potential grant idea. The first part of that grant involved some improvements in T security that like would prevent benefit side channels. I don't know. Am I allowed to Are you guys allowed to talk about that right now or is it because it's going to be in a paper not really able to be talked about yet? Danny, you can explain it. Oh, yeah. So, basically, we were looking into liquefaction and liquefaction could eventually be holding a lot of funds. You could use liqufaction as a lending pool and and that could grow a lot.

What's a big problem if it has a lot of funds? It's the target of attacks. attacks specifically to privacy of TE's are really harmful to liquid action because if you break the T privacy then you're able to recover the key that holds those funds and you're able to steal those funds. So we've been thinking on how can we use maybe splitting the keys like secret sharing the keys using different levels of MPC or how can we use security of the OSIS blockchain and also some kind of logic integrated in the original blockchain could it be like Ethereum to be able to have a trade-off between this security and flexibility that liquifaction

enables. Correct me if I'm wrong, Danny, but basically what this means is as James said earlier, there has been a history of side channels. At least there hasn't been in a while, but these have had these side channel attacks which could leak secrets that are stored inside them. The idea of this is that be that a side channel attack alone would not ever be able to leak a private key for an uncovered wallet. You'd have it has some level of storage locally or something along those lines. Is that correct? Yeah. Yeah. That's the goal to not be able to steal the funds by just breaking the privacy.

>> A split key in particular might be for example a user having their own share of the key and the TE's controlling other another share as just one example. We even came up with a couple single user applications in the liquefaction paper which could directly benefit from this architecture. But the coolest applications of liquefaction obviously involve sharing your key with someone else. So we're still developing the limits of what you can do with a bunch of different technologies which would enhance the security of using a liqufaction wallet.

>> Yeah. From HS perspective, it's to continue to help or fun the research, help wherever we can. And besides that, they've done a lot of the work. Maybe it sounds easy, but I promise like Donnie did amazing work with Tupperware James last spring like making the making things secure. This is as much as it leverages smart contracts, the surface area attacks for liquifax are entirely different. And so there's been a lot of work being done to make sure we understand those surface area attacks. Things that like for crosschain such as like Bitcoin doesn't use none systems, how do you make that with Ethereum and things like that? So with a lot of things that don't sound so so flashy but are necessary for the next steps to

liquefaction. The next steps are for Oasis to pick one or two of these use cases and try to build it out and as well as provide the resources for other people to build their own apps or their own use cases starting. >> Yeah, I think that summarizes it pretty well. I think that's something that I'm curious about because I feel like a lot of I would say chains or projects which are open ecosystems are looking for one or two of these breakout projects and I think usually it's about these projects will lead the adoption of the technology of the chain and do you see

that as the next approach where you're going to For instance, whether it's a crosschain applications or whether it's more security on teams or and you're going to this is going to be the main focus for not just let's say James or Danny, but it's going to be the focus of actual Oasis. Yeah, I would say our focus has shifted as we've grown and as blockchains have matured. Right now, we're not we're not so focused on our native pillar application. We're really focused on these sort of how we can be what we call like the Oasis privacy layer or as you as Brian said earlier like a layer two how we can enable DAPs that are already powerful on other networks to leverage

confidentiality leverage simplifaction and better compete with the web 2 applications that they are like I guess compared to. So we're not I don't know if we're necessarily looking for a killer app. We're more so looking for a killer integration or just slowly building market share and getting people to realize hey you can actually build this using liquid back and improving web 3 as a whole you across other blockchains as well. Of course, applications can always build on OS. Our native ecosystem, they can do that. But for from our perspective, I think the tooling and infrastructure level is really what we're focusing on right now.

>> General what we're playing around here is it's a very innovative design that we're really thinking outside of the box. I think this is the best way to describe what we're doing here. when everybody's struggling to improve Ethereum and everything within this circle, we're approaching it from outside and we don't know which one's going to win or maybe it doesn't matter but it's just it's a very exciting thing. I think the mission that we're really approaching both Oasis and all of us liquid factions and J and I were working on right now it's about just distributing this trustless computation to the mass and before it was pretty much you have to tap into blockchain but now you can tap into this relay

environment via liquifer 2 but there's a lot of like app chains and like things like hibachi that runs on Zuk VM and there's layer all of these that expands the capacity, the capability of Ethereum, especially the performance, the computations, scalability wise, and also now adding this privacy to address more use cases. Yeah, I think it's just is mult. It's like a multi-model style that is just I think it's pretty cool and yeah, I just feel like they're doing God's work. So, super bullish on this.

Well, and just last thing, one just some housekeeping stuff. I guess this is the the end of the podcast officially. Just want to firstly thank you guys for taking the time to do this. James for doing backda and now the podcast. daddy for taking the time to do this amazing to also meet you and William of course most importantly providing all the infrastructure for making this possible I think one if any of you are coming to Singapore or parts of Asia anytime please let me know it'll be awesome to host you guys and

two there's always new things coming up and it'll be awesome to follow the progress of a lot of the projects whether sofaction whether it's oasis because I think there's a lot of curiosity to to learn and to understand and only once we understand can we actually build on top of this and I think our goal is just to democratize access to these ideas. >> Yeah. >> Thank you for having us. It was amazing. >> Thank you Rashin. I appreciate this format mostly because you're showing everyone how our academic research is really changing the landscape and that's what we hope to continue doing. So, thank you very much.

>> I appreciate you guys having me on the podcast. Hopefully, I sounded somewhat intelligent, but yeah, thank thanks to James and Donnie really what they've done is credible and I think liquor landscape or at least it has the capability to. So if anyone is interested in learning more, reach out to them, reach out to me. And if anyone is, I guess, interested in building with perfection, I'd love to hear your ideas. You can reach us at on Twitter protocol. Yeah. Or Yeah. And last shout out of course to Brian who is the smarter side of the discussion. My goal is just to facilitate it. And yeah, honestly, I appreciate you.

>> It's hard to act on. I know, but you're amazing too. All the best.

Related talks