Bitcoin Forum
November 12, 2024, 09:10:03 AM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Programming API for BTC accounts?  (Read 892 times)
ehmdjii (OP)
Sr. Member
****
Offline Offline

Activity: 351
Merit: 250


View Profile
September 25, 2011, 08:11:55 AM
 #1

hello,
i would like to set up a website where people can send and receive BTC from a provided address, which is something like their account.

are there any apis for that in a server-side language like PHP, ASP, JSP, etc?

thanks.

BTC: 1LsD5HpnX1Kfyti7CnHiVB1rjUEXGqmR2H
LTC: LQbpdMZmYyJa9bJG6NweBNxkSTfgZorkrG
kokjo
Legendary
*
Offline Offline

Activity: 1050
Merit: 1000

You are WRONG!


View Profile
September 25, 2011, 08:37:11 AM
 #2

run bitcoind Smiley

and use this api:
https://en.bitcoin.it/wiki/Api
https://en.bitcoin.it/wiki/API_reference_(JSON-RPC)
Happy Hacking!

"The whole problem with the world is that fools and fanatics are always so certain of themselves and wiser people so full of doubts." -Bertrand Russell
ehmdjii (OP)
Sr. Member
****
Offline Offline

Activity: 351
Merit: 250


View Profile
September 25, 2011, 10:15:03 AM
 #3

thanks! how do i define the port and the host where bitcoind listens?

BTC: 1LsD5HpnX1Kfyti7CnHiVB1rjUEXGqmR2H
LTC: LQbpdMZmYyJa9bJG6NweBNxkSTfgZorkrG
kokjo
Legendary
*
Offline Offline

Activity: 1050
Merit: 1000

You are WRONG!


View Profile
September 25, 2011, 10:23:23 AM
 #4

./bitcoind --help

"The whole problem with the world is that fools and fanatics are always so certain of themselves and wiser people so full of doubts." -Bertrand Russell
ehmdjii (OP)
Sr. Member
****
Offline Offline

Activity: 351
Merit: 250


View Profile
September 25, 2011, 11:04:37 AM
 #5

thank you!
so on linux  i started
./bitcoind -server -daemon

and it is using 100% cpu. why? is it downloading the blockchain?


BTC: 1LsD5HpnX1Kfyti7CnHiVB1rjUEXGqmR2H
LTC: LQbpdMZmYyJa9bJG6NweBNxkSTfgZorkrG
kokjo
Legendary
*
Offline Offline

Activity: 1050
Merit: 1000

You are WRONG!


View Profile
September 25, 2011, 11:30:41 AM
 #6

thank you!
so on linux  i started
./bitcoind -server -daemon

and it is using 100% cpu. why? is it downloading the blockchain?


yes downloading and verifying it.
its not hard to download it, but it takes alot of signature validation, and therefor alot of cpu to verify it.

"The whole problem with the world is that fools and fanatics are always so certain of themselves and wiser people so full of doubts." -Bertrand Russell
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!