<blockquote>
<p><strong>I know that exchanges just update their databases when transaction between customers occur.But how this affect blockchain?</strong></p>
</blockquote>
<p>It has no effect on the Bitcoin blockchain. None.</p>
<hr />
<p>At midnight on Monday, John asks the exchange to transfer ₿3 to Mary. Both are customers of the same exchange.</p>
<p>Here's how that changes the spreadsheet in the laptop of rich Eddy, the exchange owner:</p>
<div class="s-table-container">
<table class="s-table">
<thead>
<tr>
<th>Day</th>
<th>I owe John</th>
<th>I owe Mary</th>
</tr>
</thead>
<tbody>
<tr>
<td>Monday</td>
<td>₿10</td>
<td>₿10</td>
</tr>
<tr>
<td>Tuesday</td>
<td>₿7</td>
<td>₿13</td>
</tr>
</tbody>
</table>
</div>
<p>Heres how that affects the blockchain²</p>
<div class="s-table-container">
<table class="s-table">
<thead>
<tr>
<th>Day</th>
<th>John has¹</th>
<th>Mary has¹</th>
<th>Eddy has¹</th>
</tr>
</thead>
<tbody>
<tr>
<td>Monday</td>
<td>0</td>
<td>0</td>
<td>₿100</td>
</tr>
<tr>
<td>Tuesday</td>
<td>0</td>
<td>0</td>
<td>₿100</td>
</tr>
</tbody>
</table>
</div>
<p>Note that the number in Eddy's column could as easily be 0. Eddy might have <a href="https://www.osc.ca/quadrigacxreport/" rel="nofollow noreferrer">long ago spent it all</a>.</p>
<hr />
<p>When you give money to a trusted third party, such as an exchange, you give them <em>control of that money</em></p>
<p>The Bitcoin blockchain records <em>changes in control of money</em>. The Blockchain <em>does not record debts</em></p>
<p>When an exchange deletes their IOU to John and creates an IOU to Mary, there is no change in control over Bitcoin money. It is still the exchange in control.</p>
<p>Remember, Bitcoin was invented so that one party could pay a second party without involving any trusted third party. There's no good reason to <em>hold</em> money in an exchange unless you are some kind of day trader.</p>
<hr />
<blockquote>
<p><strong>How to create off chain transaction the one that exchanges uses.</strong></p>
</blockquote>
<p>Use whatever methods your particular exchange provides. Every exchange is different. Ask them. Maybe they have an API, maybe not.</p>
<hr />
<sub>
¹ control over.    
² in the UTXO set derived from it - if you know the public keys etc of each.
</sub>

CC BY-SA 4.0
2023-12-10T10:10:25.137Z
2023-12-10T12:11:03.167Z
2023-12-10T12:11:03.167Z
RedGrittyBrick
<p>Some exchanges enable their customers to send funds to each other by using an email address. The recipient then receives an email informing them of the pending payment offer. The recipient must log in (or create an account) to accept the transfer, at which point the exchange updates their accounting. This does not case any on-chain transaction, the funds are still in custody of the exchange. These sort of service features generally only work among customers of the same exchange, and not all exchanges offer it.</p>
<p>If you cannot find any such feature on the exchange you are using, you should contact the exchange’s customer service to inquire whether it is available and how to use it.</p>
<p>Most exchanges only permit withdrawing to yourself for KYC/AML reasons. If an exchange offers payments to others directly from your account, they may offer on-chain or Lightning as payment methods. Possibly some exchanges might use Liquid. I’m not aware of any exchanges facilitating off-chain payments to customers of other exchanges that are completely off-chain and not settled in some other blockchain based token or via Lightning.</p>

CC BY-SA 4.0
2023-12-11T14:52:51.070Z
2023-12-11T14:52:51.070Z
Murch
<p>How to create off-chain transaction, the one that exchanges uses. I know that exchanges just update their databases when transaction between customers occur. But how this affect blockchain? How to build such kind of transaction and I am not asking about lighting network because I already have lighting network node and that's not what I am searching for. What tools to use for crafting off-chain transaction? Can someone guide me how to create it?</p>

<exchanges><off-chain><exchange-software>
How to create off-chain transaction, the one that exchanges uses
juhasa
# How to create off-chain transaction, the one that exchanges uses

(Asked by: username_0 on 2023-12-10)

How to create off-chain transaction, the one that exchanges uses. I know that exchanges just update their databases when transaction between customers occur. But how this affect blockchain? How to build such kind of transaction and I am not asking about lighting network because I already have lighting network node and that's not what I am searching for. What tools to use for crafting off-chain transaction? Can someone guide me how to create it?

**Tags:** exchanges, off-chain, exchange-software


---

## 2 answers

### Answer by username_1 on 2023-12-10. Score: 3

> **I know that exchanges just update their databases when transaction between customers occur.But how this affect blockchain?**

It has no effect on the Bitcoin blockchain. None.

---

At midnight on Monday, John asks the exchange to transfer ₿3 to Mary. Both are customers of the same exchange.

Here's how that changes the spreadsheet in the laptop of rich Eddy, the exchange owner:

| Day | I owe John | I owe Mary |
| --- | --- | --- |
| Monday | ₿10 | ₿10 |
| Tuesday | ₿7 | ₿13 |

Heres how that affects the blockchain²

| Day | John has¹ | Mary has¹ | Eddy has¹ |
| --- | --- | --- | --- |
| Monday | 0 | 0 | ₿100 |
| Tuesday | 0 | 0 | ₿100 |

Note that the number in Eddy's column could as easily be 0. Eddy might have [long ago spent it all](https://www.osc.ca/quadrigacxreport/).

---

When you give money to a trusted third party, such as an exchange, you give them *control of that money*

The Bitcoin blockchain records *changes in control of money*. The Blockchain *does not record debts*

When an exchange deletes their IOU to John and creates an IOU to Mary, there is no change in control over Bitcoin money. It is still the exchange in control.

Remember, Bitcoin was invented so that one party could pay a second party without involving any trusted third party. There's no good reason to *hold* money in an exchange unless you are some kind of day trader.

---

> **How to create off chain transaction the one that exchanges uses.**

Use whatever methods your particular exchange provides. Every exchange is different. Ask them. Maybe they have an API, maybe not.

---

¹ control over.
² in the UTXO set derived from it - if you know the public keys etc of each.


---

### Answer by username_2 on 2023-12-11. Score: 1

Some exchanges enable their customers to send funds to each other by using an email address. The recipient then receives an email informing them of the pending payment offer. The recipient must log in (or create an account) to accept the transfer, at which point the exchange updates their accounting. This does not case any on-chain transaction, the funds are still in custody of the exchange. These sort of service features generally only work among customers of the same exchange, and not all exchanges offer it.

If you cannot find any such feature on the exchange you are using, you should contact the exchange’s customer service to inquire whether it is available and how to use it.

Most exchanges only permit withdrawing to yourself for KYC/AML reasons. If an exchange offers payments to others directly from your account, they may offer on-chain or Lightning as payment methods. Possibly some exchanges might use Liquid. I’m not aware of any exchanges facilitating off-chain payments to customers of other exchanges that are completely off-chain and not settled in some other blockchain based token or via Lightning.


---

