btcsuite / btcd

An alternative full node bitcoin implementation written in Go (golang)
https://github.com/btcsuite/btcd/blob/master/README.md
ISC License
6.1k stars 2.31k forks source link

How to generate MultiSig address by address (haven't public key) #2034

Closed cevin closed 9 months ago

cevin commented 9 months ago

NewMultiSignScript need a []*btcutil.AddressPubKey.

Now, I have only a Bitcoin address, No publickey.

How to generate a MultiSig address and get the script?