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

  • Which "bitcore explorers"? Did you build your own? If its from this repo, it looks pretty old: https://github.com/bitpay/bitcore-explorers – pinhead Nov 06 '19 at 15:16
  • I am using "bitcore-explorers" package. Please suggest some other alternate @pinhead. I want to make transaction for litecoin, bitcoin, eth and usdt – Komal Bansal Nov 06 '19 at 15:41
  • 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 Nov 06 '19 at 16:17

0 Answers0