BlockchainCommons / Learning-Bitcoin-from-the-Command-Line

A complete course for learning Bitcoin programming and usage from the command
3.13k stars 754 forks source link

importaddress vs importpubkey #94

Closed justinmoon closed 5 years ago

justinmoon commented 5 years ago

In this section we use importaddress to load our multisignature address into the bitcoin wallet. I looked at the docs for inputaddress and it said this:

If you have the full public key, you should call importpubkey instead of this

Are we able to get the multisig pubkey and use importpubkey?

justinmoon commented 5 years ago

Neversmind, the addmultisigaddress in following chapter does what I was hoping this would do.