London-based startup CommerceBlock has revealed that they are working on a new tool for boosting Bitcoin privacy. Their new Mercury Wallet tests the new technology and, if all goes well, will soon put it into practice. The privacy tool uses statechains, a layer currently being built on top of Bitcoin to help the digital currency scale above its limitations so that it can reach more users.Â
CommerceBlockâ€™s code for the in-progress project is open-source, so anyone can give it a look, spot and report bugs, and even alter the code and use it for their own purposes if they desire. But the company also uses this statechain code and its sidechain code for proprietary projects with as-yet undisclosed institutions.Â
CommerceBlock has been working on the first-known implementation of statechains, which makes Bitcoinâ€™s future look a little bit rosier in terms of scalability. Currently Bitcoin doesnâ€™t support more than a few transactions per second. But various layer 2 solutions like the Lightning Network, and now, statechains, are helping users to get around this limitation.
Scale is the main purpose of statechains. In addition to building a code implementation, called Mercury, CommerceBlock has been laying the building blocks to make this layer accessible to average users with Mercury Wallet. Here, users can set up statechains and make actual statechain transactions. (Warning: The wallet is for testing only right now and is not safe for real coins.)
More recently, however, CommerceBlock developers have discovered that statechains also offer privacy benefits, which they are now also building into Mercury Wallet, as CommerceBlock outlines in an exploratory blog post.
Bitcoin transactions arenâ€™t very private. The history of transactions of every user is stored permanently by the Bitcoin network. Users have to be extra diligent if they want to cover their tracks successfully.Â
CommerceBlock has been experimenting with making these privacy transactions work on top of statechains.Â
â€œFinancial privacy, we believe, is right and necessary; itâ€™s not practical that every time people use bitcoin that the holdings become public to the receiver of their payment,â€� CommerceBlock CEO Nick Gregory told CoinDesk, adding that institutions CommerceBlock is working with have also expressed interest in increasing their privacy so other institutions canâ€™t see their bitcoin holdings.Â
So far, CommerceBlock is the only company known to be working on statechains.
New Bitcoin privacy potential
CoinJoins, on Wasabi Wallet and Samourai Wallet, are the most popular way to make private bitcoin transactions today. CoinSwaps, on the other hand, can use a different technique to make these sorts of private transactions undetectable. CoinSwaps are currently in the testing phase.Â
Gregory thinks they could both get a boost from statechains.Â
â€œCoinJoins and CoinSwap work great at the moment. However, they are time-consuming and costly as you have to wait for bitcoin confirmations for each CoinJoin or swap,â€� Gregory said.
On statechains, however, transactions are instant and cheap. They accomplish this by taking transactions to a layer above most bitcoin transactions.Â
Bitcoin is made up of a long trail of blocks. Each block contains â€œon-chainâ€� transactions. Each block has limited space. â€œOff-chainâ€� transactions, on the other hand, avoid blocks.Â
Because statechains allow users to make transactions off-chain, outside of blocks, they donâ€™t have to wait. â€œBy moving this off-chain in a noncustodial protocol they become instant and less costly,â€� Gregory explained.
The other downside of CoinJoins is that they leave an imprint on the Bitcoin blockchain.
CoinJoining or CoinSwapping on a statechain could add more privacy since these sorts of transactions donâ€™t need to be embedded in the blockchain. â€œCoinSwaps that occur in a statechain are off-chain, and thus their history never makes it on-chain,â€� CommerceBlockâ€™s blog post states.
CommerceBlock admits that thereâ€™s an obvious tradeoff with statechains. As weâ€™ll explain in a minute, statechains users need to place trust in the statechain provider to a degree. But if users are willing to do so, they could see privacy benefits when CommeceBlock rolls out a real wallet that can be used for more than just testing.Â
A new scalability layer
Now letâ€™s take a deeper look at statechains, the construction that makes these new private transactions possible.Â
On-chain Bitcoin transaction space is very limited. If Bitcoin aficionados want the digital currency to be made accessible to as many people as possible, they need to get around this limit.Â
Bitcoinâ€™s Lightning network is currently the most popular method of scaling Bitcoin transactions. Lightning offers a way to make transactions securely without taking up block space, which means faster and cheaper transactions. To this end, statechains are comparable.
Similar to the Lightning network, statechains are powered by multi-signature transactions, which require that more than one user sign off on a transaction before it can be completed. In the case of statechains, 2-of-2 private keys need to sign off. One key belongs to the user and another belongs to the statechain provider â€“ in this case, CommerceBlock.
To pass on the funds, the user simply sends the private key to the recipient. Sending someone your private key is usually a recipe for getting all of your funds stolen. But the idea here is that the statechain provider is supposed to have the userâ€™s back and not allow that to happen.Â
Since the Lightning network is better known than statechains, letâ€™s compare and contrast them.Â
Statechains vs. Lightning network: Pros
Statechain users donâ€™t have to deal with routing or liquidity issues like Lightning users do. With statechains, the private key is simply transferred to another owner.Â
Unlike Lightning, thereâ€™s no need for a payment to move through a network; thus the transaction avoids the risk of failing if one hop in the network doesnâ€™t have enough funds. Liquidity is probably the toughest problem Lightning users face today, though innovative new tools have been cropping up in the hopes of making this problem more manageable.
Direct transactions via statechains are thus better for larger payments where routing can be harder.
Statechains vs. Lightning network: Cons
Statechains require more trust than the Lightning network does. The statechain providers need to be trusted not to collude with a previous private key holder. This sort of trust is not required for Lightning payments.Â
Say Alice is using a statechain to pass the private key to Bob. Bob is supposed to be the owner of the funds. But theoretically, Alice and the statechain could collude to take Bobâ€™s funds. Built-in protections can help guard against this collusion â€“ if the statechain provider cheats, users will be able to see, damaging the reputation of the statechain provider.
Statechain payment amounts are fixed. Say Alice creates a statechain holding 1 BTC, or 0.001 BTC, or whatever amount she likes. Once this value is chosen, and Alice creates the statechain, that amount is set in stone. Letâ€™s say she decides on 1 BTC. When making a payment, she has to send the 1 full bitcoin â€“ she canâ€™t split it into smaller payments. As such, statechains are not ideal for multiple, smaller payments. Thatâ€™s where Lightning shines.Â
Since statechains and Lightning each serve different use cases, Gregory sees them as â€œcomplementary.â€� He expects that they will be just as popular as the Lightning network in the long term. â€œOur goal is certainly to make them as big as Lightning,â€� Gregory said.Â
The post Statechains Scaling Solution Offers New Potential for Bitcoin Privacy appeared first on TechFans.