MultiSigWallet | Allows multiple parties to agree on transactions | Cryptocurrency library
kandi X-RAY | MultiSigWallet Summary
kandi X-RAY | MultiSigWallet Summary
Allows multiple parties to agree on transactions before execution.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of MultiSigWallet
MultiSigWallet Key Features
MultiSigWallet Examples and Code Snippets
Community Discussions
Trending Discussions on MultiSigWallet
QUESTION
I am trying to understand the basics behind signing an ethereum transaction. I come across Gnosis's MultiSigWallet :
https://github.com/gnosis/MultiSigWallet/blob/master/contracts/MultiSigWallet.sol
In which, a modifier onlyWallet requires a transaction must be sent from the contract itself, but the transaction is signed by one of the owners of the contracts:
...ANSWER
Answered 2018-Mar-08 at 00:13Adding and removing an owner follows the same rules as confirming any transactions from the MultiSigWallet
. Assume the wallet was deployed with 3 EOA addresses as owners and requiring 2 confirmations for execution. For any regular transaction, say donate funds from the wallet to a FundRaisingContract
, one of the owners would need to first call submitTransaction()
passing in the address of FundRaisingContract
, the amount of ether, and the hash for the donate function. After submission, you still need 1 of the other owners to confirmTransaction
(the submitter is automatically confirmed). Once completed, now executeTransaction
can be successfully run which will execute the call to donate()
from the MultiSigWallet
address.
That last part is what you're looking for to answer your question. To add an owner, repeat the example but use the MultiSigWallet
address and the hash of the addOwner
method. When one of the other owners confirms the transaction, addOwner
will be called and it will pass the onlyWallet
modifier check.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install MultiSigWallet
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page