Bitcoin Forum
June 01, 2024, 09:15:33 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: PHP Development with Bitcoin  (Read 738 times)
mdk72002 (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
November 13, 2013, 06:05:44 PM
 #1

Hey Guys,

I know this should probably be in the Development section but I am not able to post there because im a newbie to this forum.

Anyway, I am trying to mess around with opening a webpage for users to hold their wallet. I am a little bit confused about a few things that I hope somebody can help me clarify. I understand how to install bitcoind on a VPS and and fluent in PHP. Below are the questions.

These questions pertain to using the jsonRPCClient with PHP.

1) Is it possible to create wallets for my users using PHP? I am a bit confused on whether or not a Wallet is an actual thing that needs to be created with bitcoind or functions as an account in which you just keep track of all of your clients or your own transactions, balances, addresses etc and is just called a "wallet". Almost like a profile.

2) I understand how to get new addresses by using PHP. But I am curious on how an account is assigned. For example, to get a new address you use the getnewaddress (account) function. Can that account name be specified or does it generate from bitcoind? This seems strange to me if it would allow you to specify the account name considering the account name could already be taken and would just give an error.

3) When you are using PHP to generate an address for yourself or your customer where does the private key go? The API Call List that I am looking at (https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_Calls_list) does not say anything about a private key. Is a private key required in order to send transactions to another address? This is very confusing to me and I cant seem to find an answer. What I do see is using $bitcoin->sendtoaddress(<bitcoinaddress>, <amount>); to send coins, but again no mention of a private key.

Thanks in advance!
akipfer
Sr. Member
****
Offline Offline

Activity: 294
Merit: 250



View Profile WWW
March 08, 2014, 09:29:41 AM
 #2

Not the only one, WE NEED MORE INFO about how to develop stuffs using BITCOIN!

BTC 1LDZwmLNULuEKPANry5DTbH5seLKwph8ua         | [WebSite off] coopersite.com.br | Aceitaremos Moedas como pgto | Procurando franqueados!
LTC  LYMQwZbBHK2kdD7SJnxCnn8NcwbiFAmgnV        | [Twitter] https://twitter.com/allankipfer
[M.B.] Rules - [M.B.]-[Mercado Bitcoin] Esta da hora!   | [Facebook] http://www.facebook.com/allan.kipfer.tbo
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!