Episode 43
Side Chains
About this episode
In this episode of Untangling Web3, Jack and Alec demystify the concept of side chains in the blockchain ecosystem, discussing their significance for Bitcoin, Ethereum, and overall blockchain scalability.
They delve into the various types of side chains, like federated pegs and cryptographic pegs, and explore practical applications and security implications. The hosts cover the challenges of balancing scalability, security, and decentralization, and highlight side chains like Polygon and Rootstock, illustrating their roles in enhancing blockchain functionality without compromising the integrity of the main chain.
The episode wraps up emphasizing the crucial role of side chains in fostering blockchain's growth and facilitating the seamless integration of emerging technologies, underlining their potential to revolutionize the digital landscape by improving transaction speeds, reducing costs, and enhancing privacy.
Find out more about Web3 at : https://untanglingweb3.com/
Transcript
Auto-generated from the episode audio.
you would need to handle 1 billion gigabytes daily and you know Bitcoin ethereum are not there they're nowhere near that right obviously the first option is you can update or modify the protocol of the blockchain itself this other option side chains is another way of approaching uh the scalability problem and how do we take some of the data or processing off the main blockchain off the layer one uh to reduce the burden on the network itself they're effectively separate blockchains and they're linked to the main chain and the point there is that they can have their own security their own consensus mechanisms potentially and can differentiate quite significantly from the main chain welcome to another episode of the untangling web 3 podcast so it's 2024 crypto is booming and there are thousands of crypto tokens and blockchains right now out there some of the most popular you're all aware of or I hope you're all aware of by now Bitcoin ethereum kadano all of these ones adoption is coming and that's quite exciting but as
people are coming to this space they're often seeing that performance is limited especially with some of the more major chains and as a result of this there's been a boon in the areas of actually building on top of these chains to get more scalability and more functionality so we did an episode on layer twos which is one way of solving some of these scalability issues but today we'll be talking about side chains and you know what side chains are why they're needed and how some of the major ones work and as ever I'm joined by my glamorous assistant and co-host Jack Davis are you excited for this one very excited I've been demoted to assistant though so I'm not so excited about that but yeah I'll take what I can get at this point yeah no this is a very relevant episode and as you said we covered the layers of blockchain recently and the the whole motivation for those being how do we improve scalability solve this scalability trilemma and yeah side chains are
another piece of that puzzle not just related to the scalability side but I think it's something that definitely warrants a whole discussion on its own so that's why we're here today yeah there's this episode layer twos and would recommend going into that one because that goes into the background uh in more detail but effectively with blockchains we have three characteristics that were quite focused on scalability which is transactions going through the door security and and vitalic buttin the the man the myth the legend himself described or had this idea of a scalability trilemma problem where you could only have two out of three of these characteristics being you know implemented properly and you that's a bit of a barrier isn't that right jack yeah it's a significant barrier again which of those three elements are most important to you will depend on which camp and blockchain you're in or what your actual use case is potentially as well but the generally accepted notion as you said is you can't have them all at the same
time which means you have to think about what the tradeoffs are whether you sacrifice scalability for decentralization scalability for security or you know another combination of the three that that ends up being the question you have to think about when you're implementing a new blockchain or or trying to facilitate a new kind of web three use case normally and we often describe blockchain as the piping for the internet right and I think some of the stats around the internet and what's exchanged today are you would need to handle 1 billion G bytes daily and you know Bitcoin ethereum are not there they're nowhere near that right and if we think of them as digital cash Solutions like they were meant to be in the original implementations they're needing to do billions of transactions every day and they just don't hit those thresholds right now so these are some of the tradeoffs like if the network increases scalability it can often lead to centralization if we try and increase the transaction speed and throughput that can
sometimes lead to reduced security maintaining a high level of security decentralization often leads to lower security scalability sorry as we're seeing right now in the current implementations of Bitcoin and ethereum yeah exactly so this is the big question on everyone's lips you know often people will say what's the purpose of Bitcoin if you know can do seven transactions per second even ethereum with lots of the recent developments and the shift to proof of stake can still only do around 30 transactions per second on average so in the previous episode on layer twos we said what we can we do to resolve this scalability issue without sacrificing all the you know aspect of decentralization or security that we mentioned so in the layer 2 episode we talked about obviously the first option is you can update or modify the protocol of the blockchain itself so make changes to layer one and we said there are some difficulties associated with that you want to have a stable protocol that doesn't change all the time the second option
then is to do things on top or to the side so we talked a lot about the on top option which is kind of the layer twos and there's some debate about whether side chains are an example of layer twos I think there is a distinction between them but this other option side chains is another way of the scalability problem and as I said it's not all about necessarily just for scalability but it's one of the primary use cases is how do we take some of the data or processing off the main blockchain off the layer one uh to reduce the burden on the network itself and approach scalability through that different mechanism essentially yeah you you're right there I think when I was going through some of the materials in preparation for this one I found it hard in some cases to differentiate between the two I think that layer 2 is is a bit more General but there are definitely types of layer tws that seem in my mind anyway to fit more
in the kind of the side chain definition but at quite a high level Layer Two Solutions operate on top of the main blockchain they bundle transactions typically and then reference those transactions back on train increasing the scalability and reducing the fees and typically they're almost completely reliant on the security of the main chain there the layer one there whereas side chains on the other hand they're effectively separate blockchains and they're linked to the main chain and the point there is is that they can have their own security their own consensus mechanisms potentially and can differentiate quite significantly from the main chain but they have this linking mechanism this two-way Peg that we'll go into a bit more detail on that enables assets to be moved between the two chains and this can lead to increased functionality and scalability on the side chain compared with the main chain yeah so the kind of the definition as as I've seen as well and that you articulated is your side chains are completely separate blockchains and they don't
NE need to have all the features of a normal blockchain doesn't need to have this completely decentralized network if you want to have a kind of application specific side chain for example but it's a separate blockchain and as you say linked to the main chain so the differentiation between a side chain and a layer two in my mind and most people seem to say is that a a layer 2 solution inherits the security of the underlying blockchain that you're using the the L1 that you're building the L2 on whereas side chains they don't inherit that security model and they they intr produce their own security model purely for the use in that side chain environment essentially yeah that makes sense and I guess this idea was kind of first originated in 2014 by quite a famous man in the space Adam back um he's the inventor of hash cash right but he highlighted there was a lot of these the potential issues right he saw in the early days around scalability privacy and tradeoffs in
Bitcoin that would need to happen because of these issues and theorize with a few other people about the about side chains and the function they could play in the space for facilitating digital assets tokens with all these kind of wild and wonderful things we just spoke about yeah exactly Adam back invented hash cash and that kind of looks like a precursor system to the proof of work we had in Bitcoin right so someone who's been involved in the ideas that eventually became Bitcoin really and in that working in that space in that cryptography realm and of distributed ledgers for quite a long time and yeah as you said he brought forward this concept of how do we build side chains linked to the main chain okay so like we said a side chain is essentially a separate blockchain that is attached to the main chain or the parent chain I think they typically refer to it as and this allows you to move assets back and forth between the two chains so it functions completely
independently with its own protocols rules governance but remains connected to the main chain and that's probably the important bit here is is this connection this two-way Peg mechanism which allows assets to be securely transferred between the side chain and the main chain yeah and I think uh two-way Peg is typically how side chains are done now I've actually seen examples with a single way Peg for kind of again more application specific less generic side chains where you just want to lock up an asset and then start using some something else on on another side chain maybe model State transitions in more like a supply chain thing but if you're actually talking about wanting to lock up and use digital assets on another blockchain then that always tends to use this two-way Peg mechanism that's why we want to focus on that now so what does the two-way Peg really mean well it means you have two separate blockchains you have a native asset on each of those blockchains so like Bitcoins and ethereum and essentially
what you want to do is you want to take assets from one you want to pause the use or lock them effectively on one chain so that you can unlock and start using the assets on another chain that's the kind of a core aspect of side chain two-way pegging basically and this to me like for those people that listen to our ler episode sounds like side channels right the whole point of a side channel is you commit some funds to a side Channel and then you can do like lots of transactions based on that right so yeah and I guess on the other way the point is here is it's two-way Peg we can now transfer assets back from our side chain back to the main chain because they're locked and unlocked which is controlled by this two-way Peg yeah I like that you drawing the comparison between the layer two solutions like your lightning Network for example which is where you are locking up assets on one chain the difference is you're still using
the assets of the same chain in the lightning Network you're not transferring to using new assets on a new blockchain like ethereum so yeah you are locking up on one starting on another and there is an element of cross chain communication here which is kind of where the difficulty comes in and we'll talk about that later but the blockchains they're not sentient beings so you have to have some mechanism of communicating state from one chain the origin chain like Bitcoin to the destination chain like ethereum and that's where you might have some some third parties come in and actors are kind of relay between them yeah I mean just to make this a bit more digestible should we go like through a run through of had this would work so in this hypothetical situation Jack wants to use Bitcoin he's obviously got this addict addiction to crypto kitties but Bitcoin the Bitcoin network is too slow and too costly for him so he can't get his kitties quickly enough so he opts to use this
new side chain called Speedy chain for faster and cheaper transactions so Jack locks five of his big coin he's doing very well thanks to this podcast of the main Bitcoin Network into a special address controlled by Speedy chains pegging mechanism once these are locked he receives 5,000 Speedy Bitcoins on the Speedy chain Jack can now use his 5,000 Speedy Bitcoins on the Speedy chain to make whatever transactions he wants far faster and cheaper than the Bitcoin main chain so he buys some kitties he sells some kitties and then when he's done at the end of the month maybe he starts the Redemption process on Speedy chain requesting to convert his now 4,000 Speedy Bitcoins back into normal Bitcoins so he gets his four normal Bitcoins back they're sent to Jack's main Bitcoin wallet and throughout this process you know the security and the Integrity of the assets the consensus mechanism that controls them both actually ensure that security and integrity okay and he's done all that faster and cheaper and he's got his kitties so
make sense yeah I think so and that's that's the key point at the end there I think is where the security lies throughout the process will just depend on what form of side chain you're using right either it's one of these inheriting ones so the side chain that inherits the security of the parent blockchain or it's using its own consensus mechanism so in either case the security properties might differ but overall that's exactly how it's working and I think that's a really nice description so one of the key aspects of how it works I think you described there is how do you actually transfer these assets across chain between the main and the side chain it's crucially this locking and unlocking process right so when you transfer it to a side chain you need to be locking your assets On the Origin the parent chain in some kind of special address or some kind of contract and we'll go into the different options for that in a little bit but that's the core you lock
it in one place then you can start going and using it another yeah I mean we can go into some of the different types there's a whole a whole range of different ways of doing this and it can get quite fantastic and complex at the same time so maybe we'll just go through some of the main ways at a high level so the kind of the two high level areas one is around Federated pegs and the other one is around cryptographic pegs the Federated prob is the more I guess it's the simpler of the two you effectively have some trusted entities I guess in a way we could think of these as miners maybe who manage the actual pegging and controlling of assets and releasing of assets and you effectively need a consensus among these selected nodes for the transactions so you have these you know parties who effectively say Jack is allowed to have these 5,000 Speedy Bitcoins for those five main Bitcoins that he actually transacted we that's good because it's quite simple
and easy to understand that you have these people that are managing it but you know one of the biggest fear factors around this style is the idea of a centralization risk right if we have two or three parties that are managing those transactions there could be a single foot point of failure if one of them's a bad actor or if a few of the nodes go down for whatever reason yeah exactly so the Federated Peg obviously the first type of the two-way Peg that you can have and as you say you are essentially putting full trust in the consortia of entities that are managing this Peg right so you're basically saying how do we make these two blockchains communicate the parent and the side chain we're just going to delegate that that whole problem to the set of trusted validators or or nodes or whatever you want to call them and this this is why it tends to be the more popular choice for private blockchain environments right consortial blockchains like your hyperledger that kind
of model the second option which is kind of more let's say web 3 native is what you call a cryptographic two-way Peg so in this case the name suggests you're using cryptography you're using the mathematical proofs to validate whether the the funds have been locked on one chain in order to release them on the other and vice versa when you go backwards so in the simplest case this can be done quite easily with a swap between Bitcoin and a side chain of Bitcoin for example you can lock funds on the main Bitcoin chain and then just get a simple SPV proof we call it or a Merkel proof that the Locking transaction does exist in the Bitcoin blockchain and then you can release the funds on the side chain so that's the simplest example you can also mediate that with a smart contract if you're in an ethereum environment so you just send things to this locking smart contract and the proof that it's in the ethereum blockchain and part of this contract is then
enough to go and unlock funds on the side chain so obviously this option is as I say much more akin to what we come to understand with web 3 it promotes this idea of decentralization and security more inherited from the underlying or parent blockchain itself the downside being that it can be a little bit more complex and you know computationally intensive to do these things and and because you're not trusting another entity you take more of that responsibility to verify things back onto you as a user or an application yeah and I guess when we were talking about layer twos this is one of the technology we talked about is like zero knowledge proofs and have they're gaining a lot of popularity because you know 10 15 years ago everyone thought they were too complex to actually be deployed in a computationally efficient way and actually something that is know scalable and easy to use but I guess more and more we're seeing this technology come to light and like you say you're removing the
single points of failure or the human intervention by just relying on this let's just say black box maths right now that can do all this stuff so yeah they're the two high levels of actually kind of two-way pegging these things or agreeing and kind of managing the Assets in a two-way Peg within that there's a few different flavors as well about how assets on the one chain relate to the other so we have one called lock and mint the other one is called burn and mint and then the final one is atomic swaps and I think we'll definitely go into more detail an atomic swaps because this is a huge area of interest for you know web 3 in general but let's go into a bit of a deep dive of each of these and how they kind of differ from one another yeah exactly so if you want to go and Implement either of those two high level types of 2way Peg that we mentioned you go and then choose one of these kind
of technical options for implementing so the first one lock and mint it kind of does what it says on the tin as we've been describing you are simply locking the funds on the the main chain the parent chain and then minting new funds on the the side chain okay so this is different to having two main chains interacting because if you going from BDT to ethereum that's not really a side chain operation ethereum already has native assets but on the side chain you might well want to Mint the new assets so that's kind of how it's working and you're using the tokens locked on the parent chain effectively as the collateral to maintain the kind of consistent value across both of those chains right and there's some advantages to doing this so obviously because we've locked the funds they will remain locked and serve as collateral through the lifetime of the side chain assets so you have that value consistency it also makes sure it's portable and you can then have the utility across both
blockchain ecosystems right so it's kind of a natural way of doing things the downside as we said it relies on the kind of security of whatever locking or minting mechanism you're using and if you're putting trust in one of these consorti to do this and do the communication between the parent chain and the side chain then you do encounter potential vulnerabilities and also that complexity that can come in if you're going down the more cryptographic proof yeah that makes sense and the the second style of this is burn and mint it's kind of quite similar overall but the original tokens on chain a that are kind of locked up in the first scenario we just talked about are actually permanently destroyed or burned is is probably the term that we use in this kind of area and we effectively create equivalent tokens that are minted on chain B and I guess the main point of this is to ensure there's no increase in total token Supply across all of the chains one of the advantages
of this style compar with the previous St is it completely prevents double spending by effectively permanently revoking from chain a when minting on chain B and this ensures kind of consistency if I put five Bitcoins from chain a to chain B destroy those five Bitcoins and have 5,000 in chain B if there's an equivalence there they can say there's no increase in overall Supply because of that equivalence and I guess one of the things that this does as an advantage it simplifies the kind of the Cross blockchain we start to talk about interoperability between blockchains it simplifies that process by not having to manage hundreds of different tokens for any one peg or multiple pegs at the same time the disadvantages are kind of obvious as well like once they've been burned they've been burned so things can go wrong quite easily potentially and potential for losses if the bridging or minting process is compromis and this has actually happened in a few different cases one of the examples is around this chain Port where
some were burned mistakenly and they weren't able to get those back yeah it's one of those risks and that's why you want maybe a bit of a time delay between when you burn them on the first chain and remint new tokens on the second chain and I just want to maybe take us on a tiny little aside here because I think this is the first time we've discussed burning as an idea in web 3 so far and actually it's something that is widely used outside the context of side chains too so in ethereum by contrast with Bitcoin which has this kind of fixed Supply that we all know and is well defined in ethereum tokens are constantly being minted ethereum is constantly being minted or mined by blocks being generated but it's also being burned through transaction fees so transaction fees on ethereum as of the last few years now get burned so this is a concept that is quite well tested in that area so I just wanted to mention that because we've never
talked about it before the third option then if you don't want the lock and mint or burn and mint is a really interesting technique and has actually been around for like 10 years at least I think it's one of the really early innovations that happened on top of Bitcoin actually so Atomic swaps are this trustless exchange method that you can use so you can directly swap tokens between the two chains and it it also has less Reliance on a third party so basically how this works it's all about this word Atomic so Atomic means and this is term in computer science but it basically means either two things definitely happen or neither happen so the two events are either funds are transferred from one chain and minted on another or vice versa so those are the two events you're talking about and atomic swaps achieve this there's a few different ways but the basic way is by setting up or and exchanging a piece of secret information that's kind of tied to those transactions and
as soon as either party so this is typically for counterparty cases right where you might have someone on the main chain who has assets and someone on the side chain that wants assets they're going to swap between them by revealing this piece of secret data both of them then effectively receive the assets on their respective chain so it's kind of a little bit magic but it's as simpler than something like zero knowledge proofs I guess one of the points around this this is like kind of key to the entire web 3 blockchain crypto space right I guess previously these kind of exchanges of different assets would always be overseen by a third party or an intermediary and what you're saying is we can now reduce that Reliance on a third party and push more of it to technology to these smart contracts to say okay if I give you X and you receive X then you will automatically be given access to Y and you know that creates efficiency gains and why it's such a
booming kind of industry in web 3 yeah exactly and and it's very peer-to-peer in nature you don't necessarily need third party infrastructure to mediate an atomic swap which is why I think they're so powerful on that point now we've covered the three main mechanisms for implementing a two-way Peg I just want to touch on the definition of what we call a bridge so this is kind of related to side chains but again probably for another episode but just because it's it is relevant so a blockchain bridge is referring to the mechanism for communicating between two different blockchains so you can use a bridge to communicate between a main chain and a side chain you can also use them to commun Comm unicate between two different main chains like Bitcoin and ethereum so you'll often see the term Bridges popping up when you're talking about side chains because that is sometimes how you might Implement a Federated two-way Peg for example so just a comment on that and typically a lot of the time we do
have third parties involved with the bridging mechanism yeah I think the terms here they have um trust based Bridges which is like these centralized where you you rely on a central authority to manage the transfers you know which are usually typically more simple and maybe there's an efficiency there because they are centralized in terms of cost and then you have the trustless which are the decentralized bridges where they operate without the central Authority and use Smart contracts and decentralized asset transfers and this is kind of the space that's maybe a bit more interesting but a bit less known and a bit these black boxes right that were constantly talking about and we've had well we have issues with both right at the end of the day yeah exactly and I think it's important to be aware of whether or not your side chain mechanism is using one of these Bridges and whether it's a centralized Bridge or not I think it's something to consider because as we'll see in a minute there are like a
few different issues you have with the hacks but for now let's stick with the positives so what are the main advantages and Pros overall of side chains well obviously as we said at the start they're designed to address this scalability challenge so that's something they they do quite well is that they can significantly increase scalability of a blockchain network by adding side chains I've seen them posited as an early scaling solution for ethereum having many different side chains associated with the main ethereum blockchain so again the idea here is that you can basically go from one trans transaction on BTC that represents State changes from a thousand transactions on Speedy chain in the example you gave earlier that's basically a way of alleviating all that congestion improving throughput via taking things through the the side chain yeah that makes sense that's probably one of the most obvious kind of benefits of this and probably the point of most of them right the next one is around customization and Innovation like we said before it's actually
really tricky to edit these layer ones they can lead to Forks or you know you don't want your underlying protocol that you've based your app on to change every week or something like this right that is not a reliable protocol that's not how tcpip work it's not how blockchains should work so it allows developers and innovators to actually change consensus mechanisms features governance structures play around with them in this kind of less stable setting knowing that things could go wrong and they can test ideas and maybe see if they work and eventually deploy them back onto main chain potentially without fear of everything going wrong on the main chain so that's another big benefit of using side chains over main chains yeah exactly they can operate like a test net essentially for a given application and as we said earlier it's not always a scalability solution they are often application specific so you might do something that doesn't involve tokens really on the side chain and it's more for recording State changes in some other
process right but you still have that two-way pegging aspect another one of the big advantages obviously as you can kind of guess is interoperability so it's kind of the definition of of a side chain in how you bridge between them and how you connect a side chain to a main chain they have to be interoperable by definition so you can get between them so it's a good example of interoperability between blockchains working in practice and really I think as I mention with the the bridges that whole concept has now extended to complete cross ecosystem communication since starting with the side chain idea in back in 2014 yeah and I think um on the kind of the previous one around Innovation and customization adding extra features to to layer ones we see a lot of the technology like the the zero knowledge proof stuff actually being used obviously to enhance the privacy of the users on these side chains so this is another big thing is they tend to well some of them anyway pitched themselves
as a more private and confidential version of the main chain so what's one of the best examples lightning Network that's one of their primary goals as well aart from scalability and reducing cost they also say they actually preserve more privacy by using those chains over the main Bitcoin chain so privacy and confidentiality is another big Pro for the this area yeah 100% agree so onto the kind of cons and the flips side of all that as we alluded to one of the biggest ones is the security risks associated with the side chains themselves as especially if they're not inheriting the main parent chain security model then you have all sorts of other complexities and viabilities that you might get into and we've seen this through so many hacks of bridges in the past right so in in 2022 I remember this report that came out from chainalysis they said that you know 69% of all funds stol in 2022 were from bridge hacks okay so it was the exploit in web 3 and I think
the biggest one I remember this at the time is really shocking it's called the Ronin Bridge which was used for axi Infinity right which is very similar to it's got a modern day version of crypto kitties to bring it back to that but in that hack there was around 650 million lost right just from this bridge hack and they did that by compromising a validator in this bridging system so again as soon as you put some trust in these new entities that's where all the risks can can come in oh my God and yeah that that's a scary isn't it we' talked about this a lot in the layer 2 episode where we're saying you have derive all this security from the layer one as soon as you kind of extrapolate there's going to be a vulnerability there whether it's in the layer two itself or the thing that connects you to the layer two and that's always going to be the weak point right you're only as strong as your weakest link and on
that point there around the compromising of the single validator there's also the big another concern here is around the centralization risk we talk about this kind of Federated consortiums that are managing the pegs maybe it could be two or three individuals and you'd assume maybe they're less distributed or less decentralized if we want to use that term than the layer one so there's obviously a concern there a centralization concern that it's quite easy to maybe compromise one of these because they have less security or because you're relying on this single point of failure potentially then issues can arise like the one you just mentioned that's another big concern is the risk of centralization and single points of failure yeah especially if that's going to be important to whatever you're doing on that side chain then you have to really take that into consideration another key aspect to consider is as I said there's additional complexity around the security model but also just the usability of side chains themselves so as soon as you're adding more
layers and more things to do effectively this bridging process the new consensus ma mechanism in the side chain then all of that kind of coordination required becomes very complex to do so there's more to manage you have all these kind of communication channels offchain that are a whole new headache to fix especially for developers and things so that's an issue and then on top of that you get this risk of frag mentation okay if you have many different side chains which all choose a different consensus mechanism different formatting for example then the interop ability you get between the main chain and the side chain may be lost by not being interruptable with other side chains right so you gain it in one area but you might lose it in another yeah it's an interesting one that I I did think of that previously who say it's a pro for interoperability to have these side chains they can kind of act between everything but obviously the best thing for interoperability would probably be everyone using one
system everyone either on ethereum everyone on bitcoin and these side chains sometimes can change so much that like you say it actually makes it harder to be interoperable with other chains for example and actually creates more divisions and they effectively act like Forks like some side chains are so popular you can imagine them eventually becoming main chains like polygons an example right they kind of sold themselves initially as this side chain to just build on ethereum but now they're offering like layer one Solutions they're offering these kind of aggregator Solutions because they've become so popular so in a way that kind of divides the community even more so glad you now we're getting into concrete examples of them that is a really good point actually you've made there that the purpose of side chains can very much change over time so you know if you leave your assets in there for a very long time and don't go back to the main chain then things might change under you another interesting one I think is
root stock or RS if you've ever heard of that one it's probably one of the first side chains I ever heard of actually in production it's particularly interesting so I think it's from around 2018 and it it was designed for Bitcoin and it kind of used this idea of merge mining right which is where you're doing mining for the side chain but you're kind of reusing the proof of work from Bitcoin so effectively you could think of it like doing proof of work mining in the side chain but just doing that through the existing proof of work mining in Bitcoin and how this works is you'll basically have a lower threshold for mining a block in the root stock side chain than the Bitcoin blockchain right because otherwise you probably just mine the Bitcoin blockchain if you had that much hash power but it's a very interesting and Innovative way of thinking about things I think yeah so what their main goal was to bring smart contracts to bitcoin right we've kind of talked a
tiny bit and mentioned in the past that there is some smart contract and smart language kind of functionality in Bitcoin but it's misunderstood and often misused maybe and the goal of this root stock was to primarily bring smart contract functionality and decentralize up to bitcoin right and I think that's really interesting right because people often say well Bitcoin is not cheing complete language how do you do interesting things on it and actually just using a side chain specifically to act and behave like a smart contract is one of the really useful things you can do and has really po been popularized in the last few years as a way of doing smart contracts on bitcoin yeah and I saw one of the interesting things about this project you kind of mentioned there with the merge mining what they were using were kind of relying on bitcoin's immense hashing power that was going on for security but there was also this Reliance on this kind of I think it was a multisig setup wasn't it for
actually kind of doing the two-way Peg between that we said talked previously about Consortium and individuals and entities actually managing how assets transferred between the chain and there was a kind of a big fear that there was a big Reliance on these trusted entities in the middle that could potentially act maliciously um and would be compromised I don't actually know if that's occurred today but there was a lot of fear from say the Bitcoin Maxi environment saying this could happen and might happen so we shouldn't be reliant on this this kind of this mechanism for exchanging between the two chains yeah again Myriad concerns come in when you start talking about side chains in various context but I think the main takeaway for me is that they kind of extend the fun ality you do have natively with Bitcoin so of course you're going to add some more concerns some more security vulnerabilities potentially but if you can get over those then the functionality you get out is interesting so let's talk about polygon this
is probably one of the most popular kind of side chain layer twos whatever it is I think we just find it as a side chain right now but like we said there's a lot of offerings coming from polygon they initially started as this scaling solution for ethereum right the idea of like increase the number of transactions the transaction costs but they kind of evolve significantly they offer the side chain Standalone chains plasma chains like aggregator chains they're offering everything right now and it's no surprise like they've become extremely popular whenever you see in terms of chains and most popular use cases for like gaming def all these kind of things like polygon is always at the top or near the top there's so many projects that are building on there right now they've got this foot forall and they like okay we can do almost anything there why don't we just build our own chain potentially yeah and we saw this with our conversation with Colin Butler from polygon labs and he had a really
nice description of Po on now which is quite different I think to what it was a number of years ago when it was Matic and that it's this way of aggregating liquidity with minimal trust Provisions basically which is very different and much a much bigger goal for the whole system than just a side chain and Layer Two effectively for ethereum but yeah it's had its own issues as well as I'm aware so there's been a few Network outages which again you'd expect in a side chain or Layer Two system it's normally the parent chain the L1 that you want to be have 100% uptime like Bitcoin you never want it to go down it's had its own issues like that but you know how much of that is an issue how much of that does that affect users typically people have a very fairly good experience with it in my from what I've seen the other issues you have are around the kind of multi signature usage so you you referenced that before it seems
to be one of these features of side chains right or these other systems built on top of a base blockchain the fact that you have a few delegated entities who are involved with you know all the funds in these side chains is can be a bit of a concern especially for as you said like the crypto Maxis who don't like that kind of centralization risk yeah and I think like we when we had Colin on he was talking about the one polygon's one billion doll investment into zero knowledge Tech right so it's I think they've seen that this is a problem right now maybe the community is not completely okay with having having this Federated model and they're pushing more and more to this technology model having zero knowledge proofs that actually dictate all of this because it's more scalable so it' be really exciting to see I think they're already starting to implement it some of it now but I don't know if that's the kind of the main in which they Peg to
ethereum right now or not but like we say these because polygon's such a major chain right now it's kind of has some of the it has a lot of Advantage obviously being a major side chain but it has some of the pitfalls as well of being a layer one main chaining that you can't all of a sudden change to a different consensus or change the two-way Peg because the entire Community might be outraged if something goes wrong like we've just seen some of the examples so it's got the good bits and the bad bits maybe yeah exactly and I think a final example or two that we should think about as well is these kind of multi-chain archit ures that have been coming out over the last few years so things like Avalanche also polka dot have these multi-chain architectures where you have like primary blockchains or P chains in avalanche for example and then these subnets or X chains right these are effectively your side chains in polka dot I think they call them
parach chains right so they're kind of pseudo chains they exist around the main system again it at this point it gets so abstract that I struggle to completely understand what we're talking about but I think it's worth just mentioning that these are all similarly around the scalability issue right they're trying to enable rapid transaction finality in particular because that's one of the issues people have with Bitcoin finalization of settlement on bitcoin takes you know 10 to 60 Minutes sometimes depending on the transaction fee you're sending but these kind of platforms have gained so much more attention now for the throughput they're able to offer the low latency and a lot of that is from this kind of Novel multi-chain architecture again I don't really know what the security implications of these multi chains are I don't want to comment on that but it's just worth being aware of I think yeah when I was reading I think most people who are kind of invest in the space know about Avalanche right it's quite a popular
kind of chain but but I was reading into it I was like oh my God this is so incredibly complex like maybe we'll get to a stage of the podcast where we can spend a whole episode talking about one chain in particular because you can't just brush over Avalanche and cover even a percentage of it right it's really complex what they're doing but I think it's an interesting point that they're really targeted towards interoperability as well because like we said before you kind of have this sunken cost fallacy where people are investing so heavily into certain chains and then finding out five years down the line and tens if not hundreds of millions of pounds of investment that they don't actually have a lot of the features or the scalability or the throughput that they need for their functionality it's like okay they're not going to start from fresh that would be would look pretty ridiculous for them so they're looking more and more at the interoperability in how they can actually use what they've
built already but still leverage other chains and have this C crossplatform functionality so yeah a lot of kind of attention on chains and systems like Avalanche and polka dot right now yeah so I think that probably covers this topic of side chains I think we've probably spoken for far too long about uh this topic but just to summarize again what are side chains they are systems or additional blockchains you can add to a parent or main blockchain to increase scalability efficiency reduce costs or just Implement a completely different system on the side you have a couple of different options for how you implement them so they can inherit the security of the main chain or they can have a completely different consensus mechanism usually the way you get in and out of the chain is what we call these two-way pegs and again there's a bunch of different ways of doing those but yeah the take-home message is that these are the appendages of the blockchain right so they're not necessarily layer twos they're add-ons
that help you to do something or improve the the scalability and similar to what we said about layer tws I think that the future is probably bright for side chains purely because what we're saying is that their main purpose is to increase transaction throughput and reduce cost and decrease the time for finality so those things are really easy to sell and there's very defined metrics for them they're really easy to communicate to say my chain has x00 th000 per second transactions it costs this much to use and it takes a millisecond to process a transaction but when you're talking about the things they actually lose because of that which is the security and sometimes decentralization that's a much harder sell it's really hard to sell how secure a network is it's really hard to sell how decentralized a network is so I think more and more especially we have as we have this kind of institutional adoption and people who aren't necessarily web three and blockchain Native come into the space what they'll be sold
on will be the cost the throughput and the latency they it's a much harder for networks and chains to sell the security and the decentralization so I imagine there'll be a Big Boon in side chains and layer 2os because of that yeah that's exactly the point I wanted to end on right we spoken a lot about institutional adoption recently and I think side chains are probably one of the most tempting ways for big in tions to get involved in blockchain you know they've done the private blockchain stuff now the pure private blockchain and they kind of have abandoned that more or less and now dipping their toes into public blockchain and getting the benefits the mutability of that main chain the security for whatever it is there are so many use cases for institutions that where they can sacrifice trust right because they might be operating in a Consortium environment so a side chain makes perfect sense for them to do that as a way of experimenting or even Building Products as we're now seeing
if Colin polygon is doing this for loads of Institutions right so yeah I think that's where I see side chains being super useful in the very short to near term before we kind of really solve the interoperability problem so yeah I think that rounds things off nicely so thank you for listening wherever you may be and join us next time to entangle a little more of web thanks for tuning in to another episode of untangling web 3 produced by Emma caleri don't forget to send us your thoughts questions and comments on social media and be sure to follow us on your favorite podcast provider to catch the next episode see you next time to untangle a little bit more of web 3 the views we express here are our own and do not reflect the views of our
Topics: Blockchain & Crypto