Bitcoin Forum
November 05, 2024, 10:36:04 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: automatically send bitcoins to one wallet from many  (Read 463 times)
shark255 (OP)
Full Member
***
Offline Offline

Activity: 224
Merit: 100



View Profile
December 11, 2013, 01:08:56 PM
 #1

Hi all!

If i have a store - and every client has its own wallet, which is generated by me (i have private and public keys)
How to automatically send bitcoins to my main wallet ?

Thanks.
OnkelPaul
Legendary
*
Offline Offline

Activity: 1039
Merit: 1005



View Profile
December 11, 2013, 01:14:37 PM
 #2

Your description is not very clear.
"client" = customer? Why would they have a wallet controlled by you?
When and why would you want to send bitcoins from these wallets?
Do you plan to have some "debit" system where customers pay in advance, their wallets get loaded with the payment, and they can spend the contents in your shop? If yes, you don't need bitcoin wallets and transactions - just some bookkeeping.

So if you want helpful advice, tell us what you really want to achieve.

Onkel Paul

shark255 (OP)
Full Member
***
Offline Offline

Activity: 224
Merit: 100



View Profile
December 11, 2013, 01:30:24 PM
 #3

"client" = customer? Why would they have a wallet controlled by you?

I was unclear, sorry. Not his(client) own wallet - but its own payment address.
Each customer has own payment address.
And i must collect all money from addresses to one.
OnkelPaul
Legendary
*
Offline Offline

Activity: 1039
Merit: 1005



View Profile
December 11, 2013, 01:43:11 PM
 #4

Most likely every wallet does that. When you generate a new address, the wallet creates a public/private key pair.
The private key of an address is used to spend bitcoins sent to that address.
Since it's all done within the wallet software, you don't need to handle the key pairs directly, just use the wallet.
Wallets such as bitcoin-qt have rpc interfaces through which they can be controlled from external programs.
These can be used to collect payments in a regular interval and forward them from the "incoming payments" wallet to your storage bitcoin address (which could be cold storage or at least diconnected from the internet and thus less likely to be compromised).

Onkel Paul

shark255 (OP)
Full Member
***
Offline Offline

Activity: 224
Merit: 100



View Profile
December 11, 2013, 02:01:49 PM
 #5

Tnanks, i am looking for server implementation. What i have googled - that i can use bitcoind daemon on my server
and send bitcoins to other wallet. Is it secure ? Or maybe there some instructions how to do it more correctly?
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!