Largely adopted this information on find out how to create a psbt the place a number of customers pool cash collectively. All the things is finished in regtest.
The gist of what I did is as follows:
- Created 2 completely different descriptor wallets (Identical machine, however completely different seeds), generated some funds into every pockets, and used
createmultisigutilizing public keys from the two wallets.createmultisig 2 (pubkey1, pubkey2) address_type=bech_32 - created psbt utilizing
createpsbt(inputs, outputs) - ran
walletprocesspsbton every pockets with acceptable hexstrings - ran
finalizepsbtandsendrawtransactionwith acceptable hexstrings - created a brand new clean pockets as such
createwallet wallet_name="wallet_multisig" disable_private_keys=true clean=true - ran
importdescriptorson the descriptor created from above createmultisig command. Success - Can view stability in wallet_multisig with
listunspent, however since no keys, cannot ship that stability. So I am at a loss on what to do or if I used unsuitable instructions so I can spend that stability after importing the multisig tackle into a brand new pockets.
As acknowledged beforehand, after finalizing the psbt and importing the descriptor (from createmultisig command) right into a clean descriptor pockets, I can view the stability utilizing listunspent, however I am unable to spend it.
Taking a look at one other chapter of the information spending funds despatched to a multisignature tackle, the theoretical subsequent step is to create a transaction, then on every pockets signal utilizing signrawtransactionwithkey command with personal key. On condition that I am utilizing descriptor wallets (not legacy), this is not an choice. Nor can I generate an tackle for the reason that pockets has no keys.
Am I doing one thing unsuitable in my earlier steps? If not, what steps transferring ahead can I do to have the ability to declare the cash within the multisig tackle?
