Sending a Bitcoin Transaction with Pure PHP?

Sending a Bitcoin Transaction with Pure PHP?

Does anyone know of a simple PHP script or library that will allow me to send bitcoin transactions without needing to download the blockchain?

Basically I just want to be able to use a private to empty the new wallet and send all BTC to a new wallet (minus transaction fees). It seems like it should be as simple as getting the balance, estimating the transaction fee, and then generating a transaction with a private key.

Then it could just be automatically broadcasted to 2-3 websites like blockchain.com/btc/pushtx

Trying to avoid writing it from scratch and a bit surprised that nothing like this already exists...

https://ift.tt/2QpAfLX

Comments

Popular posts from this blog

Bitcoin Core errors with database block

sendrawtransaction and txn-mempool-conflict