bitcoin-php
bitcoin-php copied to clipboard
Bitcoin implementation in PHP
Hi, how could get the swgit address ?
` $publicKeyHex = "03c8fc5c87f00bcc32b5ce5c036957f8befeff05bf4d88d2dcde720249f78d9313"; $pubKeyFactory = new PublicKeyFactory(); $publicKey = $pubKeyFactory->fromHex($publicKeyHex); $pubKeyHash = $publicKey->getPubKeyHash(); // this one is from andkom/php-bitcoin-address and it works echo OutputFactory::p2pk($publicKey->getBinary())->address(); `
missing 4* for nOut
This PR removes the Network implementations of dash, doge, litecoin, viacoin, and zcash. We added the NetworkInterface early on so people could 'bring their own' implementations when using the project,...
bitwasp/bitcoin-bloom-filter https://github.com/Bit-Wasp/bitcoin-php-bloom-filter A dependency required for this doesn't support PHP8 yet, so I'd rather move it out of the core library. I've never heard of anyone actually using this. BC...
Hello, I am pretty new in the blockchain world and i came across your library. It has alot of functionality but the documentation is very brief. I am trying to...
My code: `function Transaction($to,$amount,$privateKey,$from){ // Load private key $ecAdapter = Bitcoin::getEcAdapter(); $privKeyFactory = new PrivateKeyFactory(); $private_key = $privKeyFactory->fromWif($privateKey); // Generate raw transaction $addressCreator = new AddressCreator(); $transaction = TransactionFactory::build(); //...