filecoin-project / community

Filecoin community and ecosystem channels, discussion forums, and more
Other
475 stars 164 forks source link

Local Multi Sign Wallet #298

Open kaola526 opened 3 years ago

kaola526 commented 3 years ago

1. Proposed issue:

Create a local multi sign wallet lotus wallet new View the local multi sign wallet lotus wallet list Allow multi sign wallets to proposal transfer lotus send Approve to multi address transaction lotus wallet approve

2. Why is this issue important?

Use local multi sign Wallet

3. Tasks

1,lotus wallet new msig --from: account to send the create message from (Use local Default address when not set) --value: initial funds to give to multisig (Use 0 when not set) --required: number of required approvals (uses number of signers provided if omitted) --duration: length of the period over which funds unlock(Use 0 when not set) [<address1 address2 ...>] len(parameters) = 0, all local wallets are used to create multi check wallets len(parameters) = 1, an error is reported, with at least 2 parameters len(parameters) > 1, all parameters are used as signers to create a multi sign wallet 2,lotus wallet list --signers Output signer's address --required Output number of required approvals --vesting Output include vesting details --decode-params Decode parameters of transaction proposals 3,lotus send targetAddress amount --msig: Specify multi sign wallet address(It must be set to initiate multi sign address transfer) --from: Set the initiator of multi sign address transfer(Use local Default address when not set,But it must belong to the signers)

4,lotus wallet approve approveAddress multisigAddress transferID [proposerAddress destination value [methodId methodParams]]

coder-lb commented 3 years ago

Great. After implementing it, it's easier to use multisig wallet.

jennijuju commented 3 years ago

Would this work with other msig use cases, like using msig for owner address?

kaola526 commented 3 years ago

Would this work with other msig use cases, like using msig for owner address? We are already doing the owner's experiment. We will submit a PR as soon as possible

dayou5168 commented 3 years ago

Hey. are you going to provide a document on how to use the multi-signature wallet and how to switch miner addresses to the multi-signature wallet?

kaola526 commented 3 years ago

Hey. are you going to provide a document on how to use the multi-signature wallet and how to switch miner addresses to the multi-signature wallet?

Currently in preparation。Reference Resources issue302

jennijuju commented 3 years ago

We should allow user to be able to add the msig they are a signer of to local wallet as well.

See other requirements here: https://github.com/filecoin-project/lotus/issues/1136

kaola526 commented 2 years ago

We should allow user to be able to add the msig they are a signer of to local wallet as well.

See other requirements here: filecoin-project/lotus#1136

The issue code has been submitted. Whether the status of the issue should be modified from open bounds to in progress. Thanks

jennijuju commented 2 years ago

@vnessasgrt ^

kaola526 commented 2 years ago

Create a local multi sign wallet lotus wallet new --Update:lotus msig create --import=true Approve to multi address transaction lotus wallet approve --Update:lotus msig approve