Run on console: php -f .\sample\transaction-api\CreateTransactionWithThirdPartySoftware.php
Import private key
In order to run the sample you will need: 1.- Use the faucet to fund source address Faucet https://accounts.blockcypher.com/testnet-faucet?a=n3D2YXwvpoPg8FhcWpzJiS3SvKKGD8AXZ4 2.- Get unspent transaction outputs (UTXOs) and select one: https://api.blockcypher.com/v1/btc/test3/addrs/n3D2YXwvpoPg8FhcWpzJiS3SvKKGD8AXZ4?unspentOnly=true 3.- Get the hex tx for the selected UTXO: https://live.blockcypher.com/btc-testnet/tx/e7f034f4a56999d04d8a3a8f07dca10e87cd4a7fd2a779e9ecd41c57afec84f8/ 4.- Copy Tx Hex and paste here:
This line throws a warning but it works: https://github.com/mdanter/phpecc/issues/90
Create a TX using third party software
https://github.com/Bit-Wasp/bitcoin-php