pull down to refresh

I’m learning Bitcoin. I looked at this transaction, it uses P2WSH and P2SH-P2WSH as inputs.

How do I create a transaction like that? I saw Coinb.in has a manual raw-transaction builder that lets you enter inputs and outputs manually, can I use that?

reply

thanks!! is this library suitable for real mainnet usage??

reply

it is. if you really want you can use only this lib for any mainnet tx activity and forget about any wallets

reply
21 sats \ 1 reply \ @Scoresby 4 Oct

I hadn't seen coinb.in before. It looks like a fun playground, but I would use it for real bitcoin. Uploading a key seems like a bad idea.

You could do the same thing with bitcoin core using the terminal, and you could run it in Signet or Regtest mode so you could try it without using real coins.

The weirdness is that you would have to sign each input separately because they aren't coming from the same "wallet"

I don't know of any wallet software that provides an easy user interface for doing such a thing.

reply

coinbin seems i can download the source code and use it as offline. anyway, the most appropriate way seems using python library above..

reply

You could try using bitcoin-tx too

reply