<blockquote>
  <p>coinbase.com claim their sends have replay protection: "You can safely send any BTC or B2X from Coinbase without worrying about replays on the other chain."
  Does this imply that the coins I get in (1) can be used as a "taint"?</p>
</blockquote>

<p>Yes, if a transaction only exists on one blockchain, it is by definition only valid on that blockchain, so any other transaction which spends from it is also only valid on that chain. </p>

<blockquote>
  <p>Is this necessary, or are my BTC coins immune to replay by virtue of already having been spent?</p>
</blockquote>

<p>The latter, since your outputs have already been spent on the B2X chain, any replay of your BTC transaction would be rejected as a double-spend there, so you can safely just spend your BTC normally.</p>

<blockquote>
  <p>Now that I have a wallet for each chain, will they remember which chain they belong to? </p>
</blockquote>

<p>I assume that would be the case, but I'm not familiar with the wallet so I can't answer this.</p>

<p>I'm unsure what you mean in your last point, send which transaction back to coinbase?</p>

CC BY-SA 3.0
2017-11-08T05:22:03.010Z
In my original scenario, I was talking about sending from one of my Electrum wallets to a new Electrum wallet. I could decide instead to send from my Electrum wallet directly to coinbase.com.
morningstar
CC BY-SA 3.0
2017-11-08T05:26:28.153Z
In that case yes, I believe that would work equally well, as long as the B2X transaction you send includes the taint your bitcoins will be safe.
meshcollider
CC BY-SA 3.0
2017-11-08T05:13:55.727Z
2017-11-08T05:25:36.097Z
2017-11-08T05:25:36.097Z
meshcollider
<p>Tell me if this is a valid / secure idea to split my coins in my wallet after a hard fork without replay protection (e.g. segwit2x).</p>

<p>I have read the question <a href="https://bitcoin.stackexchange.com/questions/52210/what-is-the-best-way-to-prevent-replay-attacks-in-the-event-of-a-bitcoin-hard-fo">here</a>, but I want to clarify how to use it with my wallet (Electrum, but probably similar for other wallets). My plan is basically to use the "taint" method, using coinbase.com to provide the "tainted" coins.</p>

<p>I have some pre-fork bitcoin on coinbase.com, so after the fork I'll be entitled to some BTC and B2X. I also have some pre-fork bitcoin in my own wallet. My plan is this:</p>

<ol>
<li>Send a small amount of B2X from coinbase.com to my wallet</li>
<li>In my wallet, select a server on the segwit2x branch. I should see the transaction from (1).</li>
<li>Create a new wallet</li>
<li>Send all coins, including the new tainted coin, to an address in my new wallet</li>
<li>Change to a server on the non-segwit2x branch. I should see that my balance is unspent.</li>
</ol>

<p>Done.</p>

<p>Now my new wallet will contain only coins valid on B2X, because the transaction in (4) would not be valid on BTC. My old wallet will contain only coins valid on BTC, because they've already been spent on B2X.</p>

<p><a href="https://support.coinbase.com/customer/portal/articles/2892985-segwit-2x-faq" rel="nofollow noreferrer">coinbase.com claim their sends have replay protection</a>: "You can safely send any BTC or B2X from Coinbase without worrying about replays on the other chain."</p>

<p><strong>Does this imply that the coins I get in (1) can be used as a "taint"?</strong></p>

<p>I could repeat the procedure, sending a small amount of BTC to my old wallet, and sending this plus all my coins to a new address in the same wallet, to make sure any transactions using them are not replayable on the B2X branch. <strong>Is this necessary, or are my BTC coins immune to replay by virtue of already having been spent?</strong> Even if a transaction I did on BTC could be replayed on B2X, I wouldn't care, because my value on B2X is now in a different address. I'd like to skip this step to avoid the transaction fee.</p>

<p><strong>Now that I have a wallet for each chain, will they remember which chain they belong to?</strong> If I use automatic server selection, then if I get the wrong server my wallet will show a balance of 0. This is more of an annoyance than an actual danger, because I can always manually select the server. Just wondering.</p>

<p>As an alternative to (3) and (4), I might just send this transaction directly back to coinbase.com to exchange the B2X. <strong>Should this modified procedure also work as I intend?</strong></p>

<p>I know there are other methods, but I have my reasons for not preferring them, such as fiddliness or utilizing features not supported by my wallet.</p>

<electrum><blockchain-fork><coinbase.com><segwit2x>
Split coins in wallet using coins from coinbase.com
morningstar
# Split coins in wallet using coins from coinbase.com

(Asked by: username_0 on 2017-11-08)

Tell me if this is a valid / secure idea to split my coins in my wallet after a hard fork without replay protection (e.g. segwit2x).

I have read the question [here](https://bitcoin.stackexchange.com/questions/52210/what-is-the-best-way-to-prevent-replay-attacks-in-the-event-of-a-bitcoin-hard-fo), but I want to clarify how to use it with my wallet (Electrum, but probably similar for other wallets). My plan is basically to use the "taint" method, using coinbase.com to provide the "tainted" coins.

I have some pre-fork bitcoin on coinbase.com, so after the fork I'll be entitled to some BTC and B2X. I also have some pre-fork bitcoin in my own wallet. My plan is this:

1. Send a small amount of B2X from coinbase.com to my wallet
2. In my wallet, select a server on the segwit2x branch. I should see the transaction from (1).
3. Create a new wallet
4. Send all coins, including the new tainted coin, to an address in my new wallet
5. Change to a server on the non-segwit2x branch. I should see that my balance is unspent.

Done.

Now my new wallet will contain only coins valid on B2X, because the transaction in (4) would not be valid on BTC. My old wallet will contain only coins valid on BTC, because they've already been spent on B2X.

[coinbase.com claim their sends have replay protection](https://support.coinbase.com/customer/portal/articles/2892985-segwit-2x-faq): "You can safely send any BTC or B2X from Coinbase without worrying about replays on the other chain."

**Does this imply that the coins I get in (1) can be used as a "taint"?**

I could repeat the procedure, sending a small amount of BTC to my old wallet, and sending this plus all my coins to a new address in the same wallet, to make sure any transactions using them are not replayable on the B2X branch. **Is this necessary, or are my BTC coins immune to replay by virtue of already having been spent?** Even if a transaction I did on BTC could be replayed on B2X, I wouldn't care, because my value on B2X is now in a different address. I'd like to skip this step to avoid the transaction fee.

**Now that I have a wallet for each chain, will they remember which chain they belong to?** If I use automatic server selection, then if I get the wrong server my wallet will show a balance of 0. This is more of an annoyance than an actual danger, because I can always manually select the server. Just wondering.

As an alternative to (3) and (4), I might just send this transaction directly back to coinbase.com to exchange the B2X. **Should this modified procedure also work as I intend?**

I know there are other methods, but I have my reasons for not preferring them, such as fiddliness or utilizing features not supported by my wallet.

**Tags:** electrum, blockchain-fork, coinbase.com, segwit2x


---

## 1 answers

### Answer by username_1 on 2017-11-08. Score: 1

> coinbase.com claim their sends have replay protection: "You can safely send any BTC or B2X from Coinbase without worrying about replays on the other chain."
> Does this imply that the coins I get in (1) can be used as a "taint"?

Yes, if a transaction only exists on one blockchain, it is by definition only valid on that blockchain, so any other transaction which spends from it is also only valid on that chain.

> Is this necessary, or are my BTC coins immune to replay by virtue of already having been spent?

The latter, since your outputs have already been spent on the B2X chain, any replay of your BTC transaction would be rejected as a double-spend there, so you can safely just spend your BTC normally.

> Now that I have a wallet for each chain, will they remember which chain they belong to?

I assume that would be the case, but I'm not familiar with the wallet so I can't answer this.

I'm unsure what you mean in your last point, send which transaction back to coinbase?

> **Comments:**
> **username_0**: In my original scenario, I was talking about sending from one of my Electrum wallets to a new Electrum wallet. I could decide instead to send from my Electrum wallet directly to coinbase.com.  
> **username_1**: In that case yes, I believe that would work equally well, as long as the B2X transaction you send includes the taint your bitcoins will be safe.  

---

