Mimblewimble Protocol - Crypto Academy / S4W2 - Homework Post for @fredquantum

in SteemitCryptoAcademy3 years ago (edited)

Hello everyone
I am sure you all are enjoying session 4 of the crypto academy. Here I am submitting my assignment and hope ot will be up to the required standard.


Steemit Crypto Academy - Season 2, Week 4.png


1. In detail, explain your understanding of the Mimblewimble protocol.


The interesting thing about the name of the protocol is that the word Minblewimble is derived from the famous Harry Potter Novel by pseudonymous Tom Elvis Jedusor. The original concept of the protocol was later improved by Andrew Poelstra, a Blockstream researcher. Then Poelstra released the white paper of Mimblewimble in the year 2016.

What is Mimblewimble?

Mimblewimble is a blockchain protocol and by applying it to the blockchain, transactions remain completely anonymous hens no identifiable or reusable addresses are involved in the transactions done through this protocol. Other than this the protocol provides an excellent framework for a blockchain that has good scalability and fungibility. The protocol was developed by some anonymous

The protocol is different from others in such a way that unlike other blockchain transactions stores transactions in a block and the receiver need to claim his amount from that pool thus it is impossible to track who transferred money to whom?

Mimblewimble protocol uses the technology in which it eliminates unnecessary transactions information, thus block size is reduced. Inputs and output transactions are aggregated using this cut-through technology.

The main feature of Mimblewimble is its encrypted public key and this key-encryption technique is based on elliptic curve theory that allows creating smaller, quicker and more efficient cryptographic keys. Unlike the traditional method of generation of cryptographic keys, ECC generates keys through the properties of the elliptic curve equation. It is also found that the 164-bit key generated using ECC provides the same security level as the 1,024-bit key generated through another method.

elliptic1.jpg
Source

line SCA.jpg

2. Discuss in detail how the Mimblewimble blockchain protocol works.


The transaction pattern of Mimblewimble is completely different from the traditional blockchain transactions. In MW protocol there is no concept of recognizable or reusable addresses. only the party who is involved in the transaction can check the detail of the transaction and for any external person, it is just like random data.

Unlike other blockchains data in the block is stored as a single deal rather than the collection of different transactions. Here also blocks are verified like any other blockchain but details of the transactions are not available to the public. There is no way to find the link between input and output data. This can be understood with an easy example

mw1.jpg

Assume that A, B and C send 5, 7 and 9 coins to D. In total D receive 21 coins. Now D sends 21 coins to E. In such a case, E is not able to know that from where D received coins, he will only be able to know that D sent 21 coins to him. Similarly, A will only know that he sent 5 coins to D but could not know that how many coins B and C were sent to D.

Transaction on Mimblewimble protocol required to exchange the verification information between sender and receiver.

Varification process

The verification process is based on the concept that multiplication is easy but factorising is not, let's understand with the following example.

If we see the following equation it is easy to solve with pen and paper or with a calculator.

mv1.jpg

Now let's look at another equation, it is not simple to solve. But if the creator of the equation tells the missing numbers the problem will be solved quickly and the owner will be verified.

mv2.jpg
The example given above is of very small numbers but in the case of multi-squillion numbers, it is very hard to find the correct numbers as there would be so many options. It is not only hard to guess them but also to calculate them. The easiest and quick solution is to know them in advance.

How transaction amount is hidden?

The transaction amount is hidden by multiplying it with big secret numbers.

mv3.jpg

In Mimblevimble protocol, both sender and receiver are involved in the transactions and come up with a number like this

mv4.jpg

It contains both an amount-part (hidden) and a private-key-part. It is called Pedersen commitment and the sender and the recipient exchange their Pedersen commitments.

How to prove inputs equal to output?

Here the transactions also consist of two Pedersen commitments like this -

mv5.jpg

If the amount sent and received is the same it comes like the equation below and the transaction kernel is divisible by the private keys.

mv6.jpg

If the amount sent is not equal to the amount received then the condition will be like this-

mv7.jpg

Here transaction kernel will not be divisible by the private keys and the transaction will be rejected. In small numbers, there might be some exceptions but in multi-squillion numbers that computers use, the chances of this coincidence are almost zero.

line SCA.jpg

3. Discuss in detail your understanding of Confidential Transactions (CTs).


The confidential transaction is the USP of the Mimblevimble protocol. It replaced the UTXO model with the multi-signature model. The protocol becomes more efficient by removing inputs and outputs.

The CTs use the Pedersen Commitment scheme in which no public address is required. Instead of public address here sender and receiver share a secret number or a ‘blinding factor.’ with each other. This blinding factor is used to encrypt the inputs and outputs of the transaction. As there is no public address involved and the blinding factor is shared between sender and receiver no third party can know the details of the transaction. This makes the privacy of the transaction very high.

CTs is verified with the equations as discussed in the previous task. Let's assume that Input is 7 coins and output is also 7 coins then the equation will be as follows -

(Amount sent x secret number) + (Amount received x secret number)

(7 x 10) + (-7 x 10)

= 70-70

= 0

It shows the net balance is 0 and the amount sent is equal to the amount received.

Here secret nos are the private and public keys that not only validate the transaction but also verify the ownership.

line SCA.jpg

4. How do you think Mimblewimble Protocol can be utilized on the Bitcoin Network to enable anonymity of transactions and improve scalability?


Mimblewimble can be integrated with the Bitcoin network as a side or parrel chain to improve the scalability and privacy of the Bitcoin transactions. To perform a secure Bitcoin transaction to hide the transaction details using MW protocol, Bitcoin first needs to move on the Mimblewimble chain. Here on this parallel chain transactions can be made without revealing the details as long as the user want until the new user wants to move back to the Bitcoin network.

In this entire transaction, only input and output transactions will be recorded on the Bitcoin blockchain, all other transactions done on the Mimblewimble will be private. The sidechain transaction is identified as a single block transaction by the Bitcoin blockchain.

As the transaction is performed on the sidechain, it becomes fast and low cost also. Other than privacy it saves time, energy and money also.

The difference between Bitcoin transactions and Mimblewimble transactions is clearly can be seen in the blockchain explorer.

Bitcoin block

mw8.jpg

In the above screenshot of the BTC block, there are various transactions and all are traceable by giving the address and the amount.

Mimblewimble block

mw9.jpg

Unlike BTC block there is no address of sender and receiver and the transaction amount. The transaction is completely private. confidential and untraceable.

line SCA.jpg

5. State the Pros and Cons of the Mimblewimble protocol.


Pros

  • Transaction on the Bitcoin blockchain is linked to previous all transactions so all the transactions should be verified by the node but in the case of Mimblewimble, it works as a side chain and no node confirmation is required. Thus it becomes faster and helps to improve scalability.
  • Data is compressed in the Mimblewimble which reduces the blockchain size and make it lighter. Comparatively, reduced blockchain size improved transaction speed and overall consumes fewer resources.
  • Privacy is the key feature of Mimblewimble where transactions are untraceable.
  • MW blockchain is considered as a fungible

Cons

  • Mimblewimble protocol is not resistant to advance and powerful quantum computers because it depends on the relatively simple properties of digital signatures.
  • Blockchain uses secret transactions, have privacy but the transaction per second is decreased. But the still compact size of the blockchain helps to improve the transaction rate.

line SCA.jpg

6. Discuss in detail at least a Crypto that uses the Mimblewimble protocol.


Beam cryptocurrency

BEAM is a native token of confidential decentralized finance (Defi) platform BEAM. It runs on two protocols and one of them is Mimblewimble

BEAM was founded by Alexander Zaidelson, Alex Romanov and Amir Aaronson in March 2018.

Some features that make BEAM unique are like it never revel the address to any third parties. The only user decides who can see the address. It can handle about 17 transactions per second, which is higher than the Bitcoin transactions with its privacy feature.

BEAM uses the Equihash PoW mining algorithm and can handle a large amount of data. Unlike Bitcoin mining which requires higher processing power, it needs a large amount of memory.

It is listed on major cryptocurrency exchanges like Binance, Hotbit etc.

BEAM is a deflationary cryptocurrency as it has a limited supply. Its primary use case is a store of value rather than day-to-day payments.

Its block time is about 1 minute and each block will contain about 1000 transactions. Unlike Bitcoin BEAM blockchain doesn't store full transaction history rather it records only the current UTXO state.

mw10.jpg

Statistics of BEAM

Parameterfigure
Current Market price$0.69
Market Cap$66,932,547.01
Total supply96,872,920
Maximum supply262,800,000
Market Rank481

Source

line SCA.jpg

Conclusion


Bitcoin is a pioneer of cryptocurrency which comes with various advantages, over traditional systems, like highly secure transactions, immutability and transparency. But at the same time, it has some limitations like all transactions details are available to the public, slow transaction speed and difficulty to scale up.

The Mimblewimble protocol is the reply to the limitations of the blockchain technology particularly of Bitcoin and some other blockchains. If MW is integrated with Bitcoin blockchain it works as a side chain and helps to solve the privacy, speed and scalability issue to some extent.

There are various blockchain and cryptocurrencies are based on Mimblewimble protocol like BEAM, Grin. There are private coins with high privacy.

Thank you, prof. @fredquantum for delivering such an informative and interesting lecture.

line SCA.jpg

tfsb.png

UFR.png

Sort:  
 3 years ago (edited)

Dear @chetanpadliya. Kindly change the format of the title to;

Mimblewimble Protocol - Crypto Academy / S4W2 - Homework Post for @fredquantum

Thank you.

Total| 8.5/10

Loading...

Coin Marketplace

STEEM 0.20
TRX 0.16
JST 0.030
BTC 65856.98
ETH 2663.80
USDT 1.00
SBD 2.88