Pages:
Author

Topic: So You Want To Use Bitcoin On Your Website? - page 3. (Read 15678 times)

full member
Activity: 224
Merit: 101
How make that script (wallet notify) count confirm?

i need add info to mysql after 3 confirmation..

thanks
legendary
Activity: 1442
Merit: 1186
and i have question..

after install bitcoind need create multi sig "createmultisig" for receiving payment?
and what need "key" use?     createmultisig    <'["key,"key"]'>

i ask this question because i sent payment to getnewaddress and balance is 0.. where lost payments?

i don't know how resolve this problem.
need help


Payment is not lost. Your balance will remain zero until your node has reached and validated the block that transaction is in and is fully synced. Since you only started ~ 9 hours ago your node is still syncing and validating, it took mine about 14 hours to fully sync.   If you can do getinfo like you mentioned before, try it again and see what block your node is at. Our current block height is at 407720.
full member
Activity: 224
Merit: 101
and i have question..

after install bitcoind need create multi sig "createmultisig" for receiving payment?
and what need "key" use?     createmultisig    <'["key,"key"]'>

i ask this question because i sent payment to getnewaddress and balance is 0.. where lost payments?

i don't know how resolve this problem.
need help
full member
Activity: 224
Merit: 101
i use code:

...
$newaddress = $bitcoin->getnewaddress();
print_r($newaddress);
...

the script get new address: 1EJJxKyoda4wkSvr1S4F4X5o9hFtaWs38E

i sent to this address 0.0001 btc.

than i call getbalance..
but balance 0.

why?

i try it 2 times..

thanks.
full member
Activity: 224
Merit: 101
and I call getaccountaddress via console.
and get bitcoin address.

after sent to this address 0.0001btc from my blockchain.info account.
but getbalance return 0.000btc.
full member
Activity: 224
Merit: 101
512mb is pretty weak. I recommend the $20/month 2GB of RAM option.   Did you follow the videos and modify your bitcoin.conf so that you aren't eating up all your bandwidth?

I follow to your video json-rpc.

my bitcoin.conf
prune=600
maxconnections=12
maxuploadtarget=20
rpcuser=myuser
rpcpassword=mypassword
daemon=1
keypool=10000
legendary
Activity: 1442
Merit: 1186
512mb is pretty weak. I recommend the $20/month 2GB of RAM option.   Did you follow the videos and modify your bitcoin.conf so that you aren't eating up all your bandwidth?
full member
Activity: 224
Merit: 101
Can I use Droplet 512mb 20Gb for bitcoind?

what need config bitcoin.conf?

I install bitcoind and after 5-7 minutes see out of memory: kill process 4150 (bitcoind)
how fix it?
thanks
legendary
Activity: 1442
Merit: 1186
I only switched it to port 3030 because port 3000 was already being used on my system.
The receive payments api key is different than the wallet api key.
https://blockchain.info/api/api_create_code

I made a pull request to the blockchain api repo on github a while back regarding the timeout error.

https://github.com/blockchain/service-my-wallet-v3/blob/master/README.md#troubleshooting

Timeout Errors:

If you are getting a timeout response, additional authorization from your blockchain wallet may be required. This can occur when using an unrecognized browser or IP address. An email authorizing the API access attempt will be sent to the registered user that will require action in order to authorize future requests.
full member
Activity: 224
Merit: 101
why use port 3030 for blockchain wallet service api v2?

in manual port is 3000
full member
Activity: 224
Merit: 101

Thanks for your work and great lessons!

i have some questions...


i have installed blockchain-wallet-service and start on port 3030.
i have aproved api key.

i start php script

$url = "http://127.0.0.1:3030/merchant/my-GUID/login?password=my-PASSWORD&api_code=my-API-CODE";
   $ch = curl_init();
   curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
   curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
   curl_setopt($ch, CURLOPT_URL, $url);
   $ccc = curl_exec($ch);
   $json = json_decode($ccc, true);
   echo "
";
   var_dump($json);
   echo "
";
?>

but server answer:
array(1) {
  ["error"]=>
  string(69) "Request to fetch wallet timed out, check that your API key is correct"
}

what is this?
why don't work?

also not work without api key..
http://localhost:3000/merchant/$guid/balance?password=$main_password


but receive api v2 is work well.
and work callback url

please help me..
thanks!

hero member
Activity: 1540
Merit: 502
Update

Just finished a new series on how to integrate and use the bitcoind server on a website.

Bitcoind and JSON-RPC API
1. Intro - https://www.youtube.com/watch?v=cMM-t7azzJE
2. Setting up on a VPS - https://www.youtube.com/watch?v=ygNit44dQHA
3. Customize the bitcoin.conf - https://www.youtube.com/watch?v=W54aRszkEOI
4. Testing with bitcoin command line interface - https://www.youtube.com/watch?v=vmdYD7vutTI
5. Your first JSON-RPC calls - https://www.youtube.com/watch?v=ARL_PvDEBtU
6. More JSON-RPC calls - https://www.youtube.com/watch?v=FyLCKMqkWIA
7. Wallet Notify - https://www.youtube.com/watch?v=o4BPt4RXOm4

Or watch all vids as a playlist:  
https://www.youtube.com/watch?v=cMM-t7azzJE&index=27&list=PLhWIQKZKupCYEPtkR8sPLRJ5VDu8NepcV

your great ( but you knew this Smiley )
thx alot  i am not gonna use it , but its handy if someone needs a good info
legendary
Activity: 1442
Merit: 1186
Update

Just finished a new series on how to integrate and use the bitcoind server on a website.

Bitcoind and JSON-RPC API
1. Intro - https://www.youtube.com/watch?v=cMM-t7azzJE
2. Setting up on a VPS - https://www.youtube.com/watch?v=ygNit44dQHA
3. Customize the bitcoin.conf - https://www.youtube.com/watch?v=W54aRszkEOI
4. Testing with bitcoin command line interface - https://www.youtube.com/watch?v=vmdYD7vutTI
5. Your first JSON-RPC calls - https://www.youtube.com/watch?v=ARL_PvDEBtU
6. More JSON-RPC calls - https://www.youtube.com/watch?v=FyLCKMqkWIA
7. Wallet Notify - https://www.youtube.com/watch?v=o4BPt4RXOm4

Or watch all vids as a playlist:  
https://www.youtube.com/watch?v=cMM-t7azzJE&index=27&list=PLhWIQKZKupCYEPtkR8sPLRJ5VDu8NepcV
legendary
Activity: 1442
Merit: 1186
February 22, 2016, 08:34:50 PM
#50
really nice and most importantly easy. Sometimes coders don't get most are newbs and start with the hard stuff, scaring people away

Thanks. Exactly, I attempt to bridge the gap between experienced developers and beginners. Some API documentation will just say something like "create a POST cURL request that includes your payload with a HMAC sha512 signature of your request, api key and a nonce and include your data in the headers" and then they paste a giant block of code.  Most people won't know where to start. 
eas
newbie
Activity: 4
Merit: 0
February 22, 2016, 04:35:41 PM
#49
hi,
im new here  Grin
and im a webdeveloper. this post looks interesting.
thanks for it Smiley
newbie
Activity: 57
Merit: 0
February 22, 2016, 03:02:02 PM
#48
really nice and most importantly easy. Sometimes coders don't get most are newbs and start with the hard stuff, scaring people away
hero member
Activity: 854
Merit: 500
Nice guides. Implementations in NodeJS would be cool.
member
Activity: 111
Merit: 10
yes!!Here is many useful link. Finally i got this.Thanks for everything.
legendary
Activity: 1500
Merit: 1002
Mine Mine Mine
BUMP ! awesome work n dedication thx for sharing.

will make use of it.

good job again OP ! u deserve all the good words here !

sub'd
Pages:
Jump to: