You should be able to do that already, even using the current stable
bitcoinj. The receiving wallet sends you a P2SH segwit address or (via
payment protocol) a script to send to. You send as usual.


On 12/04/2017 08:06 PM, Ishmael Riles wrote:
> I would also like to know the answer to these questions. Also how
> production ready is the segwit branch? I would just need to use the
> library for creating and signing transactions. No need for any wallet or
> node/networking features.
> 
> 
> On Monday, November 27, 2017 at 9:08:14 AM UTC-8, NelsoN Melina wrote:
> 
>     What is currently missing to have it functional and merged to the
>     main branch ?
> 
>     Also is there a place that define the technical approach taken to
>     integrate Segwit in BitcoinJ ?
> 
>     On Monday, November 13, 2017 at 7:22:47 PM UTC, Andreas Schildbach
>     wrote:
> 
>         On 11/12/2017 09:26 AM, Amitabh Saxena wrote:
> 
>         > Can bitcoinj listen and understand segwit transactions and can
>         it create
>         > segwit transactions? Which branch should I clone?
> 
>         It cannot spend from Segwit addresses yet, and thus also doesn't
>         create
>         segwit addresses to listen on.
> 
>         It can spend to Segwit addresses though, e.g. if the payment
>         protocol is
>         used.
> 
>         All segwit development happens on the segwit branch, but lately
>         not much
>         has happened. I suspect everyone was busy waiting for how the 2X
>         fork
>         plays out.
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "bitcoinj" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected]
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
"bitcoinj" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to