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

New z-enemy 1.26 Nvidia GPU Miner With Improved Performance

New coin daemon crashes ReadBlockFromDisk: Errors in block header at CBlockDiskPos(nFile=0, nPos=8)

How do I calculate the witness commitment hash for a given block?