0

I am new to development. I am working on a project and I am trying to use bcoin. I want to create an application which has a UI, where the user will be asked to enter Destination address and amount. And maybe the sender's public key as well, if it is not already entered. Then the application will fetch the UTXOs relevant to the sender's public key from some other Full Node. And based the UTXOs and the input data entered by the user, my application will construct a transaction HEX. I need the final outcome in XDR format. But I will try to do that on my own.

I will not be connecting to the Bitcoin network, I will connect with another network which has forked bitcoin code. I know this is a very silly question. But if anyone could guide me towards the right path on how to accomplish the above.

  • I would help answer this question but I don't fully understand what you are after - do you want to manually create raw transactions using Bcoin? If so the "sender" in your case would need to be the Bcoin node you are running and you can fetch the unspent outputs and construct a transaction using outputs which are address amount pairs. – PW Kad Feb 13 at 16:39
  • Yes, I want to create raw transactions using Bcoin, can you guide me with that? – Deb Feb 14 at 14:03

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.