0

So I heard stories about people losing bitcoins because their wallet didn't support a cerain feature.. or bitcoins getting sent to wrong address etc.. how does that happen?
As a software developer I'll be using bitcoin in my application for payments.
What should I be looking for? security wise..
I see that sending between legacy and segwit addresses is not a problem...

  • Beyond the technical considerations, keep UX in mind - a lot of BTC has been lost just due to user error! Read up on best practices when transacting, and try to steer users towards those good habits (eg, visually double checking that you have copied the correct address, etc). A lot of it is somewhat basic, but very important to consider. – chytrik Dec 11 '19 at 22:51
2

The dangers are minimal.

There is no restriction on which addresses can send to which other addresses.

Most common issues arise from wallets failing to support different address encodings (many wallets still do not support bech32), which results in them rejecting valid addresses.

Other, rarer, issues include mixing up address types - a few wallets in the past have interpreted p2sh addresses as p2pkh addresses and sent coins to the correct HASH160 value embedded in an incorrect locking script, effectively burning them.

|improve this answer|||||

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.