I'm working on a marketplace type website and i want a bitcoin address to be generated for each user that registers an account. this needs to be done in php with no javascript

1 Answer 1


If you're running your own Bitcoind for JSON RPC calls via PHP then you can generate new address for each of your customers by this JSON Call command in PHP like this:

echo $wallet->getnewaddress();

This will echo the new address and stores it in wallet variable. Please refer to this doc https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list

I hope this helps.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.