<p>The Omniwallets mentioned in the previous answer can be thought of as a form of limited-scope L2 (second-layer) payment network, albeit one with much more required trust than a decentralized global L2 such as the Lightning Network. Transfers <em>within</em> an exchange, that is, between two parties who are both customers of the exchange, can be effected by simply updating a database within the exchange, without touching the blockchain.</p>
<p>The usual form this would take is, Alice wants to buy bitcoin using part of her fiat balance on the exchange, while Bob wants to do the opposite. The exchange can simply decrement Alice's fiat balance and Bob's BTC balance, and increment Alice's BTC balance and Bob's fiat balance, according to the current exchange rate. This is much less expensive than posting on-chain transactions.</p>
<p>This arrangement does open the possibility of <a href="https://bitcoin.stackexchange.com/questions/tagged/fractional-reserve">fractional-reserve</a> asset management (either of fiat or bitcoin); many of the larger exchanges seek to allay these concerns, at least as far as their bitcoin holdings are concerned, by periodically revealing <a href="https://bitcoin.stackexchange.com/search?q=proof+of+reserve">proofs of reserve</a> to the public.</p>

CC BY-SA 4.0
2022-06-15T20:30:19.177Z
2022-06-15T20:30:19.177Z
Larry Ruane
<p>Note: This answer applies to Bitcoin, not &quot;crypto&quot; generically.</p>
<h2>On terminology</h2>
<p>I think you may be <a href="https://bitcoin.stackexchange.com/q/13059/5406">conflating &quot;wallets&quot; and &quot;addresses&quot;</a>. Addresses are used to communicate the payment instructions from receiver to sender and identify a payment's context. A more suitable name instead of &quot;addresses&quot; would have been &quot;invoice identifiers&quot;. A &quot;wallet&quot; is an abstract construct that tracks a user's funds and corresponding transactions. Wallets often also manage private key material, although that is sometimes split into a &quot;watch-only wallet&quot; and a personal hardware signing device (or &quot;hardware wallet&quot;).</p>
<p>In this context, some people insist that the term <em>wallet</em> only refers to situations in which the user has full control of their own funds, and relations in which a service has taken custody of their funds should be referred to as <em>user accounts</em>.</p>
<h2>Replicating user balances on-chain</h2>
<p>Having separate <em>addresses</em> per customer is a business necessity, having separate <em>wallets</em> for each customer is a scalability nightmare.<br />
E.g. Coinbase handled their (custodial!) wallets that way for a long time: they would try to map user balances on chain in addition to accounting for them on the books. They'd redirect funds from the separate wallets to their main wallet after deposits came in, and before sending withdrawals/payments first stage funds in a user's specific address &quot;to have the correct 'sender address'&quot;. This added unnecessary transactions and was a horrible privacy leak due to the address reuse. Also users were confused about &quot;funds moving from/to their addresses&quot;.</p>
<h2>Omniwallets</h2>
<p>It's much cleaner to explicitly take custody:
Since exchanges (and many online-wallets) take custody of deposits, they give out distinct addresses for each user to learn whom they should credit when payments come in, but all of the user addresses are part of a single &quot;omniwallet&quot;. This allows the service to benefit from their operation's scale: they can use all UTXOs from the  omniwallet to efficiently build transactions, can consolidate the smaller UTXOs opportunistically when blockspace is abundant, and keep the majority of the funds in cold storage. In Bitcoin, a transaction can spend UTXOs received to many different addresses together (which is not true for some other cryptocurrencies which operate under an account model rather than a UTXO model).</p>

CC BY-SA 4.0
2022-06-17T11:01:27.260Z
Thank you for the answer. Do you happen to have an address that was used by the old coinbase system to understand the payment system through looking at transaction? Or is there some documentation on the payment system?
itscoldoutsideman
CC BY-SA 4.0
2022-06-14T15:48:56.477Z
2022-06-15T15:35:55.250Z
2022-06-15T15:35:55.250Z
Murch
<p>Most exchanges that have the option to deposit crypto offer individual wallets for every customer. What is the benefit of moving that money to a &quot;central&quot; wallet? Could they also just combine thousands of addresses to make their transactions? Is the benefit just for the overview or is there a technical reason?</p>

CC BY-SA 4.0
2022-06-15T01:38:49.053Z
With crypto being big on "decentralization", the observation was that majority of people really don't care about things being decentralized, but comes with significant overhead.
Nelson
<transactions><wallet><exchanges><scalability><custody>
Why do bitcoin exchanges use "central" wallets?
itscoldoutsideman
# Why do bitcoin exchanges use "central" wallets?

(Asked by: username_0 on 2022-06-14)

Most exchanges that have the option to deposit crypto offer individual wallets for every customer. What is the benefit of moving that money to a "central" wallet? Could they also just combine thousands of addresses to make their transactions? Is the benefit just for the overview or is there a technical reason?

**Tags:** transactions, wallet, exchanges, scalability, custody

> **Comments:**
> **username_1**: With crypto being big on "decentralization", the observation was that majority of people really don't care about things being decentralized, but comes with significant overhead.  

---

## 2 answers

### Answer by username_3 on 2022-06-14. Score: 14 | Accepted answer

Note: This answer applies to Bitcoin, not "crypto" generically.

## On terminology

I think you may be [conflating "wallets" and "addresses"](https://bitcoin.stackexchange.com/q/13059/5406). Addresses are used to communicate the payment instructions from receiver to sender and identify a payment's context. A more suitable name instead of "addresses" would have been "invoice identifiers". A "wallet" is an abstract construct that tracks a user's funds and corresponding transactions. Wallets often also manage private key material, although that is sometimes split into a "watch-only wallet" and a personal hardware signing device (or "hardware wallet").

In this context, some people insist that the term *wallet* only refers to situations in which the user has full control of their own funds, and relations in which a service has taken custody of their funds should be referred to as *user accounts*.

## Replicating user balances on-chain

Having separate *addresses* per customer is a business necessity, having separate *wallets* for each customer is a scalability nightmare.  
E.g. Coinbase handled their (custodial!) wallets that way for a long time: they would try to map user balances on chain in addition to accounting for them on the books. They'd redirect funds from the separate wallets to their main wallet after deposits came in, and before sending withdrawals/payments first stage funds in a user's specific address "to have the correct 'sender address'". This added unnecessary transactions and was a horrible privacy leak due to the address reuse. Also users were confused about "funds moving from/to their addresses".

## Omniwallets

It's much cleaner to explicitly take custody:
Since exchanges (and many online-wallets) take custody of deposits, they give out distinct addresses for each user to learn whom they should credit when payments come in, but all of the user addresses are part of a single "omniwallet". This allows the service to benefit from their operation's scale: they can use all UTXOs from the omniwallet to efficiently build transactions, can consolidate the smaller UTXOs opportunistically when blockspace is abundant, and keep the majority of the funds in cold storage. In Bitcoin, a transaction can spend UTXOs received to many different addresses together (which is not true for some other cryptocurrencies which operate under an account model rather than a UTXO model).

> **Comments:**
> **username_0**: Thank you for the answer. Do you happen to have an address that was used by the old coinbase system to understand the payment system through looking at transaction? Or is there some documentation on the payment system?  

---

### Answer by username_2 on 2022-06-15. Score: 2

The Omniwallets mentioned in the previous answer can be thought of as a form of limited-scope L2 (second-layer) payment network, albeit one with much more required trust than a decentralized global L2 such as the Lightning Network. Transfers *within* an exchange, that is, between two parties who are both customers of the exchange, can be effected by simply updating a database within the exchange, without touching the blockchain.

The usual form this would take is, Alice wants to buy bitcoin using part of her fiat balance on the exchange, while Bob wants to do the opposite. The exchange can simply decrement Alice's fiat balance and Bob's BTC balance, and increment Alice's BTC balance and Bob's fiat balance, according to the current exchange rate. This is much less expensive than posting on-chain transactions.

This arrangement does open the possibility of [fractional-reserve](https://bitcoin.stackexchange.com/questions/tagged/fractional-reserve) asset management (either of fiat or bitcoin); many of the larger exchanges seek to allay these concerns, at least as far as their bitcoin holdings are concerned, by periodically revealing [proofs of reserve](https://bitcoin.stackexchange.com/search?q=proof+of+reserve) to the public.


---

