<p>Wallet tab &gt; Click the folder-iconed button &quot;View Phrase&quot;</p>
<p>Go to <a href="https://github.com/xchainjs/xchainjs-lib/blob/master/packages/xchain-bitcoin/src/client.ts" rel="nofollow noreferrer"><code>https://github.com/xchainjs/xchainjs-lib/blob/master/packages/xchain-bitcoin/src/client.ts</code></a>. Replace <code>bitcoin</code> with your desired currency.</p>
<p>Search on the page with Ctrl + F for &quot;RootDerivationPaths&quot;.</p>
<p>Then you'll find something like (this example is for Bitcoin):</p>
<pre><code>    rootDerivationPaths = {
      mainnet: `84'/0'/0'/0/`,
      testnet: `84'/1'/0'/0/`,
    },
</code></pre>
<p>Drop the last <code>/0/</code>, add <code>m/</code> (e.g. <code>m/84'/0'/0'</code>).</p>
<p>Import the derivation path you calculated and the phrase in Electrum</p>

CC BY-SA 4.0
2021-05-30T20:04:51.547Z
2021-05-30T20:04:51.547Z
MCCCS
<p>I'm testing out app.thorswap.finance for native bitcoin. Supposedly Thorchain is a cross chain swapping service with no centralized parties. Going to the app, I generated a keystore file and it comes with a Bitcoin address. I'm assuming when I send my BTC to this address, it resides under my control until I want to swap it to another coin. How do I access my Bitcoin private keys on app.thorswap.finance generated from my keystore?</p>

<private-key><recover-private-key>
How do I get my Bitcoin private keys from app.thorswap.finance which is a native BTC cross chain swapping system?
Patoshi パトシ
# How do I get my Bitcoin private keys from app.thorswap.finance which is a native BTC cross chain swapping system?

(Asked by: username_0 on 2021-05-20)

I'm testing out app.thorswap.finance for native bitcoin. Supposedly Thorchain is a cross chain swapping service with no centralized parties. Going to the app, I generated a keystore file and it comes with a Bitcoin address. I'm assuming when I send my BTC to this address, it resides under my control until I want to swap it to another coin. How do I access my Bitcoin private keys on app.thorswap.finance generated from my keystore?

**Tags:** private-key, recover-private-key


---

## 1 answers

### Answer by username_1 on 2021-05-30. Score: 0 | Accepted answer

Wallet tab > Click the folder-iconed button "View Phrase"

Go to [`https://github.com/xchainjs/xchainjs-lib/blob/master/packages/xchain-bitcoin/src/client.ts`](https://github.com/xchainjs/xchainjs-lib/blob/master/packages/xchain-bitcoin/src/client.ts). Replace `bitcoin` with your desired currency.

Search on the page with Ctrl + F for "RootDerivationPaths".

Then you'll find something like (this example is for Bitcoin):

```
    rootDerivationPaths = {
      mainnet: `84'/0'/0'/0/`,
      testnet: `84'/1'/0'/0/`,
    },

```

Drop the last `/0/`, add `m/` (e.g. `m/84'/0'/0'`).

Import the derivation path you calculated and the phrase in Electrum


---

