Bitcoin Forum
May 13, 2024, 08:06:33 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How does an exchange wallet system work?  (Read 779 times)
mgoldfinger (OP)
Full Member
***
Offline Offline

Activity: 154
Merit: 100


View Profile
February 08, 2014, 02:37:21 PM
 #1

I have a question on how the wallet system on an exchange worka?

e.g. when I setup a user on a exchange, a wallet address is created for my user. But how does this actually work? Is it something like the Exchange having some sort of a 'master wallet' which holds all the addresses of the users? New addresses are then created in the wallet for new users? Are seperate wallets setup per user, that link directly to the blockchain?

Anybody know how this works?

1715587593
Hero Member
*
Offline Offline

Posts: 1715587593

View Profile Personal Message (Offline)

Ignore
1715587593
Reply with quote  #2

1715587593
Report to moderator
"There should not be any signed int. If you've found a signed int somewhere, please tell me (within the next 25 years please) and I'll change it to unsigned int." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715587593
Hero Member
*
Offline Offline

Posts: 1715587593

View Profile Personal Message (Offline)

Ignore
1715587593
Reply with quote  #2

1715587593
Report to moderator
1715587593
Hero Member
*
Offline Offline

Posts: 1715587593

View Profile Personal Message (Offline)

Ignore
1715587593
Reply with quote  #2

1715587593
Report to moderator
1715587593
Hero Member
*
Offline Offline

Posts: 1715587593

View Profile Personal Message (Offline)

Ignore
1715587593
Reply with quote  #2

1715587593
Report to moderator
DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4653



View Profile
February 09, 2014, 07:59:11 PM
 #2

I have a question on how the wallet system on an exchange worka?

e.g. when I setup a user on a exchange, a wallet address is created for my user. But how does this actually work? Is it something like the Exchange having some sort of a 'master wallet' which holds all the addresses of the users? New addresses are then created in the wallet for new users? Are seperate wallets setup per user, that link directly to the blockchain?

Anybody know how this works?

Each exchange probably has their own way of doing it, and many of them probably don't publicly share this information.

If I was running an exchange, I probably wouldn't use a "wallet" at all.

Instead, I'd create a database of bitcoin addresses and store the private keys in a separate offline database.

When a new customer signs up or requests a new "deposit" address, I'd choose an unused address from my online database of addresses and supply this address to the user.  Then I'd scan the blockchain regularly for any new transactions that send bitcoins to any address in my database and update the "value" associated with the customer record in my database.  On a regular basis, I'd use an offline system to create a transaction that sweeps balances from all received transactions into a paper wallet stored in a secure location.  I'd then physically transfer this transaction that was created offline to an online wallet. I'd also transfer from these paper wallets to an online hot wallet a small portion of the total bitcoins under my control.  This hot wallet would be used to send requested withdrawals. Transactions sent to the hot wallet would be scanned for "risky" or "suspicious" activity which would require human intervention before sending out the requested withdrawal.

Of course there may be a better way of doing things, and I'd certainly be open to advice, this is just what first comes to mind.


justusranvier
Legendary
*
Offline Offline

Activity: 1400
Merit: 1009



View Profile
February 09, 2014, 09:29:52 PM
 #3

Of course there may be a better way of doing things, and I'd certainly be open to advice, this is just what first comes to mind.
http://bitcoinism.blogspot.com/2013/12/voting-pools-how-to-stop-plague-of.html
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!