Protect and Monetize Your Data: A Web3 Developer Toolkit
ETHCC 7 · 11 Jul 2024 · 25:30
Martin Leclercq of iExec presents the company's developer toolkit for protecting and monetizing data. He explains trusted execution environments (TEEs) and Intel SGX enclaves, then demonstrates the Data Protector SDK: data is encrypted, stored on IPFS, its key is held in a secret management system inside an enclave, and ownership is recorded onchain as an NFT. He shows Web3 Mail, which sends email to an Ethereum address without knowing or storing the recipient's email address, and a sharing add-on for renting data. In the Q&A he says building is free for now, a voucher model is planned, and a task costs roughly 15 cents.
Speakers
Topics
From ETHCC 7, hosted by Ethereum France.
Transcript
Okay, great. Hello everyone. Um I'm really excited to be here with all of you today. I'm Martin Devrell at IXEC, and today we're gonna talk about uh the powerful tools that IXEC provide for data production, management and monetization within the web3 ecosystem. So we're gonna start to discover IXEC, then talk about teen confidential computing, product data and developers' tools. So sorry.
Let's start with a quick overview of the IXEG story. We started in 2017 with our white paper. Then we passed through decentralized marketplace with computing power and data, then blockchain and confidential computing, and one year ago we started working on our developer tools and an incubator, and voila. Okay, so I'm starting with a really long sentence, but that defines the best our value proposition.
We are providing uh tools with flexible control over the data within the web 3 ecosystem ecosystem thanks to our decentralized protocol. And I'm gonna talk a little bit more about our decentralized protocol. It's a mix between off-chain computing with different stakeholders like workers, schedulers, and etc. and an on-chain part with our smart contract called POCO, proof of contribution. It's a kind of band leader that creates a synergy between the power of the confidential computing and the immutability and transparency of the blockchain. Then on top of that, we build some developer tools.
We've got three actually. And we got data protector utilized end-to-end encryption, recurring ownership on the blockchain, and flexible monetization mechanism. And we've got a bunch of partners that already integrated our solution, but I'm gonna talk as well a little bit after. Trusted execution environment, confidential computing, privacy and choice for user, and monetize your data.
And I think you notice two doubtful faces on this slide when you will see it during the conference. It means that I need to explain some key concepts. And I'm gonna start with TEE, trusted execution environment. Think TEE of a secure uh zone in computing environment where the data can be safely processed without being altered, stored or stolen by anyone, even if it's the dark vador computer far far away in the galaxy. So why using uh why using TEE?
First, thanks to the Intel SGX chipset, we've got what we call an enclave. An enclave is a part, a small part in the uh Intel SJX uh chipset memories that it considered like a black box, a total black box, and everything that happened in it in this black box remain totally confidential and private. So, first, why using it? Security. It ensures that the data and the computation stay uh remain confidential and temper proof. Two integrity.
It guarantees that the code running in it has not been altered. And finally, confidentiality. It products sensitive information from unauthorized access. So how use it? It's quite simple by the way. You just need a data, you can encrypt the data, then send it into this enclave, this black box. Then in this black box, we will compute this data, then re-encrypt it and send it back to the user. Second term, confidential computing.
So I think you you get it. Confidential computing, it's the magic that happened in the uh in the TEE trusted execution environment. So we talk about privacy, we talk about confidential computing, but the link between everything is data. More exactly, uh producted data. What is a producted data? It's any kind of data that is securely encrypted and processed. Um that is securely encrypted and processed, ensuring it remains confidential from unauthorized access during the entire life cycle. So it might sound a little bit complex, confidential computing, TE, wow.
So sorry. What we've done at IXEC is we abstract the complexity of confidential computing and we put this power in our developer developer tools. We put the decentralized confidential computing power into our dev tools, DCC. So let's try our first superhero data protector. First, what you need to know it's a kind of plug and play tools, like it's an SDK. You don't need to be a Web3 uh full stack developer, senior.
You just need to know how to install SDK, NPM, Yarn, P NPM install, and that's it. So let's have a look a little bit. Oh, sorry. I got I've got a backup video in case of internet. No, that's all right. Right. Okay. So for this example, I will protect an email.
So as you can see on the left, you just need to install, then import data protector. Then here you need just to set up a new instance of data ixec data protector with a provider as a parameter. Then easy, you just need to call a protect data method. So let's do it. And it's a good technique to give you my email. So let's go.
And so while it's loading, you can you can test it on your computer if you want. So and okay, so demo effect. No. Perfect. And that's all. Your data has been granted, uh protected. You notice here there is an Ethereum address. And I will explain why.
So here is a beautiful diagram. It took me two days to make the design. So enjoy. So when I clicked on the product button, it called the data productor SDK. And first it encrypted the data with a symmetric key. The encrypted data has been dropped on a decentralized storage like IPFS or whatever you want. Then the symmetric key we use to encrypt the data has been dropped on what we call SMS, Secret Management System.
If you remember, I talk about Enclave, Confidential Computing TEE, uh SMS, it's a database running into this black box. This total private private black box called Enclave. So we got encrypted data on IPFS, we've got symmetric key we use to encrypt the data on our SMS, and finally we call our smart contract data productor to create the ownership of the data on the blockchain. It's an NFT linked to your wallet.
So great. So if I go back there, sorry, I will authorize myself to use my data. Okay, I think access has been granted.
So same story, just call the method, and you can ground access. So if we look in details what we've done, we call the ground access with a few parameters. First, we use the producted data address. If you remember, I product the data, then I add I add in return uh uh Ethereum addresses. So you need to put it in first. Then you need to add an authorized user a wallet address.
It's a MetaMask wallet, and then there is a third parameter called authorized DAP. What is that? A third you need to authorize to a third party cause called IXec application. So you need the producted data address, then you need the authorized user address, then you need a uh IXec application address. But the backup video. What is an IXEC application?
An IXec application, it's simply an application that can run in an enclave. It means that can compute some data in a total private and confidential way. So under the hood, there is a lot of complex process, but we abstract everything. And we are able to deploy every kind of application that could compute data. And as I said, in a total private way. So for instance, I'm we'll talk a little bit about Web3 Mail.
Web3 mail is an application that enables the way to send email to an Ethereum address without knowing or storing. So I product the data, the data, I authorize someone to use this data, and then I authorize Web3 mail to send an email. But I think it will be easier, easier to understand with a real use case. To send to use web3 mail to send me an email without knowing or storing ever my email.
So it means reduce spam, privacy and security, ownership and control. You keep the control of your data. And you can the best part, the sorry solo gato. It's you can monetize your email. It means when you product and you authorize someone, you can say, okay, you can use it two times, but you are you need to pay, I don't know, one ether, because I'm really, really good uh solidity developers. So you can monetize your data. That's pretty amazing.
So, same diagram, but other title, many data, many ixec applications, infinite possibilities. You can even think about building your own application, running an AI model in an enclave to compute data in a total private way. But there is a sky in the limit, as we say. So let's explore a new use case with data productor sharing. It's not uh a proper new tool, it's an add-on.
We uh it's we add to data productor new flexible uh monetization uh mechanism. So here is data protector sharing cuts and box. Everything I'm showing right now is uh available in the link I um I gave uh in at the beginning. So first you can create a product data. We already done it, and I think everybody understands what happened, but then you can create a collection. It's a kind of bag where you will be able to put every producted data in it.
So adding product and data to the collection, but best part, set producting data to rounding. It means you can set up a price. You are a creator. I'm a author, I'm a book author, and I will maybe create chapter by chapter. I can protect my first my first chapter, then put it in renting, set a price, then someone can direct buy it, directly buy it, or even uh rent it. Then he can subscribe to uh and it will be able to access to other chapter and chapter than chapter. We have a live use case called Color Creator.
I was talking about a book author, but uh disclaimer right. It's a live use case where artists can set uh put uh upload and uh put a price for renting to a picture book, PDF, confidential document, everything you want. So I'm here, I want to run data production sharing sandbox code, maybe can click on it, and you need to pay to access.
We are working with Ashguard. It's used here, they use data protector to secure and decentralized data storage. Nemeos used to provide privacy preserving notification for NFT payments, and we just start with Mystic. They use our um our Oracle factory to add trust and transparency on RWA NFT marketplace. So I'm talking about privacy, so I can see the question coming.
We are not alone. So when it comes to privacy enabling technologies, there is no one size fits all solution. And there is a lot of solutions. But they have all their strengths and limitations. So regarding everything, when we talk about privacy enabling technologies, there are some limitations, but regarding specifically TE, the technology that IXEC use, compared to the other, we can run legacy application in an enclave in this private black box. That's pretty amazing.
But as I say, there is no one size fits all, and only one solution can solve any problem. So it's why we are starting to think and we are starting to work about complement, merge some technology. We can think about MPC and TEE, could be amazing. But better, we can we could think about ZKP and TE, it could be ZKPT. Yeah, I am launching a new new trend, ZikPT. And we call that hybrid pet.
So a few uh a few information about our ecosystem. We used to work and we've been part of different different incubator, uh confidential computing incubator. We worked with big tech, but right now we are focusing on our builders' community. We are what we are working in DeFi in privacy, social fi, AI. But what we wanna know, because it's quite what we want to do, it's quite new tools, one year old. We want to improve them, we want to test them. And we need to develop tools with builder for builders.
It's why we are providing different kind of uh grants program, community bounty. So if you have an amazing uh decentralized application with existing user, you can scan this QR code or just come to see me just after. And if you want to integrate uh our solution in your project, we are we can provide some grants. And if you have an amazing idea for data product or sharing, and there is a lot of same, you can scan this QR code or come to see me and just talk about our your idea and see if we can make something and same providing a grant. We are start to five K, but as I say, Sky is the limit.
No, not really Sky, some one 100k. Okay. So that's all. Uh you can meet uh OGPWAP uh right now. And if you've got some question, if it's too complicated, I've got my backup tech draw right here. So uh yeah, it's all for me. Thank you very much. And uh feel free to ask some question. Wow, it was so clear.
Cool. What's your pricing model? Or how does how does your revenue work? Really good question. Thanks. So actually we are on a sidechain called Bellcour, and it's a gasless sidechain. So everything is free for builder. But we are working, we are just working on a new business model paradigm called so actually it's called voucher. It's a way if you want to use our developer tools, you will just need to fill a kind of bag of token, but it's on uh escrow contract, right? It's owned uh by IXEC, and then it's a paper task.
Each time you will need to compute something um to make some confidential computing, you will pay for the confidential task, and then your bag will be withdrawn. So right now for builder for builders, everything is free. But as soon as your project goes live and you are in the earning phase, we can start talking about our new uh new business model voucher. How much will it cost? Right now, free. Oh, for the user.
Oh, you're gonna have underlock it. We are providing tools for builders. So user, it's totally. The builder can decide. Then he can yeah, some uh add some fees and stuff like that. But uh it's totally it's totally transparent for the final the end user. Oh, end user. I understand. I'm just uh so I guess the other question was how do you make money? Oh, we are making money, it's a win-win situation. Because right now when you start building it's free.
But if you start growing and put your uh your application live, you will uh need to pay. Uh but as it's a paper task, each time if you're if your project is growing fast, you will need to pay more uh to buy more uh token uh on our side. So it's a win-win. No? I get it. I I want to understand how much the task is. How much the task is, I think if I well remember, it's uh 15 cents a task. Clear, thank you.
Okay, sorry. For any computation. More or less, more or less. Yeah, more or less. But we are working actively to make it cheaper. All right. So uh in one of the earlier slides I saw IPFS. So the uh just to make sure I understand correctly, you have the encrypted data after encryption on IPFS? Yeah, we encrypt the data, then we drop the encrypted data on IPFS in on a decentralized storage. But the symmetric key as uh is a dropped on uh on the SMS, your data buzz running into in the in the enclave.
So it's only encrypted data on IPFS. Even if you access the encrypted data without the symmetric key, it's totally useless. And like suppose I know that it is encrypted, but if you wanted to shift it to some sort of centralized storage, would that be possible? Theoretically. Yeah. Cool. Let's go lunch.
Related talks
- Confidential Tokens: The Missing Primitive for the Next Generation of DeFi
- Confidential AI and decentralized confidential computing - Martin Leclercq | iExec
- TLSNotary Workshop | Hendrik Eeckhaut | Own your data with TLSNotary | ETHDam 2024
- Best use of Fhenix Stack - ETHOnline 2024
- The Synergy of AI and Trusted Execution Environments (TEEs) - Martin Leclercq | iExec
- TLSNotary: make your private data portable with TLS-MPC
- FHE on Ethereum
- Marlin 🛠 Web3's off chain compute marketplace
- Homomorphic Encryption in the EVM