Bitcoin Forum

Other => Beginners & Help => Topic started by: m19 on August 12, 2013, 05:43:21 PM



Title: Send and recieve bitcoins secure
Post by: m19 on August 12, 2013, 05:43:21 PM
Hello everyone, thanks for reading.

I learned about bitcoins in 2011 but choose to ignore it until yesterday.

For learning purposes I'd like to create a script that receives bitcoins and pays out to users instantly when they want.

There are some things I don't quite understand.

I've seen some sites generating a unique address for each new user to which they can send the payment, why is this? Why not use 1 address for all users?

Should I use an api like blockchain.info to send payments to users?

How can I make the process of accepting and sending as secure as possible?

If someone has some answers for me, they are surely appreciated.


Title: Re: Send and recieve bitcoins secure
Post by: leancuisine on August 12, 2013, 06:39:30 PM

I've seen some sites generating a unique address for each new user to which they can send the payment, why is this? Why not use 1 address for all users?

This is so that the API can detect when that user has deposited, and would automatically credit their account or deliver the item they purchased. If you just use 1 address for all users, you would have to manually complete the transaction as the API wouldn't know which deposit was from which user.


Title: Re: Send and recieve bitcoins secure
Post by: m19 on August 13, 2013, 08:16:54 AM
Thanks alot, sounds logic after all!


Title: Re: Send and recieve bitcoins secure
Post by: mlyckoX on August 13, 2013, 09:38:14 AM
With one address for all users you wouldn't know who deposited without collecting additional data (for example TX )


Title: Re: Send and recieve bitcoins secure
Post by: 🏰 TradeFortress 🏰 on August 13, 2013, 09:39:24 AM
Have you looked into Inputs.io (https://inputs.io)? :)

You can have on page payment buttons (https://inputs.io/button).


Title: Re: Send and recieve bitcoins secure
Post by: m19 on August 14, 2013, 09:24:25 AM
Have you looked into Inputs.io (https://inputs.io)? :)

You can have on page payment buttons (https://inputs.io/button).

I have made an account there, didn't really had the time yet to read it all.

Let's just want to say I want to make a Dicing game (I don't, but it's the best example), which kind of API lets me create new addresses for  every users and lets me pay out to users?

What is the best way to do this secure? For me and my users?


Title: Re: Send and recieve bitcoins secure
Post by: murraypaul on August 14, 2013, 09:25:47 AM
No offense, but if you are asking basic questions like this, you have no business trying to run a site risking other peoples' money.


Title: Re: Send and recieve bitcoins secure
Post by: favdesu on August 14, 2013, 09:26:05 AM
Have you looked into Inputs.io (https://inputs.io)? :)

You can have on page payment buttons (https://inputs.io/button).

I have made an account there, didn't really had the time yet to read it all.

Let's just want to say I want to make a Dicing game (I don't, but it's the best example), which kind of API lets me create new addresses for  every users and lets me pay out to users?

What is the best way to do this secure? For me and my users?

just-dice.com runs with inputs, so I'd say that's the best option.


Title: Re: Send and recieve bitcoins secure
Post by: m19 on August 14, 2013, 11:34:35 AM
No offense, but if you are asking basic questions like this, you have no business trying to run a site risking other peoples' money.
No offense, but try and waste someone else's time with useless posts.


Title: Re: Send and recieve bitcoins secure
Post by: b!z on August 14, 2013, 01:22:34 PM
You should read about bitcoin API and php codes.