Bitcoin Forum
June 18, 2024, 03:30:56 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Send and recieve bitcoins secure  (Read 565 times)
m19 (OP)
Full Member
***
Offline Offline

Activity: 186
Merit: 100


View Profile
August 12, 2013, 05:43:21 PM
 #1

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.
leancuisine
Hero Member
*****
Offline Offline

Activity: 980
Merit: 1000


www.DonateMedia.org


View Profile WWW
August 12, 2013, 06:39:30 PM
 #2


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.

m19 (OP)
Full Member
***
Offline Offline

Activity: 186
Merit: 100


View Profile
August 13, 2013, 08:16:54 AM
 #3

Thanks alot, sounds logic after all!
mlyckoX
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
August 13, 2013, 09:38:14 AM
 #4

With one address for all users you wouldn't know who deposited without collecting additional data (for example TX )
🏰 TradeFortress 🏰
Bitcoin Veteran
VIP
Legendary
*
Offline Offline

Activity: 1316
Merit: 1043

👻


View Profile
August 13, 2013, 09:39:24 AM
 #5

Have you looked into Inputs.io? Smiley

You can have on page payment buttons.
m19 (OP)
Full Member
***
Offline Offline

Activity: 186
Merit: 100


View Profile
August 14, 2013, 09:24:25 AM
 #6

Have you looked into Inputs.io? Smiley

You can have on page payment buttons.

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?
murraypaul
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


View Profile
August 14, 2013, 09:25:47 AM
 #7

No offense, but if you are asking basic questions like this, you have no business trying to run a site risking other peoples' money.

BTC: 16TgAGdiTSsTWSsBDphebNJCFr1NT78xFW
SRC: scefi1XMhq91n3oF5FrE3HqddVvvCZP9KB
favdesu
Legendary
*
Offline Offline

Activity: 1764
Merit: 1000



View Profile WWW
August 14, 2013, 09:26:05 AM
 #8

Have you looked into Inputs.io? Smiley

You can have on page payment buttons.

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.

m19 (OP)
Full Member
***
Offline Offline

Activity: 186
Merit: 100


View Profile
August 14, 2013, 11:34:35 AM
 #9

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.
b!z
Legendary
*
Offline Offline

Activity: 1582
Merit: 1010



View Profile
August 14, 2013, 01:22:34 PM
 #10

You should read about bitcoin API and php codes.
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!