Skip to main content
The 2024 Developer Survey results are live! See the results
4 votes

Sign transaction hex with PHP library

The library has a documentation folder, plus examples to boot! You should always check for these first :-) As mentioned in the comment above, you should check your transaction creation procedure, as ...
karimkorun's user avatar
3 votes

bitcoinTestnet Network returning a mainnet address

The following code fixes the issue. The problem was that the class I was using didn't set the network on the bitwasp bitcoin object. The code came from freedom node. hd.php <?php require_once(...
toddmo's user avatar
  • 774
1 vote

How to create valid P2SH-address with Bitwasp-Library that can be used with Electrum?

You haven't provided a derivation path in that code. For p2pkh addresses electrum uses m/j/i where m is the xprv/xpub you use, j is 0 for receive and 1 for change addresses and i is the index of the ...
Abdussamad's user avatar
  • 2,699
1 vote

Installing PHP bitwasp bitcoin library

You have it installed already. That's why it's saying you have the requirements met and don't need to download it again.
Whyte the Weeabear's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible