The One Question bounty closes Thursday 10 December.

Join in
We Them Media logo We Them Media Support us

Web3bridge Students (Cohort XI) Share What They’ve Learned: Multisig Wallet

The picture loads from YouTube. The player loads only when you press Play. Turn on captions in the player if you need them.

A Cohort 11 team explains multisig wallets, where two or more keys must approve a transaction, like a joint account. They cover quorum, for example three of five signers, changing the signer set, unit testing, a contract factory to create many wallets, and uses such as family trusts, escrow, DAOs and charities.

Not by We Them Media Channel: Web3Bridge. Published Wednesday 11 December 2024.

Titles are the owner’s. It plays from their channel.

Transcript

This transcript may contain errors. This video belongs to Web3Bridge. Letters mark each change of speaker.

These are the speakers’ own words. We have not checked their claims.

0:00 A: This video is proudly brought to you by VirtueBridge with LIX, our official sponsors for Cohort 11.

0:08 B: Hello there, my name is Ake Omoye-Akeremisi. My team and I will be talking about multisig wallets. So to start with, for every standard wallet, say personal wallet that has your personal funds, for you to be able to initiate transaction, you need your private key, personal private key to be able to sign off every transaction. But now consider a scenario where the funds belong to a group of people and you don't want just a single person to be the sole signatory to that particular account. Similar to the traditional joint account system where you need 2 or more people to be able to sign off every transaction. Exactly what happens with the multisig. You require 2 or more private keys to be able to sign off on every transaction that occurs on that wallet.

0:55 C: Multisig wallet is different from the normal wallet. As for the normal wallet, it only has just one, um, signer and the owner. So whatever funds is, is in a wallet, it's only a signer that is, um, required to sign whatever transaction that is to be carried out. But for multisig wallet, it requires more than, you know, one, um, signature.

1:20 D: So basically, multisig wallet is a kind of wallet whereby A number of people have to sign before money is taken out. So basically there's something called a quorum. So a quorum is basically a number of signers that needs to sign for money to leave that particular wallet. So for example, let's say, um, the multisig wallet, there are 5 signers and the quorum is like 3. So before money can be moved out, of that wallet or any transaction that is going into that wallet that needs to be approved, at least 3 people out of those 5 people that owns that wallet needs to sign it for any transaction to be approved. So that is just the basic, basic overview of multisig.

2:10 E: A single person can just carry out an operation or a transaction in the multisig until if more than 50% or more than 80% of the signatures on the wallet agrees to that particular transaction. If a transaction is being carried out, it needs to like go through other signatures, like other signers to like approve that particular transaction. If they do not approve it, the transaction will not be successful. It won't be successful. So basically, for me as a user, or let's say for me as a user of Multisig Wallet, if I try to like carry out a transaction, it is being stored and notify other signatures that I'm about to like carry out a transaction. And other signers will like, they need to like approve my transaction before it's been carried out. So yeah, and it is possible to like update the number of signers that need to like approve a particular transaction. We call it quorum. So if any of these, any of the signers try to like update the quorum, it like needs to go through other signers to like approve that particular transaction that I'm about to do, which is updating of quorum. So basically multisig wallets, it brings about security, it brings about transparency.

3:35 D: So

3:37 F: after you determine the contract, the addresses that you want to be valid signers for your multisig wallet. All you need to do is to add them in the contract, then deploy it, and that's that. So in order for us to be sure that our contract works well, we need to perform unit testing. So in this part, we are going to take a look at our contract, take every cases, every scenario we've highlighted in our contract. So take it down and just test for those specific scenarios and make sure that they pass. So if they don't pass, then you go back and check your contract and be sure that they work well. Then afterwards, in order for you to be able to create multiple instances of your contract, you may want to make use of the contract factory. So the contract factory basically is that feature that allows a contract to be deployed severally, you know, just a factory that creates several instances of your contract. So a use case is just Genosis wallet. So basically you have, you can initiate that wallet type for different people. So you have a set of users. Let's say Set A, they can make use of- Set A have maybe they have their subset of wallets that they want to authenticate. You have Set B, they all have their users to authenticate. So yeah, you can create different of those things. So, and then the last one is interaction. So if you want to interact with a contract online to see, um, or that has been deployed on the mainnet to see how it's Ether mainnet or testnet to see how it interacts, how it works online.

5:26 D: So you can do that, you can perform those interactions. So all you need to do is just to get the contract address that has been deployed and you bring it to your- you just put up your scripts to interact with it. One of the use cases of a multisig wallet is in a trust fund, a family trust fund, where you have to keep track of money going out.

5:50 F: So in this use case, you require other family members to approve certain transactions. Then also you could use the multisig wallets in an escrow system where before money is being sent out to someone that wants to buy something, you require multiple signatures before the money goes out of the system. And yeah, there are other use cases that I could list out, one being a DAO organization, another being a charity organization where money going out is strictly monitored and under review. So yeah, those are the use cases of a multisig wallet.

6:38 C: So a smart contract handles the logic behind a multisig wallet. Sig wallet. So it is in the smart contract that we are going to have the number of signers and also the quorum.

6:50 B: For more updates like this and content, kindly subscribe, like, and share this video with a friend. Thank you.

More from this hub

Something wrong, or a video you want off this page? Write to wethem.xyz@gmail.com and it is fixed or taken down within 48 hours.