bitcoin-php
bitcoin-php copied to clipboard
Bitcoin implementation in PHP
Hey @afk11 ! can you help me this is my code: $oldTransactions = file_get_contents('https://blockchain.info/rawaddr/15716aoSwq1VuqZgxbTSEXg7XAknmRVmE7'); $oldTransactions = json_decode($oldTransactions, true); $wif = 'xxxxxxx'; $txid = $oldTransactions['txs'][0]['hash']; $address = '1LDQAktLU5Wcw55CU3nzNE6RqVnCPFWzdQ'; $privKeyFactory = new...
hey @afk11 I am stuck in an error in main, can you help me? This is my code. $oldTransactions = file_get_contents('https://blockchain.info/rawaddr/15716aoSwq1VuqZgxbTSEXg7XAknmRVmE7'); $oldTransactions = json_decode($oldTransactions, true); $wif = 'xxxxx'; $txid =...
Kindly help with this issue. I am trying to create a bitcoin transaction but keep getting error bad request or Invalid transaction. Error: non-mandatory-script-verify-flag (Script failed an OP_EQUALVERIFY operation) ....
Hello. Could you write an example of creating a transaction, signing it, and obtaining a transaction hash that can be sent further - having: - only with private key -...
Since every example I've tried myself is outdated, I'm asking for help with deriveing bip84 extended public key from either seed or mnemonic. Please help me with it, I've spent...
Try recovering the address using a mnemonic phrase ``` public function restore(){ $mnemonic = ""; $mnemonic = $mnemonic; $seedGenerator = new Bip39SeedGenerator(new Random()); $seed = $seedGenerator->getSeed($mnemonic); $hierarchicalKeyFactory = new HierarchicalKeyFactory();...
Hey, This repository is unmaintained since years and not compatible with recent PHP versions, I think it would be good to archive it. And feel free to mention us (https://github.com/ProtonMail/bitcoin-php),...
Every time getting this error how can i solve ? `
Allow mdanter/ecc to be 1.0.0 - 0.5.0 does not allow php8