Episode
For the video version of the episode (or for closed captions and translations), see YouTube:
Show Notes
This episode, we’re sitting down with Eric Sirion and Matt Odell to chat about FediMints, a fascinating and unusual new proposal that seeks to ease onboarding and privacy on Bitcoin with important trade-offs.
More about Eric Sirion and Matt Odell:
- Eric Sirion’s guest profile – https://optoutpod.com/guests/eric-sirion/
- Matt Odell’s guest profile – https://optoutpod.com/guests/odell/
More about FediMints:
- Website – https://fedimint.org/
- Github Organization – https://github.com/fedimint
- FediMints Telegram room – https://t.me/+-AsKtcH4Geo2ZTU0
- Citadel Dispatch episode feat. FediMints – https://citadeldispatch.com/cd45/
Opt Out’s Sponsors:
- Cake Wallet, an easy to use Monero mobile wallet – https://optoutpod.com/sponsors/#cake-wallet
- LocalMonero, an excellent and privacy-preserving way to buy and sell Monero – https://optoutpod.com/sponsors/#localmonero
- IVPN, an ethical, no-nonsense, non-logging VPN provider – https://optoutpod.com/sponsors/#ivpn
Supporting Opt Out:
- Donations – https://optoutpod.com/about/#donations
- Leave a review on your favorite podcast platform, if possible!
- Share it with your friends, family, and other communities!
Transcript
This transcript was generated automatically with Whisper speech recognition. It has no speaker labels and may contain errors, so please check the audio before quoting it. Timestamps open that point in the video on YouTube.
Read the full transcript (15,685 words)
00:00 Hello, I'm Seth For Privacy, and welcome to season three, episode one of Opt Out. Opt Out's a show where I sit down with passionate people to learn why privacy matters to them, the tools and techniques they've found and leveraged, and where we encourage and inspire others towards personal privacy and data sovereignty. In season three, we're going to be taking a deeper dive into cryptocurrencies like Bitcoin and Monero, why we need them, where they can fit in your toolkit, and how to think about privacy when using them.
This episode, I'm very excited to be sitting down with Eric Sirian and Matt O'Dell to chat about Fedimints, a fascinating and really unusual new proposal that seeks to ease onboarding and privacy on Bitcoin, with some important trade-offs. Welcome on to Opt Out, Eric and Matt. Hey, nice to be on. Thanks for having us, Seth. Big fan of the pod. Glad to finally be on it. For round two. You've been on before, Matt. Oh yeah, that's true. It's been a minute.
I've only been a listener so far, so really happy to finally speak to you. Yeah, I'm glad to have you on as well. I think we hadn't crossed paths until really only a few months ago on Twitter, but have really been a fan of what you've been building with Fedimints and your openness and honesty with trade-offs. And just the things that the approaches that are being taken within Fedimints are obviously very different. So I'm thankful that you've been open to criticism and just have, I think, taken a very good approach with it.
So I'm excited to jump into Fedimints for this first episode of Opt Out in season three. And obviously they've been a hot topic in the Bitcoin community and are quite a bit outside of a lot of the normal proposals, specifically because of the custody trade-off, which is usually kind of one of those untouchable things in Bitcoin. So I think getting into a lot of the nuance and detail in a way that maybe Twitter isn't a good medium for will be helpful.
But for those guests who, or for those listeners who don't know y'all, do you mind just quickly introducing yourself and then maybe telling us a little bit about why you're excited about Fedimints as a concept? Yeah, I think I will go ahead. I'm Eric. I have a background in computer science, cryptography, distributed systems, and have been in Bitcoin for a while. And like over the years, like the main topics that interested me were privacy and how to bring Bitcoin to as many people as possible.
Like what we often call hyper-bitcoinization. And so the more I learned about cryptography, distributed systems, like at some point I just got this weird idea, federated e-cash. And over multiple years, like at first I didn't think it was a great solution for anything. But over multiple years, like I got to the point that I thought like, hey, that's actually pretty cool and began building it. And apparently a lot of people got really excited. Here we are.
What's up? I'm Matt O'Dell, return guest on Opt Out. I have a show called Citadel Dispatch that's focused on privacy, Bitcoin, Freedom Tech. And I had Eric on the show maybe now, it's like a year and a half ago. It feels like a long time ago. Eric's giving me looks. I think it was after adopting Bitcoin. It was a little bit less than a year ago. It was like 10 months ago, but in Bitcoin time, that feels like 10 years. It's been a long year. And Fedimits were in the early stages.
And I fell in love with the trade-off model. I started talking to Eric a lot more. I got him to Miami for Bitcoin 2022. So I've just been very aware of the project and excited about the project. And I've been following it this whole time. As for this conversation, Eric is the specialist. So I will be, whenever Seth is asking a general question, I'm going to cede it to Eric first. But I'm here to provide more insight and just kind of jump in whenever.
And it's just an honor to be here with you two gentlemen. Yeah, for sure. I wanted to have you on because you've been one of the main people kind of ringing the bell for Fedimint and making sure people are aware. So I figured it'd be a good fit to have Eric on as the technical expert for Fedimint and you on as somebody who obviously sees it as a useful tool for people. And obviously, you have a big focus on privacy on Bitcoin. So to get things rolling, let's start with Matt.
What was it that woke you up to the need for more attainable privacy on Bitcoin? I mean, so it was kind of over time. Over time, I saw this normalization of these regulated services that were acquiring KYC and identification information. It was definitely very much a gradually than suddenly type of situation. You saw like an early, late 2015, early 2016, like one exchange, one service after another started making more and more stringent requirements.
I had already previously been interested in using Bitcoin more privately. I think the big wake up was in 2013 or 2014, Coinbase got sued by the U.S. government. And the U.S. government told them they had to give over every single user's information, regardless if they committed a crime. Coinbase fought that case, but ended up giving them like 10,000, 20,000 users information that were like high value users. If they did a certain amount of volume and that included withdrawal addresses, names, all this different stuff.
So the Bitcoin privacy conversation has always been evolving. But the fact that 99% of new users are coming in through these regulated services, they're providing all this identifiable information. And then you have these basically surveillance companies, these surveillance mercenaries, and they call themselves chain surveillance companies, that are collating that information and then using it to track payments on chain really elevated. I think it really elevated the speed which these tools kind of need to be provided, the speed that these improvements need to be made, because they're very real risks that are happening today.
Yeah, I think that growth of KYC and the growth of adoption for Bitcoin and name recognition for Bitcoin makes it all the more important that we have easy ways for people to access privacy. Because most people are not going to jump straight from opening a Coinbase account to doing a Whirlpool and Samourai Wallet. It's a slow progression. So an interesting middle ground that has different tradeoffs, I think, does pose a lot of potential. And I think, you know, I always talk about like my favorite way to learn is to just get your hands dirty.
I think that's the way most people learn. I think, though, the problem is usually they learn because they burn themselves. And, you know, I burn myself as well. So when I first got into Bitcoin, it was being pitched as anonymous currency that I didn't really have to do anything. And, you know, within a few years, I look back and like I left so much bad, like I just left leaked so much data on chain. There was just so much. And I was just like, that is absolutely ridiculous.
Why didn't anyone warn me about this? And there's a, you know, there's a million Bitcoin influencers, but there's like a dozen of us talking about talking about the risk of privacy leaks on chain. Unfortunately, the exception for sure. And how about you, Eric? What was it that woke you up to the need for more attainable privacy on Bitcoin? Yes. So first of all, I believe that privacy is a requirement to live freely. And just to protect yourself against prejudice and judgment by other people, maybe like the legal system or just your society around you.
And like with Bitcoin, I spent a lot of time in my late teens on so-called darknet forums, like just nice forums where I could post anonymously. So people weren't judging you, like you could just be judged on the value that you added to the conversation. And that was really great. And back then everyone was using Bitcoin. And I thought like, okay, like Bitcoin is this private currency, not controlled by states. And it's really cool. But then like five years later, when after getting out of school and like doing other things, I wasn't following the whole darknet scene all that much anymore.
And five years later, I noticed, hey, these people aren't using Bitcoin anymore. Why is that? And that was really depressing to me because I still believe that Bitcoin is the best money there is. And so it should be able to compete also in the privacy space. And yeah, that's what woke me up to the need for more privacy on Bitcoin. Yeah. Yeah. I love that. And I think that's a key reason why I, even though, yes, a lot of my focus is on Monero, I keep as much as I can also focusing on Bitcoin privacy because so many people are going to come into Bitcoin no matter what.
Like, I don't think that's something where we're going to, people are going to come into another cryptocurrency like Monero long term. I don't think they're going to come in through Bitcoin generally. And so them having access to tools that give them strong user privacy is very, very important there. So what was it that actually prompted the creation of Fedimint? You know,
10:00 You talked a little bit about how you had looked at this idea of federated Xiaomini cache in the past, but weren't sure if it was a good fit or not. But what was it that actually made you go, no, I need to dedicate time to really build out a project around this, Eric? Yes. So it all began with the release of Liquid essentially in 2018. And at that time I thought, why does Liquid have a blockchain? You don't really need it. Okay, that's auditability, but you trust the Federation anyway for fund safety.
And I had also done some research on Xiaomi and eCache at university. So it was like the natural thing to do to just combine these two. But the problem at the time was it needs something called special plan signatures, special cryptographic scheme, which allows you to acquire signatures without revealing the message that is being signed. And the threshold variant of that allows you to do this by involving up to N signers, out of which you only need T.
Like some of them can be offline or malicious. And that's what makes federations tick. So like with that knowledge, like I thought like, hey, we could build a really powerful tool to mix Bitcoins with that. But it didn't appear to me as a payment tool yet. And later on, I noticed, hey, if we integrate this technology with Lightning, then we can actually use this federated eCache concept to make Lightning payments. And suddenly isn't only like a privacy tool, but also a payment and scalability tool for Bitcoin.
And that's when it began to make sense to me. Because before that, like if you just have the federated eCache without Lightning integration, it has a higher centralizing force. Because everyone, if you use it for payments, everyone needs to be in the same federation. And if you don't use it for payments, it's not all that interesting. So from then on, like I kept talking to people and was figuring out like this problem with the special plant signatures had a lot of help from Tim Ruffing.
So in the end, by end of 2020, beginning of 2021, I was really beginning to build a prototype of that. And even going a step further, at some point, I met Obie Navozo at a conference at HCPP here in Prague. And we discussed this project and he was excited about it. And he came up with an even better use case for it yet. Custody. Because the trust model of federated eCache made it such that it's also a good solution for Bitcoin custody actually. And so we had these three things that essentially fixes for Bitcoin.
Privacy, scalability and custody. And that's just super powerful. And it really became like, yeah, like everything I was doing from then on was just federated eCache. Yeah, I think that that approach of it not only being a tool that you can either store funds in or maybe spend within the Fedimint, but actually being able to plug it into the Lightning Network is what made it click is like, okay, I can actually see this being useful because you can gain that privacy and make payments directly out of it.
So you're not kind of stuck in this separate ecosystem of Fedimints. But it plugs into the broader growing adoption of Bitcoin, which I think is the kicker for me in actual like use case that it can pose. Right. Right. And one honorable mention I should put in here. There was also a script developed by Jonathan Logan, AKA Smucker. I think you had them on your podcast. Yeah. Yeah. And yeah, they developed script in parallel. And I got some inspiration from there.
And we were just communicating and like they were motivating me to build my stuff and the other way around, I think. So it's really great that they did the script thing. Even so, it seems to be pretty dead right now, which is sad. But yeah. Yeah. I don't think it's survived, but I think the idea had a lot of similarities in the technical approach to privacy with Fedimints. Yeah. And Smucker was also on the first podcast ever about Fedimint. Oh, nice.
Yeah. I didn't know that. I'll have to go back and find that one after this. What was it for you, Matt, that really got you hyped and excited for Fedimint? Because I think I've only really heard you talking about it in the last two, three months, at least more frequently than before. So what was it that kind of made it click for you as a potentially useful tool for Bitcoiners? Well, first of all, part of the reason I'm talking about it more now is because when I had Eric on 10 months ago, I think he told me his ETA for something that we could actually play around with was like two years and that he wasn't even confident in the two year mark.
Like that was a bullish, a bullish number. And then recently him and the rest of the team have made a ton of progress. So it looks like we're actually going to be able to play with it in our hands. And I don't really like to talk about things that are more theoretical. It just seems like a waste of everybody's time. There's a lot of noise in the space. It's a very easy way to cut noise and focus on signal is to only focus on things that are launched.
But in this case, with an open source project, it's really nice to build some momentum pre-release because, you know, they are looking for more contributors. It does help the project out. But with Fedimance specifically, why am I excited about it? I've spent years focused on trying to improve my own Bitcoin privacy. Some of those years have been focused on education, on helping other people improve their Bitcoin privacy. The tools we have available for us are better than ever.
But the two main things I've learned is at the end of the day, people, there's so much nuance with using Bitcoin privately that the main hurdles are convenience, like actual ease of use in UX and cost. And pretty much every Bitcoin privacy tool up until this point, those have been the two main tradeoffs. You know, I love Whirlpool. I really love what Sparrow has done on the desktop UX for Whirlpool. It makes it way more accessible than ever before.
But it's still an accessibility hurdle. Like, it's a cost hurdle, but I don't even know if cost is the main thing. We talk about incentives a lot in Bitcoin and people are like, OK, if we can make, you know, collaborative transactions like CoinJoints cheaper than regular transactions, more people will use it. I'm not sure if cost is the main hurdle here. To me, the main hurdle is convenience and ease of use and also this additional mental burden that, oh, OK, if you do figure out how to actually do collaborative transactions, go through that path, then also keep in mind your change and label everything and do all these different other little things.
And that adds up in your head. It creates this massive mental burden in your head. The promise of Fedimint. And then meanwhile, so all that has been all that education has been going through. I've been onboarding a bunch of users into using Bitcoin more privately and more sovereignly. But we're completely outpaced by the overwhelming majority of users that continue to use regulated services and continue to use custodial services. That's growing at a massive pace.
So to me, it just almost feels like, you know, you're just pushing a boulder uphill. It's just like everything is stacked against you. And with Fedimint, the tradeoff model is not as ideal necessarily. And we'll go into deep from a sovereignty level. But it does make it extremely convenient and extremely cheap while giving you very strong privacy guarantees. And that's what appeals to me. Yeah. And I definitely want to dive into those tradeoffs later on.
But I think when I get a better picture of what Fedimint is solving for users and really what we want Bitcoin users to get from Fedimint. And obviously, like you mentioned, I think 1.0 and I highlight there too is since this is an open source project, getting eyes on and getting people thinking about it even before it's released is valuable because you get the chance for more contributors to jump in. You get more people, even non-technical people just looking at it and trying to figure out what are the issues that I see in it?
What are the potential flaws that I see? How would I care about the tradeoffs? That kind of thing. So getting attention on it even before release, I think, is important. And like you said, I think it looks very promising that this will release, that we'll actually have Fedimints. It will be a thing. So I think we're at a good point to talk through this. But I think one question that I've gone over with other tools and projects that I've talked with is just really what do you hope that users get from using Fedimint?
So not maybe a technical level, but what is it that once Fedimints are out, you're hoping that people can gain by making the tradeoffs that we'll talk about a little bit more and starting to use Fedimint as maybe their main way to interact with Bitcoin? Or what do you envision there? Maybe you want to start and kick us off there, Eric. Right. Yeah. As I mentioned, my views on use cases for Fedimint have evolved over time. And by now, I think there are two main use cases.
It's the payment side and the custody side. On the payment side, I think what Fedimint actually is for most users is just a custodial Lightning wallet with really great UX. But the custody is...
20:00 kind of reduced in the way that you now don't trust a single provider, but like a federation where like T out of N participants would need to like collaborate against you to steal your funds. So it's a much better security in my opinion, but it doesn't impact your access much because when you look at like self-hosted Lightning wallets, your access typically really bad because you have to manage channels or if you don't manage channels, then you have to open them just in time, which leads to really weird fee behavior. Like for example, a Phoenix, when I want to receive a payment and suddenly I have to open a new channel and I have to pay a high fee, how do you explain that to users that don't really know about Lightning and Bitcoin? So it's all these UX hurdles you don't have with federation or federated approach because for the most part, it behaves like a centralized service, just the trust is split over multiple parties. So what you also get on the payment side, which most users don't even care about, but what I want to give them
nonetheless is a good default privacy. So you cannot really sell the Bitcoin wallet to users with this has best privacy. I mean, we see this with Wasabi and Samourai, like how many people are using it actually? Like not that many, like it's not a best sales pitch. This wallet is super private, but if you can give people great UX and also good default privacy, they will use it because of the UX and also get the privacy. And that's what I want. The second point is the custody side. Like many people store funds on exchanges these days. That's not necessarily because they want to trade, but just because they want to use the custody of the exchange. Because like, what happens if I die? What happens if I lose my passport?
Like this exchange has to take care of all of that. And you don't have to be self-souvern because self-souvernty means a lot of responsibility, which people don't necessarily want. And with the federated trust approach, we can probably talk about this a little bit more later, how this even works. You can kind of outsource this custody to your federation, to the guardians of your federation. And in that way, I hope that users will have a better option in exchanges, which are regulated entities. So if you hold Bitcoins on an exchange, they aren't really US because like a government might come in and just say, Hey, they are ours now, like with the gold in the US. And yeah, in that sense, I hope we can achieve more decentralization, even in the hyper Bitcoinized world, which will include many people that are not technical at all, and might not even have the financial means to use some of the technology, the cut core Bitcoiners use today.
Yeah. And I love that you hit on the fact that selling something as a privacy tool generally isn't going to bring the masses. Like most people don't start to use something because it is privacy preserving. Obviously, I mean, the listeners of this podcast are probably going to be in that, that group that would, but most of the people that we know are not going to, you can't even sell them on something like Signal if you just pitch it as, Hey, it's more privacy preserving and no one can snoop on your chats. Like, yeah, people do want that. And I think most people, most people have a desire for that. But most people aren't going to switch from something that's easier because it's private or something that has a better UX because it's private. And we've seen a lot in the privacy tool space that the tools that succeed like Signal do so by having a very simple UX, having something that's comparable to other tools out there, and have unique features that sell people on it. And then they get that default privacy. And then they get that default privacy.
And I think that's oftentimes the best approach with privacy tools. And that's one of the things that does get me excited about Fedamence because people don't have to care about privacy. If they use it, they gain strong privacy. Yeah, it's funny that you bring that up because sorry, Eric, it's funny that you bring that up because oftentimes we're going to be able to do that. And I think that's the best approach with privacy tools. And I think that's one of the things that does get me excited about Fedamence because people don't have to care about privacy. If they use it, they gain strong privacy. Yeah.
It's funny that you bring that up because, sorry, Eric, it's funny that you bring that up because oftentimes when I describe why I'm excited about Fedamence, I explain it as Signal for Bitcoin. And why do I why do I say that? I say that because if you ask privacy purists if they support Signal, they will tell you it requires a phone number. I don't like that it requires a phone number. I don't like that. No one not any. It's not permissionless to be able to run your own signal server. You have to rely on their server. So the purists on the privacy side would say that, you know, Signal doesn't check all the boxes for them.
But ultimately, Signal has been able to get this private messenger out to way, way more users because they made a specific trade off balance that made it more convenient and made the UX better. Yeah. And I think especially for privacy advocates, privacy maximalists, let's say, it's also important that many normal users use these privacy tools because otherwise, like what crowd do you have to hide in? Like privacy needs company. That's a nice slogan, I think, from the Tor project.
So that's what we're building with Fedimint. Like we give normal users really great UX, they want to use it, and they even provide our privacy maximalists with anonymity set. Yeah, a good privacy tool provides privacy to people who have no idea that they're getting it or that they want it. And by doing so also provides better privacy to the people who are deeply passionate, deeply understanding, have more advanced threat models, etc. So it is a very important point there.
Anything you want to add on what you hope users get from using Fedimints, Matt? I mean, like the way I look at it is, I think for most users, it will be used as like a main spending wallet. There's basically, when you look at like the two groups of users, potential users of Fedimints, I like to group them into, you know, like the Western world, the developed world and like the global South. And so in the Western world, people are probably not going to move away from regulated services.
So I imagine Fedimint will be used as a, as a day to day spending wallet, you know, you buy at a regulated service, they send into Fedimint, they get some strong privacy guarantees, it can, it'll work every time you make a payment, you don't have to deal with channel management, you don't have to deal with anything else. And then those people will probably use it as a, ideally use it as like a middle ground between that and their cold storage, you know, then they send it to, to better cold storage, because they can afford to do that.
I think there's a very strong argument that in the global South, in regions where people, you know, it's harder for them to get expensive electronics, they, you know, might be living on a lower paycheck, they might end up relying on Fedimint as a savings wallet as well. So, and in that particular situation, what I would expect is to see like more community type federations where, you know, maybe, you know, the, the, the, the quorum of signers is, is held by people that are trusted within that local community.
And people feel comfortable, you know, giving up some sovereignty to them, because they know, you know, they trust their judgment more than their own personal responsibility. Yeah. And I think that ability to, for it not to just be a kind of faceless, nameless group of people actually custodying funds, but the ability to build small, like almost community banks out of it is a really fascinating piece to me because it can be, if you're trusting a federation, like I would be wary of trusting a federation that I have no idea who they are, but then I'd also be wary of trusting a federation that everyone knows who they are.
And I would be wary of trusting a federation that they are, so a government can easily go after them. So that middle ground of a local community where you don't need to advertise that all of you are running a Fedimint, but you can run that as a community. The technical people in the community can be the custodians, be the people running the, the lightning service provider, if, if that makes sense. I think it's a very fascinating use case there. And we already see real world example of that, which is the Bitcoin beach wallet in El Sante, which is, is run by Galoi.
And with them, what they did was they attached a custodial lightning node on top of a community multi-sig. And the result was the, the majority of the funds are held in the multi-sig. So you need those community members to basically come together to steal the funds if they want to steal the funds. And then the lightning is, is single SIG. Um, and that's a smaller subset. And, you know, that was a distinct trade off model they made. Uh, users of that do not have privacy from the custodians.
Fedimint to me is a strictly a step up, but it provided such a convenience to the people of El Sante that it got a lot of traction. A lot of users ended up going that route. And then if you, you know, you can't compare all this stuff in a vacuum, you know, you compare that to something that's fully custodial and regulated and run by the government like Chivo as an option on one side. And then on the other side, you have maybe, uh, you know, a user running their own lightning node, um, holding their own keys and being fully sovereign on the other side.
That Bitcoin beach while it sits right in the middle. I think, I think Fedimitz can make a massive improvement on that middle ground. Yeah. I think it's just a natural evolution. Um, like, uh, Galois with Bitcoin beach wallet has.
30:00 shown that such an approach can work. And now the question is, where can we improve it? And privacy is a big point there, because especially when you have a wallet provided as run by a local community, you really need privacy, because you don't want your neighbor to know how much money you make. You want them even less to know that than, let's say, some regulated exchange somewhere else. There you might not even care. What's the chance that someone will know you? But if your neighbor knows what you're making, then they might treat you differently. So I think in these contexts, privacy is an even higher priority. And so I hope over time, we'll just be able to adopt better and better approaches to community custody and community banking, essentially.
Yeah. And I want to dive into the trade-offs now, but one quick thing I want to key off of what you just said is I think the biggest difference to me between Fedimint and other custodial solutions, and this is something that I harp on with custodial solutions normally, is not only are you giving up custody, which can be very problematic, but also usually in those situations, you're completely giving up privacy because the custodian is the one who holds the keys or a key. And so they have complete visibility into the ways that you use your Bitcoin. But with Fedimint, that changes, which is a big, big departure from other solutions and I think lessens the custodial dangers. But I do want to dive into kind of what the key trade-offs are and then why you view them as worth it with Fedimint.
Before, I'll let Eric jump into the trade-offs first, but before we do that, just you mentioned this thing about the privacy trade-off with custodians. And this is just another thing that I've noticed. And one of the cool things to me about the work that Eric's doing is it's very practical in nature and it's taking into effect what real users are doing and how they're interacting with Bitcoin. And what I noticed is because I am so focused on Bitcoin privacy, when people pay me, a lot of times they will pay me from a cash app or a strike because they know they're giving up full privacy to cash up or strike, but they know that they're blocking me from being able to tell anything. So I call that custodial privacy. And I see that narrative starting to form in Bitcoin if we don't preempt it with better options for those users where they will say, if I want to use Bitcoin privately, I will just trust my local regulated institution to protect my privacy and I will make all my payments from there because it's more private than if I do it in a more sovereign way.
Yeah. That use of regulated exchanges or tools like cash up, I think people are, I guess, trying to get back to the system we have with like Visa and MasterCard and banks, because right now that's kind of how the traditional financial system works is when you make a payment, your bank knows about it. They know every detail of who you paid, how much, et cetera. But that information is generally private from the person you pay, the rest of your banking details, of course, and private from other people. Obviously the brokenness with that financial system is oftentimes that data is freely sold and given away by those institutions to make money off of your data. But in theory, you have that better privacy from the person you're paying. So I guess Bitcoiners are kind of trying to get back there and see some of the benefits of that system over a transparent ledger. But I do love kind of positing Fedimint as the better version of that in so many ways. And I think that's a good way to dive into
the trade-offs because there, as with any tool, and especially with as with any privacy tool, there are trade-offs that come with these things. So, Eric, do you want to just kind of outline what the key trade-offs are with Fedimint? I know one of them is custodianship. And then why do you view those trade-offs as worth it within the design of Fedimint? Yeah, certainly. I think like the trade-offs Fedimint makes are what makes it actually interesting. Because first of all, you mentioned the custodial risk.
Of course, when you compare it to Bitcoin, it has a high custody risk because suddenly you're trusting like a set of people. You might know them, but they could in theory conspire against you and take your money. And what my counterpoint would be, like, I'm not building this primarily for people that are using Bitcoin in a self-soudering way today. Like if you have your hardware wallet set up, if you are running your own Lightning node, then, and doing all of that security, assuming that, then you might not be the initial target market for something like Fedimint.
The actual target market is the much, much bigger amount of people that are just using custodial solutions and like highly regulated solutions even. When I went to El Salvador for adopting Bitcoin, it was really heartbreaking to see how many people just recommended, Hey, let's use a wallet of Satoshi. But I can totally understand why, because it just works. And so that's the first problem we have to solve. I think like getting these people off totally centralized solutions, where you have a single custodian that could rug pull you at any time and instead transition to a world where you have multiple custodians that have shared custody over your funds.
And like that they have to conspire against you to actually rug pull you. And that makes it much less likely. And also you can choose people that you kind of trust already, like from a local community, for example. And then we can look at, Hey, this is still worse than Bitcoin, but like how much worse actually, and maybe we can make it even better. Okay. That's like the biggest point. I think that most people know when most people discuss when it comes to Fedimint.
And then another thing I always, I'm a little bit worried about the centralization because what I definitely don't want to build is like a systemic risk to Bitcoin. And in the beginning, when I didn't think of the lightning integration for Fedimint yet, that was a big worry of mine. Yeah. Because in theory, if you have a payment system where I have to be part of the payment system or part of the same federation to pay other users that are also in the same federation, then that naturally has a huge centralization force and would lead to humongous federations.
And we really don't want that. Like this one federation to rule them all. If it actually works and has many users and attracts a lot of funds, then that could become a systemic risk to Bitcoin as some exchanges today probably already are. Like that's the bad thing about it. Like some exchanges having like a million Bitcoin. That's not great from a system view. Yeah. So a few other worries that people might have is complexity. I discussed this a lot on Twitter.
Some time ago, like comparing Fedimint with other like Uncle Jim solutions to giving people access to lightning and Bitcoin. Like for example, there are simple Bitcoin wallet, which allows you to have your own server, which acts as a custodian for other people. Like you can just connect my simple Bitcoin wallet to it, open a so-called hosted channel and the funds are actually stored on the server side. Like the counterpoint to that is like, it's a single custodian. Like it's easy to hack. It's like if they want to rock pollute, they can easily do that. And it's much easier if you have a much, much harder to do that. If you have a federation, like a group of people that would have to conspire and would lose or separately lose their reputation doing so.
And like, you could imagine like if a group of people that runs a federation and only one of them wants to rock poll someone and he asks the other and they're like, no, we don't want to rock poll. So they will just blame him and exclude him from the federation. Like it's a really hard coordination problem actually, which makes it relatively secure in my opinion. Yeah. And lastly, there's software complexity. When you compare Fedimint to, for example, Galois, like Fedimint is much more complex. Like the cryptographic protocols used, like the distributed system technology.
It's like a whole bunch of crazy complicated technology that we put together into this project. And it's only possible because we have open source funding. Like Blockstream has been paying me for quite a while now just to work on this project and without any expectation for return or becoming a product anytime soon. And I think that's the important thing here that the protocol is open and gets funding from people interested in building this future that this private, private future for having federated e-cashments.
And because you couldn't really justify building such a complex protocol, I think from a business perspective. And yeah, that's what makes it so powerful that we have all these like supporters, like also you met like 1031 donated. A Bitcoin to the project and like enormously grateful about that. And like, we're enormously grateful about that. And Blockstream sponsoring me. We have something else in the works, like some other sponsorship. Can't talk about it yet, but it's amazing how much positive feedback the project has gotten. And so we can build it the best way we can imagine.
Yeah, I'm glad that y'all have been able to secure good funding so far because that can often be a big deal.
40:00 be the death of promising projects and that they don't get funding and the few people or the one person behind them just gets burnt out and has to step away and focus on just a paycheck. So I'm glad that funding has not been an issue so far. And thank you for walking through those trade-offs. I mean, I think obviously custodianship is the one that gets most talked about, but like you mentioned, there are benefits to that. And it's obviously not just chosen pointlessly. It's a key aspect of both how Fedimint benefits people and how it functions. So it's a key thing, but obviously an important thing that people understand. Anything you want to add on for the trade-offs there, Matt? Yeah. I mean, look, the main trade-off is custody. It's trust-minimized custody. That risk is mitigated by design to a degree, but that is the main trade-off. And the main benefit you get out of that is convenience and cost, cheaper transactions, more convenient transactions, and more private transactions. I will say that, look, once again, I will say that Fedimints do not
exist in a vacuum. We have to realize that we're operating in an environment where 99% of new users are coming in through regulated custodians and are using custodial products. And we also have to realize and have some self-reflection here that that's not just new coiners. Eric mentioned his trip to El Salvador. I can't count the amount of videos I saw come out of El Salvador of hardcore Bitcoiners that are running their own node, holding their own keys, and then using custodial wallets like Wallet and Satoshi to pay for a beer or buy McDonald's or something and posting a video about it. And I look at it, I'm like, what's going on here? Why are people choosing a custodial option like Wallet and Satoshi?
And it's because of that convenience, right? It comes down to that convenience. So we need to make tools that offer a better trade-off model that are also very convenient and give Bitcoiners as many options as possible. For sure. Very well said there. Let's take a quick break from this episode to chat about the sponsors of OptOut, Cake Wallet, and LocalMonero. Cake Wallet is a key tool that I use daily, as it allows me to easily and quickly use Monero for private by default payments.
It's available in both iOS and Android, and is a fantastic way to get started buying and using Monero, with a simple and easy to understand user experience. I regularly onboard new users to Cake Wallet, and hope that it will help simplify and ease your journey into cryptocurrency. If you're interested in purchasing Monero for the first time, or helping to bring others into a parallel economy, I'd recommend you look at using LocalMonero, like I do, to buy and sell Monero while maintaining your privacy and avoiding invasive exchange surveillance.
LocalMonero is entirely peer-to-peer, and is an important part of opting out of the surveillance state and into a parallel economy. Thank you to both sponsors for their incredible support and partnership, and I hope you'll take a moment after the episode to learn more in the show notes, or at optoutpod.com slash sponsors. And one thing we haven't touched on yet, that I want to get into for how Fedimint actually works, is you've briefly mentioned, Eric, that it provides strong privacy to people, even though it's custodial.
Do you mind giving us just a quick overview of how that works? I know Xiaomi and eCache is an older technology, and maybe even old enough that most people haven't heard of it. But do you mind kind of introing how that works, and how custodians are able to have custody, but not have visibility into every user's activity? Right. I think there's a nice metaphor that I will use instead of the blind signature schemes. So let's imagine I have a Bitcoin, and I want to give that Bitcoin to you, because you are my bank provider or my custody provider.
What I can do is I take the Bitcoin, and I also write a little note, like Seth now owes me one Bitcoin, and I put this note into an envelope. But the special thing about that envelope is that it's right through. Like whatever you write on the outside, it will appear on the document in the inside. So I give you the coin and this envelope, and you can't open it because that's cryptographically secured. And then you will take the Bitcoin and see, hey, that's actually a Bitcoin, and just sign the envelope, give it back to me.
And what I can do is like, I take out the document and see, hey, I have now a signed note that says like, Seth owes me one Bitcoin. And at any point later on, I can go to you, give you this letter, and you will know, hey, I signed this, and I will give you this one Bitcoin back. And if many people do this, since you never saw the actual letter that I gave you in the envelope, like you can't distinguish my handwriting or what's written on there exactly.
Like if it has a serial number, then you could normally, like if you knew, would see the letter in the first place, then you could write this down and take later on distinguish. But you can't do this. Like you only see the envelope when you sign. And that way, like I have an anonymity set of all the people that ever gave you Bitcoin. Awesome. Yeah. So you essentially, you get a, you get an IOU for depositing Bitcoin, but it's an IOU. But it's a blind client IOU.
Yeah, exactly. It's one that the custodian doesn't know that that's connected with that specific Bitcoin. And like you mentioned, assuming you have more than just you using the federation, you can hide in that crowd because they don't know that any of them are tied to a specific incoming or outgoing Bitcoin. Awesome. Yeah, exactly. Anything else there, Matt, on that? Nope. That's a great explanation. Nice. Yeah. I'm glad. I think that's a very good, like non-technical way to explain.
Blind signatures, which are not the easiest concepts. Thank you, Eric. The main other thing that I wanted to touch on and one of my main concerns with Fedimint is really the legal and regulatory attack surface that it could open up for Bitcoiners and for Bitcoin. So I want to dive in a little bit to hear both of your thoughts on really what we can expect or maybe your views on the legal and regulatory attack surface that Fedimint may bring for both custodians, the people actually running the mints and handling funds, and for users themselves.
Because I think, well, obviously the point is to not have to worry about regulators and not be regulated entities. Obviously, when you're centralizing funds behind less people rather than more, in this case, people are giving up custody of funds to a federation, which can still be geographically diverse, and there are lots of ways that they can protect themselves. But we'd love to hear y'all's thoughts on the potential legal or regulatory issues there and how this might work in spite of that.
Yeah. First of all, I'm not a lawyer, so take everything with a grain of salt. But when I talk to different people about this problem, like the feedback I mainly got is that most jurisdictions have an exemption for doing such things like handling other people's money and providing them such services if you don't do it for profit or don't do it by way of business. It's often formulated. And so one big hope is that this will pretty much exempt smaller federations that just run like Uncle Jim Federation pretty much from any regulation at all.
And I know of some people that are investigating this legal question, but the problem is like it highly depends on your jurisdiction. It will have a different answer in the UK and the US. And I think a lot of the target market, Global South, it's not even that relevant because the legislation and the actual enforcement of it are kind of divergent. So yeah, it's an interesting question and we will have to ask lawyers for complete answers. I would have been absolutely amazed if Eric was also a lawyer with the rest of his credentials.
I mean, look, I think this is a very important question. It is probably the question. A lot of the pain points we see in Bitcoin are because pretty much every time someone's a custodian, they ultimately get the long arm of the US government ends up pushing KYC and other regulations on top of them. It still amazes me to this day that while the Satoshi has been operating without KYC, I don't know what the situation is with that. But that does show that these enforcement things, they take a while to happen, right?
Bitmex didn't have KYC for a long time before their founders were thrown in jail and they were slapped on the wrist with a $10 million fine to add KYC. But eventually it happened and we should basically just operate under the assumption that all single SIG custodians, completely centralized custodians, will get regulated. Now, I think the jury could be out on a federation and that's probably, to me, one of the reasons why Fedimance is cool is because it comes out of the box with this federation model.
There's an argument that it could be treated like multi-SIG collaborative custody, which up until this point, unchanged,
50:00 does KYC, CASA doesn't, but Unchained does it as part of their business beliefs. They think, you know, if they're providing shared custody to someone, if they're providing loans to someone, they should know who that person is. But my understanding is, at least in the US, which is basically where all this financial regulation comes from, they're not being treated like a typical custodian. So hopefully that's the case. But once again, we shouldn't assume that's going to be the case. So let's imagine a world in the worst regulatory environment possible and Fedimint's being developed in that because I like adversarial environments. That's how we should build these systems. The two main things that Fedimint's have to their advantage is the fact that all of these different mints will be interoperable with each other. So people can move between them relatively easily. It also creates an environment where there will be many different federations that are competing with each other. And then the second
thing is, it's going to come down to how easy it is to basically run your own federation. That bar needs to be as low as possible. And when I say that on both of these, if you look at the number one federated example, which is Liquid on Bitcoin, very few people are using it, but it's been established for a while. They haven't gotten hit with these typical financial regulations. I'm pretty sure that part of the reason it seems like privacy work on Liquid has stalled a bit is because they're afraid of regulatory responses there. Right. But what does Liquid not have that Fedimint's have? First of all, Fedimint's have stronger privacy guarantees, but that's not relevant to this part of the conversation.
Liquid is a single one federation to rule them all. There's not many different Liquid federations, and there's no interoperability there with both the Greater Lightning Network or if there was another federation, like an easy way for those to be interoperable with each other. So I think the two keys are, is making it as easy as possible for all these different types of federations to pop up, whether they're NIMS, whether they're local community members, whether they're established public entities, whether it's a mix of all three in a single federation and the interoperability, that's the best non-legal resistance we have to financial regulatory attacks against Fedimint's.
Yeah, I think you hit the nail on the head there. And ultimately, if we do enter this very adversarial environment and obviously not advocating for doing illegal things, but if you're in an oppressive regime or an authoritarian government is trying to prevent people from living, from getting the things that they need, Fedimint's could still function because you can have either the federation not being in that oppressive country, so they're in a different jurisdiction where they don't have to worry about that.
You could have a geographically diverse Fedimint where maybe some people are local, but not enough to actually be able to sign transactions so that they can't really be pressured into doing something to rug pull users or to comply. And you can do a lot of unique things that you couldn't do with something like a liquid. Like obviously a liquid is, it's run by a company, all of the federation members are known, and it's much more easy for a government to pressure if they chose to. Whereas Fedimint, in theory, will have a lot of resistance to that because anyone can spin up that federation. But I'm glad that you hit on the point that it needs to be very easy to do. Because if it's a very technical, complex thing to do, I'm sure it's not going to be super simple. But if it's something that only extremely technically competent people can accomplish, there will be such a small number of people that actually can run Fedimint's that it could open it up to being something that could be shut down relatively easily.
Because then you just go after those technically competent Bitcoiners who care about privacy and want to be an Uncle Jim or something like that. And that group is not, that's not a million people. So that flexibility, I think, is very key there. But it will be interesting to see. I mean, my worry would be it would open up ways for the government to pressure custodians to give up funds or give up information about users. But yet again, another benefit of Fedimint's is they don't know information about the people using the Fedimint. They can't give up transaction details. So even if they are compromised, they can't give over that information because they don't have it. That's one of the most powerful things with privacy in a system that even is centralized or custodial. It's one of the reasons why I love Signal is even if Signal is compromised, they can't give up all of your information. They can't give up your chats. They can't give up information about you. And that's been proven in court. And I think Fedimint's
follows a very similar model where, yeah, maybe you're not completely self sovereign, but you gain privacy from the people who are running the service. And so even if they're compromised, it can still function well, and you can still be protected because they can't even give up information because they don't even have it, which I think is a huge part there. I think the legal and regulatory side is interesting and we'll need to get a better understanding of that. But obviously my hope is no matter what the legal regulatory environment is, Fedimint's could function and could be beneficial for people. Because obviously these tools need to work in adversarial environments.
David Pérez: You went back to the Signal example again. And so Signal, I mean, if you talked about the threat of Signal's resilience, right, is the same threat, right? And that's not a far out theory. Governments, including the US government, have been trying to crack down on encrypted messaging for a long time, right? If they wanted to shut down Signal, they could because it relies on a centralized server. They couldn't get any information from it. They could shut it down. Now, I would say that in this theoretical world, if Signal ever got shut down, what would we see happen? We would probably see something similar to Signal that is more interoperable and that it's easier to run the actual servers.
David Pérez: And that's what Fedimint's is. David Pérez: Yeah. Love it. Any extra thoughts there, Eric, before we dive into some listener questions? Eric Bauer: No, let's dive into the questions. There are some really good ones on Twitter. I always saw them yesterday and really excited. David Pérez: Yeah. I asked with only like a day's advance notice, but was thankful that lots of people jumped in and asked some good questions and ones that I was kind of surprised to hear from, just kind of the broad Twitter space. But I think they'll give us some some good topics to dive into. And I think very related to what you were mentioning about the legal and regulatory side, we had a question that was, what financial incentive do Fedimint custodians have and how can they build a business model around it? And I say it's related because you were mentioning that that kind of Uncle Jim model might be that they don't make money off of it, that it's not a business, that it's a community who are choosing to provide a service for free to their community to enable them to have
privacy, enable them to be able to spend funds, enable them to be able to use Bitcoin without the complexities of complete self sovereignty. But do you mind diving into a little bit about what the potential business models or financial incentive could be with Fedimint? Eric Bauer: Yeah, exactly. I think you already mentioned the main point, like as soon as you make it a business, you become a target of regulation much, much more than if you were in the business. And like also, how much can you actually extract? Like how much are people willing to pay for an operator of such a federated e-cashment? And how many users would you need to make it a profitable business for you?
And I think that all speaks against actually monetizing such a federation, because you would need a lot of users if you want to charge reasonably low fees, so users still want to use it. And that goes against like the core principle of decentralization. Like we don't want these big federations, because then you also don't have a trust relationship to the operators. And even more something I was made aware of only recently, like when you have someone who just operates out of goodwill, then like they might not be the type that retractable you, while someone who is just operating because they make some money from it, like some fees, like now they have this huge opportunity, like they could just take all the money and be rich men on some island, like that's much more attractive. And how do you keep people mostly driven by like monetary incentives? How do you keep them honest? And I think that's much more complicated than someone who is just staking his reputation, for example, because he wants to give
a service to his local community. Yeah, go ahead, Matt. I mean, I actually, I disagree with the Fedman team, Eric and his co-maintainers over there. On this point, like pretty hard. I like the idea of community run nonprofit federations. We already see, you know, like places like in Africa or whatnot, that there's NGOs that are set up that literally just are providing services and money and all this stuff to people that need it. And they would be a perfect fit for federations. But when we go back to regulatory resistance, we're talking about one of the key aspects is to have as many federations as possible.
1:00:00 And in Bitcoin, we talk about incentives a lot and having aligned incentives. Running the federation is the single most risky part of the whole system. If you're running a federation, you become a target of different regulatory agencies and also malicious individuals that might want to rug pull all of your users and get that money. So running the federation is the riskiest part of the whole system. Those federation members, there needs to be a strong incentive besides goodwill to actually take on that risk.
And I think that's through different monetization schemes. Now, the cool part about Fedamintz is it's a completely open source, free and open source project. There's going to be no restrictions on it. So even if the default project is set up in a way that the federation isn't making any money, there's still ways for federation members to then fork the project and add it in, add different monetization schemes, including fees and other value-added services.
And I think what we will see in practice in a successful post-Fedimint world is there'll be monetized federations and then there'll be smaller nonprofit style, more regional ones. Yeah, it's tricky because I obviously love and prefer the Uncle Jim model. And I think that would be the best thing for everyone. But it is very hard to get enough people to run many federations completely out of just altruism. There are certainly people like that. I think a lot of the core Bitcoin community that I'm a part of and the people I talk with are fully on board with that.
But I think many, many people are not going to want to dedicate the time and energy to run something like this without some financial incentive. So I'm curious to see what businesses get built on top of it. I mean, if you are competing with other Fedimints, I mean, that also builds in an interesting free market aspect where if someone's providing one for free at broad scale, they could just pull in a lot of users because people don't want to pay fees.
But obviously, I'm sure there will be businesses that want to build out stronger, more maybe trustworthy over the long term, more transparent custodianships that kind of strike the more liquid-like approach where it is a business. that runs it and if you trust that business that may be an interesting trade-off for you and then those those uncle jims or it's the local community that run it but i i mean that back to that regulatory and legal question that's where it gets hairy because if you are custodying funds you're already kind of opening up a good bit of threat from like you said regulatory bodies and then just bad actors who want to five dollar wrench attack which thankfully in a federation that gets a lot harder if it's not just you custodying funds maybe they don't want to actually try to five dollar wrench attack seven out of nine people or whatever um but in the the kind of governmental regulatory body perspective it gets tricky because then you're custodying funds making transactions for people and profiting from it um which yeah in most jurisdictions that's that may
not fly um but it'll be interesting to see what what comes out of that but i am glad that the base open source project is taking the no fee approach and then obviously people can build on top of that that's one of the beautiful things with open sources you can take it you can find a way to use it to monetize actually i'm curious about the license on the code to see what what is being used there it's all mit all mit okay yeah so for you so take it and change it uh be my guest uh and i think at some point like currently we actually still have some sort of uh fees in the code base and i think we will just make it configurable but i will not go out there and tell people to set fees because that might get them in the hot water so i don't want to do this but yeah like both both things work with the same same code but it's great yeah i think that's the the good same default um but i'm sure something that that people play around with and try to build a business on top of it'll be it'll be interesting to
see that develop over time um another really good question that we got and this is one that i actually am curious about and i haven't um dug into yet is what obviously when you're fully self-sovereign in bitcoin your key thing to keep safe to make sure you don't lose is that seed phrase that lets you restore your bitcoin get access to all your transactions all your funds with giving up custody in a Fedimint scenario what does that user authorization or access look like do we have ideas of what that could pan out to be because i mean i would assume you don't need a seed phrase anymore because you're not actually custodying the keys but maybe is it more like a email address and password model or what what do you kind of envision for what will be built around this for users actually and saying, this is me, now let me access my funds.
Yeah. What is a seed phrase really? Like in the end, a seed phrase is just like the root of extended private key from which you can derive multiple different private keys that you can then use in protocols like Bitcoin. And I think basically Fedimint will work the same way eventually. Like we're not implementing this right now, but eventually we want to be able to have a seed from which you can restore your entire wallet. But the interesting thing about it is what we didn't talk about much yet, but the community custody approach.
Because what that means is if you trust your federation anyway, like the guardians of the federation, and you know them and they know you, what you can do is you can encrypt a Shamir secret shared backup of your seed phrase to the federation guardians. And you just attach your name to it, for example, or the name they know you're under. It doesn't have to even be a real name. Like if you're in the Cypherpunk community, like you just use your handle on some platform.
And like if you ever lose your phone, then you could, for example, go to a certain amount of these federation guardians and tell them, hey, I lost my phone. Can you please start the decryption process of my backup? I gave you a long time ago. And then they would do so and you would get your funds back, which is kind of cool, I think. And that only works because you trust them with your funds anyway. So there's no reason to like not also involve them in the recovery process.
And that's actually the big thing which might enable people to get off exchanges. Like at least that's what we are building it for. So people that are using exchanges today, because they worry about like, what about inheritance? What about if I lose my passwords on my phone? Then this approach with a local community federation would allow them to have the security that even if they mess up, they still have access to the funds. The way I like to look at it is, so you have this federation in place, which is basically this semi-professional multi-sig already in place.
They're able to hold a backup for you split among the federation in the same kind of trust model that your funds are held. Ultimately, they're able to hold a backup for you split among the federation then what does that mean on a backup restore process? That means the user needs to prove to them in some way that they're who they say they are. And depending on what type of federation it is, that could be a private key signing a message. That can be knocking on your neighbor's door.
That can be putting in an email and password. Whatever that specific Fedimint wants to do to prove ownership of the funds they can do. And then they restore the backup themselves. Yeah, I think like in thinking about Fedimint, one of the key things that I think you can benefit from is you can remove or reduce that friction of storing a seed phrase. Because that is, I mean, if the target is those people who are keeping funds on exchange, I think a lot of reasons people do that, like we mentioned at the beginning of the show, is they do it because they're worried about losing their seed phrase or getting hacked or something like that happening.
So if you can remove that friction from Fedimints as well, I think that's another win. Obviously, there are trade-offs with that. But I think the Shumir secret stored with the custodians is a very interesting compromise because it still doesn't give one custodian the ability to steal just your funds without collaboration. They would still have to collaborate amongst each other to do that. So trust is still a key part of that. Or distributed trust is still a key part of that.
So I mean, I guess it makes sense that it's not going to be something that's a core part of Fedimint or Miniment, but it will be up to the custodians themselves to see what they want to do with that. But I do hope there are at least some interesting approaches taken to step back from that seed phrase UI, because I think that can be a hurdle for those people who aren't comfortable with that, but also enabling that for those who are, especially with the compatibility between Fedimints, people to be able to move funds.
Just to be clear here, obviously, the main negative trade-off in that model compared to a traditional seed phrase backup in sovereign Bitcoin is if the federation disappears, you can't restore in another wallet. You're completely tied to that. You are trusting them with custodianship, but you're also, they're handling the backup for you at the same time. But that would be true regardless. Because even if you had a seed phrase and the custodian, if that federation died or was compromised or whatever happened, you would lose funds.
Correct. That doesn't matter with the actual background.
1:10:00 backup approach taken, right? I'm just saying like when you think of a Fedimint backup versus when you think of a traditional Bitcoin backup, right? Yeah. And that's that key risk with custodians is it's just like if your exchange goes full of Mt. Gox or Quadriga CX or whatever the Canadian one was. Yeah, you lose those funds, but it at least again, doesn't rely on just one person keeping those funds properly. So you could like if you have a, I don't know, seven of nine, I don't know what a normal threshold would look like for Fedimint. But if you had like a seven of nine, if two members just go AFK or move or something like that, the Federation still persists and they can add new members. So it's again that middle ground between you holding your keys and being ultimately responsible and exchange holding your keys and being ultimately responsible.
It's an interesting middle ground there. Next question, we touched on this a little bit before, but I want to hear a little bit more about how Fedimint pairs with Lightning. Because like I said, I think that's a kicker for me because it not only enables cross Fedimint compatibility, but also just enables you to actually be able to pay from Fedimints without pegging in and out or whatever that process will be. So can you dive in a little bit more on what to expect with that pairing with Lightning and how they're symbiotic? Yeah. So I think Lightning is what makes Fedimints really viable because without Lightning, you would have this problem with one Federation to rule them all.
And that wouldn't be interesting really. But with Lightning, you can suddenly pay everyone who is on Lightning. That means other Federation users and also normal like self-hosted Lightning users and custodial Lightning users. How we achieve this is through smart contracts inside the Federation. We have apart from the eCash part and apart from the on-chain wallet, which runs in the Federation, we also have a smart contracting module. It's very limited in scope. It only supports two smart contract types that are needed for Lightning. And essentially what you do is you lock up funds when you want to do an outgoing payment, say like if someone can provide the pre-image to a certain payment hash, which is encoded in the Lightning invoice, then they get these funds. And that incentivizes some external party. We typically call the Lightning gateway to go out and pay the invoice for you.
And then they can claim these funds. And the other way around for incoming payments, there's a similar concept where the Federation acts as a seller of a pre-image to the Lightning gateway so they can claim incoming HGLC. And like abstractly speaking, there is a Lightning gateway between the Federation and Lightning network, which bridges this trust gap between like fully self-soudering Lightning and the custodial Federation. So what Lightning gateway is actually doing is it trusts the Federation, holds the e-cash tokens and allows users to interact with the Lightning network.
The cool part about this is anyone can be a Lightning gateway. So you don't have a central point of failure. If it goes down, if it's pressured by regulators or something like that, you can use a different Lightning gateway. And that doesn't have to, that's not only Federation members, literally anybody can offer one if they're willing to take that custodial risk on the Fedimint side. And as a result, they can earn fees from it. So that in itself is a competitive market within each Fedimint.
Yeah. And in theory, like the Federation doesn't have to approve of gateways, like users just create smart contracts that tell like the gateway, hey, I want to choose you and I will pay you. If you act on my behalf. So the Federation can't even stop users from doing that really. Interesting. I actually didn't know that. I assumed that the Federation would choose the gateway, not the user. So it essentially, I guess eventually will be a pool of gateways that are offering their services in exchange for these tokens.
And then users can actually choose who they want to use as the gateway for sending and receiving payments. Like in practice, it will probably still be communicated via the Federation, like just that the gateway registers with the Federation. And then that's where the user learns about the gateway. But like in theory, you could work around it. Like if the Federation becomes really annoying and you don't want to deal with that anymore, you can totally just configure your own gateway in your client.
Yeah, which I think also would be especially valuable if you had worries about the Federation, like you started to not trust that specific Fedimint for some reason and you wanted to migrate to another. Making sure to use a lightning gateway that you do trust could be an interesting part of that to reduce the friction or reduce the potential headache that that could be to migrate. It also that 100% but also, you know, when you pay a lightning invoice, the node public key is exposed.
So you know which lightning node is getting paid. So there's a censorship risk as well if you have permissioned, you know, single lightning gateways for these Fedimints where they refuse to pay certain lightning nodes. And this this alleviates mitigates that issue as well. Right. Like that's one big pain point I currently have for like lightning integration with Fedimint. I can see we could take a similar approach to host the channels where the user actually does the routing.
And so the like the lightning gateway would never learn about the destination, like it would just learn about the next top. But in practice, that's really slow and would provide bad UX. So what I'm hoping for is blinded paths, and I really hope that they will land soonish. So that would make Fedimint even more powerful as a privacy tool. I think blinded routing just got PR'd against L&D. So it seems like it's closer than I expected for sure, which is also promising.
Yeah, that's a big, a big piece there. One more quick question that I had around the lighting integration. So I guess this is mitigated because you have privacy internal to the federation, but the lightning gateway will know who is being paid and how much all of that because they're the ones actually constructing the routes. But I assume that's just not as much of a concern because the lightning gateway doesn't know who within the federation is sending that payment.
Exactly. Yeah, that's the trade off we have to make there. Like I explained, you could also let the user do the routing, but then every time like a route fails, you need to communicate with federation. And that's typically pretty slow because the federation runs a consensus algorithm internally. So like every time you need to update some state inside the federation, it takes a few seconds, one to three seconds typically. So you want to avoid it. And the easiest way to avoid it in the case of routing is just letting the gateway do the routing.
But if you were really paranoid, we could also implement a much slower lighting integration that like just passes the onion to the lightning gateway. And it only learns like the next top it has to forward the onion to. Yeah, yeah, it'll be interesting to see what different approaches are taken there. I mean, that model probably doesn't fit the target audience of fedement. Because like you said earlier, if you have the wherewithal to run a node, you have the wherewithal to, to control channels and all of that, you're probably not going to be the person that fedement is a good fit for.
And most people who are that that concerned about send privacy within lightning are probably also not going to be a fedement focus. But I think that key difference is that the lightning node knows that someone in the federation is paying coin cards or whatever lightning person you want to talk about. But they don't know who and they don't know the source of originating on ching funds. They don't know anything about that specific piece. That's a big part where you at least gain that again, that anonymity in a crowd, again, that privacy in a crowd of however many people are within that that fedement specifically.
I will say on the other hand, go Eric. Sorry. On the other hand, for receiving, it's really good. Like when you imagine like you actually have the full anonymity set now, not even against external parties, like people are using a wallet of Satoshi today to receive funds and then forward them to their own nodes just so the sender doesn't learn their identity. But with the federation, even the federation itself doesn't learn like where the funds ultimately go.
Yeah, I definitely agree. Amid the when we when we talk about the harder core crowd, especially, you know, privacy focused Bitcoiners, when it comes to receive privacy on lightning, I mean, we have Tony and future Paul are working on a private lightning wallet that they're calling private lightning wallet. They literally just have receives disabled in the wallet. It's only so fedements can be very useful on the on the receive side for even, you know, the more diehard Bitcoiners, I think.
And then you send it to the end of the thing. And then you send it to its final destination and the two things are disconnected. Yeah, I mean that in my my recent lightning explorations in the last six months or so, I mean, that's kind of the consensus is don't receive to your own node, which is crazy, like absolutely crazy to me. But that's essentially what I'm saying.
1:20:00 the consensus is the better way to do privacy on lightning for receiving funds is received to something like simple bitcoin wallet or breeze or phoenix or something like that using tor and then send to your own node whenever you need to um which is nuts but i'm i think fenement is a maybe again a better fit for that specific model until receive privacy on lightning hopefully gets better and those problems are fixed enough so that the self-sovereign people can actually benefit from privacy when doing things self-sovereignly enlightening um then one last question i obviously couldn't let you all off the hook without mentioning monero at least once um but i i think there are very different focuses and very different approaches here between Fedimint and monero as a tool for bitcoiners and i want to kind of take that focus because obviously Fedimint is is bitcoin it's not a monero thing um but for those bitcoiners who want to get better privacy in a more simple way i think right now the best tool in my opinion is using monero as a tool for spending even if you
want to keep saving in bitcoin but i think Fedimint poses an interesting trade-off where people can if they're really worried about price differences between bitcoin and monero and that kind of thing Fedimint can be an interesting tool to allow them to gain relatively simple sending privacy or receiving just privacy in general um when transacting without the complexities of the current bitcoin privacy space um so i i would be interested to hear what y'all think about like the trade-offs of Fedimint versus using something like monero today for spending yeah so the basic problem i think um most bitcoins have first with monero is that if you want to use it uh like if you want to hold in bitcoin but spend with monero you still need to hold uh the money you want to spend in monero and that for a longer time like you cannot just go in and out uh i think instantly because that will leak a lot of uh information again because the amounts would just match and that makes it totally silly like if everyone just
goes into monero then sends their money and then the other party goes into bitcoin again that can be correlated so what you have to do is actually hold monero for longer time and they're like it's the exchange rate risk you already mentioned like people might not want to do this and if you consider the custody risk of using a federated e-cash mint uh less than the exchange rate risk then that's for you if not then i mean be my guest use monero but uh i think it's good for people to have options that work with only bitcoin because in my opinion like ideally we would live in a world with only one uh cryptocurrency uh like there's so many like just philosophical problems in my opinion with having multiple ones that uh it would be so much easier if we just had one and if i can make this world happen then i will do so i think you know eric nailed the response it comes down to exchange rate risk versus um versus custodial risk um i would add though for the monero faithful listening um you know one of the
the things you hear often in the monero community is okay so i did swaps with bitcoin and then i got tainted bitcoin um you know my bitcoin is blacklisted or whatever i can't use it on whatever service i want to use it for or and a lot of times the monero community community maybe they need to swap into bitcoin uh to make a payment that only a merchant accepts bitcoin um or vice versa where they have bitcoin but they want to get to monero because monero is not as not on as many exchanges now Fedimints offers two kind of interesting improvements there first of all um in the simplest way you know you can go into a Fedimint and and then from the Fedimint then pay into a swap whether that's a you know trust minimize atomic swap or one of the centralized services kind of try and break you know break that taint type of situation give you some privacy on the bitcoin side or vice versa you come into monero go through a Fedimint on the opposite side before you make your payment you actually use Fedimint as the payment wallet but i think there's also i mean look this
is going to be completely free open source software uh there might be an argument there there might be a possibility here it's above my pay grade but it makes sense to me in my head that instead of lightning gateways uh you have monero gateways on Fedimints um where people pay bitcoin in and then they're able to in a relatively trust minimized way swap into monero better than the current ux of monero bitcoin atomic swaps so i would tell the monero community don't immediately dismiss it and maybe consider building on top of it you you stole my talking point matt glad i'm not the only one who's been thinking about it no i mean that was one of the things that i was thinking about when i first learned about Fedimints is couldn't you do this with a monero gateway as the spender if you don't want lightning or you're concerned about something else and you can i mean the the primary risk then is that that gateway provider is taking on exchange rate risk between bitcoin and mineral which obviously
could be good for them or could be bad for them and that's a very different risk than the lightning gateway risk of challenges that come with lightning but it is still theoretically pegged to bitcoin and there's loss the risk loss of funds and all that other stuff but generally they're not under exchange rate risk i think that's still the main concern but that's an an interesting piece of Fedimints is in theory it could be incomposable in a way that you enable a provider to be the the monero side of that transaction and you kind of enable the the opposite of an old service that was called xmr.2 that was it was bitcoin to monero and they were just a central provider that would let you pay monero and then they would pay a bitcoin invoice um that was before lightning was big or anything like that but this would essentially be the opposite where you could have bitcoin keep it in that Fedimint wallet gain privacy on the bitcoin side and gain privacy on the bitcoin side from the monero gateway
so you also don't have that risk of like right now most people are going to use an instant exchanger or something like that to actually go between bitcoin and monero and then they gain a lot of information there um so there's a lot of fascinating potential there of maybe not using lightning network and using monero or using it as as a tool to kind of bridge those things i think that would be a really cool the thing to build for a more like privacy hardcore crowd uh like it obviously doesn't make too much sense for uh like users that i think we are targeting at first like um you probably don't want to subject someone uh in the global south to the decision between like do i want to pay with monero do i want to pay with bitcoin like you want to make it as seamless as possible but like building such integration it's totally possible like our current implementation is super modular they can just build another module that implements for example this conversion and then you're good to go and that would be really cool
actually like if someone out there wants to build this we're currently in the process of uh like enabling that we can integrate like external modules currently all the modules live in the main repository but that has to change soonish so after that uh like i want to see many different uh things you can do with federations and that will be super awesome to see because users can choose their gateway they could just choose to use a monero gateway for payments when they want to exactly and the question was about monero but i mean uh in the developing world particularly in latin america africa and stuff there's a lot of demand for stable coins uh the same exact thing can play out with stable coins yeah exactly like the the only problem really is that you get a free option and we have to solve this somehow but uh i think it's like in most settings it's uh more of an engineering question uh like you don't have to solve it perfectly if you solve it good enough good enough, then it will work in practice. Maybe not in theory, but in practice. And we are
definitely working on that. It's on the roadmap. Not currently working on it, but it will be there eventually. Yeah. A fascinating piece of it is that it's not necessarily something that's locked into native Bitcoin only. It is extensible and it could be plugged into other things, which I think is an interesting aspect. Obviously, the focus is Bitcoin for now and the focus is Lightning which I think is a good fit because it nullifies a lot of the problems with both, with interesting trade-offs. But yeah, really, really interesting stuff. Any closing thoughts on Fedimints before we conclude here? I want to live in a hyper-Bitcoinized world. I've already kind of been doing this in El Salvador, in Bitcoin Beach, and I want this everywhere. That's why I'm building Fedimint. I just want to thank you for having us on. And look, at the end of the day, I hope that Bitcoiners have many, many different options available to us with many different trade-off balances. And I think that especially in the short term, short to medium term, Fedimints provide very
promising trade-off balance for a large number of users. And I'm excited to play around with it in the real world relatively soon. Awesome. Well, thank you both, Matt and Eric. And just the last question is, how can listeners jump in and help support
1:30:00 what you're doing with Fedimint? For people with more technical background, there's the GitHub organization, github.com slash Fedimint. And implementation is currently called Miniment, but we will rename it soon because it leads to a lot of confusion. Like they can just look at the issues, the PRs that are being opened. We also have a Discord that's linked to there. And yeah, just check it out and play with it, give feedback. That's much appreciated.
Awesome. Well, I will definitely make sure to get that in the show notes and make sure that I have lots of links for people who want to dive in more. But thank you both so much for coming on. Thank you, Eric, for diving into the technical aspects of Fedimint and walking us through what it provides. And thanks, Matt, for jumping on and kind of giving us the perspective of somebody who obviously is focused on privacy within Bitcoin, but has been excited about Fedimint.
So I think a very valuable pairing and I'm thankful to both of you for carving out some time to talk about this. Yeah, thanks for having me on. And it was an awesome chat. Like we can definitely do this again. Like once it's launched, I'd like to be on again. For sure. Fuck yeah. Cheers to that. Thanks, guys. Have a good one. Yeah. Bye. Bye. Bye. Bye.