broadcasting bitcoin transaction issue using bitcore-explorers

0

I have been trying to do a transaction using bitcore-lib. I have successfully created transaction object.

let bitcore_transaction = new bitcore.Transaction()
        .from(utxos[0])
        .to(to, +amnt)
        .fee(+gas)
        .change(from)
        .sign(pk);

I was trying to broadcast it using bitcore-explorers but it is giving me ssl handshake error. Is there any other alternate do do so?

Thank you

Komal Bansal

Posted 2019-11-06T11:27:14.643

Reputation: 101

Which "bitcore explorers"? Did you build your own? If its from this repo, it looks pretty old: https://github.com/bitpay/bitcore-explorers

pinhead 2019-11-06T15:16:35.893

I am using "bitcore-explorers" package. Please suggest some other alternate @pinhead. I want to make transaction for litecoin, bitcoin, eth and usdtKomal Bansal 2019-11-06T15:41:46.590

1

I don't know about those other coins but you could try out bcoin, it is actively maintained and supported. https://bcoin.io

pinhead 2019-11-06T16:17:24.953

No answers