Dapp-a-day 5: Easy Multisig

in #ethereum8 years ago

Nexus Logo

Each weekday leading up to devcon2, Nexus will highlight a dapp, library, or package (something with a dappfile) as a promotion of our toolchain and as case studies for other developers. Yesterday's Post

ds-multisig contains our multisig actor iterations.

https://github.com/nexusdev/ds-multisig

The current version is called an "Easy Multisig" because you can propose actions without having support code for packing calldata according to the ABI:

TargetType(multisig).doAThing(with_some_args);
multisig.easyPropose(target_address, 0 wei);

Unfortunately this is its only advanced "feature". Members can't be changed, instead, permissions need to be "handed off" to new multisigs. Member update logic requires deciding between tradeoffs (e.g. what happens to someone's approval when they are removed?) which means this will likely be a base class for more advanced versions.

This version uses auth in a very rudimentary way: The "owner" mode is used to restrict adding initial members to the creator.

This week we have introduced a few low-level building blocks. Next week we will have a few more, and then we can finally start assembling them into something interesting.

Coin Marketplace

STEEM 0.17
TRX 0.13
JST 0.030
BTC 56577.01
ETH 2981.05
USDT 1.00
SBD 2.14