nostr:nprofile1qqsw3znfr6vdnxrujezjrhlkqqjlvpcqx79ys7gcph9mkjjsy7zsgygpr4mhxue69uhkummnw3ez6vp39eukz6mfdphkumn99e3k7mf03h6kk2 does coldcard require the "global xpub" field in a psbt to sign? Getting some weird pubkey doesn't match address error

Reply to this note

Please Login to reply.

Discussion

What type of output? I don't know about the coldcard error, but there are no addresses in the output fields. Maybe the global unsigned txn field is spending to addresses not matching those generated from output fields.

Outputs field is blank, they are defined in the vout field. Error I'm getting is related to the first input (pubkey doesn't match address) but when I generate from sparrow it works. Only difference I can notice is this global xpub field

I see something like that when i use Sparrow to create a tx, sign it with a coldcard, then broadcast it using a different wallet (Electrum). Muun calls it an error and fails Electrum complains but still broadcasts it successfully.

OTOH, Muun calls it an error and fails.

Are you mixing wallets?

According to bdk docs coldcard needs the global xpub field