Questions tagged [php]

Integrating Bitcoin services with the help of PHP-based frameworks or using PHP

173 questions
5
votes
7 answers

Converting satoshis to bitcoins issue using PHP

I am having PHP calculation problems (I think - i am reasonably new to PHP). I am using function convertToBTCFromSatoshi($value){ $BTC = ($value / 100000000 ); return (float)$BTC; } If $value = 10000 the result is correct of "0.0001" Yet…
Ford
  • 243
  • 1
  • 2
  • 6
1
vote
2 answers

PHP: is there a way to convert a private ECDSA key to its corresponding public key?

As described here (https://en.bitcoin.it/wiki/Technical_background_of_version_1_Bitcoin_addresses) I am trying to convert a private ECDSA key to its corresponding public key. (See step1 and step2). I think I need some code which multiplies some…
A.c
  • 145
  • 2
  • 13
1
vote
1 answer

Error in checkout while using Bitcoin Payments by BitcoinWay with WooCommerce, "CurveCurveFp Object"

I have bit coin installed on a clients wordpress site. Upon checkout, when I check Bitcoin as my payment, and click Place Order, the order does not go through and I get the following error at the top of the checkout page: CurveCurveFp Object ( …
1
vote
1 answer

I want to display information about my bitcoin node on a webpage (php or html)

I want to show information about my bitcoin node on a website.. how can I do this with windows + php + html + javascript + rpc? I want something like that but with more information and perhaps more dynamic: Example page: http://199.58.210.124/
T-rage_11
  • 11
  • 2
0
votes
0 answers

blockchain api missing file?

https://github.com/blockchain/api-v1-client-php <== php files im working with. When i do my first test with this new api i start off with the inits
BTCDude
  • 41
  • 6
0
votes
0 answers

How to sign a transaction hash in PHP?

Given the following example hash: 1ee917ec6ab6339e563d55abee50a49ccdb7d827cf087c0884f3da3b86e0dff4, and the following example private key: 483F2F5445D97B948A61C0D58CCC438126F3746220556942662B999178E8A0C4, how can I sign the transaction in PHP?
user2298995
  • 193
  • 3
  • 14
0
votes
1 answer

Dynamic Transaction Hash Confirmation

I am working on a donation based community website (using PHP) where participants register for an account to participate. Each account carries the participant's bitcoin address. A participant makes a commitment to donate say $10 and is paired with…
0
votes
2 answers

To create a new bitcoin address cloned Bit-Wasp/bitcoin-php code

I am using code from GitHub. Once I run composer its gives error as: C:\wamp64\www\bitcoin-php-master>composer require bitwasp/bitcoin Using version v0.0.33.1 for bitwasp/bitcoin ./composer.json has been updated Loading composer repositories…
0
votes
1 answer

Needing Instant (1-2 minutes) API / IPN for bitcoin payments

Basically I'm creating a autobuy in PHP. I'm currently using coinpayments.net but their payments take 1-12 hours to send (which defeats the object of my autobuy). I'm needing to know of any way I can allow my payments to be done after 1-2 minutes so…
user47456
  • 1
  • 1
0
votes
2 answers

Want to Accept bitcoins from php form

I want to exchange BTC with other payment methods on my website. person A will fill the form with email, name or other required fields and then fill amount of BTC he want to exchange. that form will take him to payment form (like Paypal checkout…
ealgehdr
  • 3
  • 2
0
votes
1 answer

how i can make bitcoin address generator like mycelium gear using php script

this is the code i got,how i can generated new random address using 1 pubkey,everytime page refresh;i try to use timestamp but din't work.
0
votes
1 answer

Get last price from Comkort exchange PHP-JSON

Maybe Anybody can tell me why i got no output on my Browser with $mystring ? http://pastebin.com/W0G4Sy4e Shell Output : php test.php 0.01341011 0.01341011 I love using PHP! Browser Output : I love using PHP! kindly regards Jessy
Jesssyy
  • 3
  • 1
0
votes
1 answer

Bitcoin exchange language coding

I am looking at coding a Bitcoin trading exchange, Would PHP be sufficient for an order matching engine? The server would be load balanced with running MySQL.
tommo
  • 133
  • 2
0
votes
1 answer

Why the shell return the balance normal but php not?

I am using the easybitcoin.php library and in my application. I use the getreceivedbyaddress method in php. It returns 0, but in my shell when I use bitcoin-cli it returns 0.000000000. My question is, how can I return in php the same as the…
Aisakk
  • 17
  • 6