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: github.com/bitpay/bitcore-explorers – pinhead Nov 6 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 6 at 15:41
  • 1
    I don't know about those other coins but you could try out bcoin, it is actively maintained and supported. bcoin.io – pinhead Nov 6 at 16:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.