Skip to content

Commit

Permalink
GITBOOK-666: Extension - Add the Export multiple accounts feature v2
Browse files Browse the repository at this point in the history
  • Loading branch information
hieudd authored and gitbook-bot committed May 17, 2024
1 parent 3f4fd9f commit 24ac2dc
Show file tree
Hide file tree
Showing 21 changed files with 108 additions and 64 deletions.
Binary file added .gitbook/assets/Export.xlsx
Binary file not shown.
Binary file added .gitbook/assets/Screenshot (2) (1).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .gitbook/assets/Screenshot (2).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .gitbook/assets/Screenshot_10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .gitbook/assets/Screenshot_11 (1).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .gitbook/assets/Screenshot_12 (1).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .gitbook/assets/Screenshot_13 (1).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .gitbook/assets/Screenshot_14 (1).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .gitbook/assets/Screenshot_15 (1).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .gitbook/assets/Screenshot_4 (1).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .gitbook/assets/Screenshot_4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .gitbook/assets/Screenshot_5 (1).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .gitbook/assets/Screenshot_6 (2).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .gitbook/assets/Screenshot_8 (1).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .gitbook/assets/Screenshot_9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,43 +1,89 @@
---
description: This document will show you how to export & backup an account on SubWallet.
description: This document will show you how to export & backup accounts on SubWallet.
---

# Export & backup accounts

Export your private key in different forms of backup files, and use such backup files to restore & import the account again if you so wish.

### Export & backup an account

**Step 1**: Open the SubWallet homepage and click on the account name to get to the account management screen. 
Export your private key in different forms of backup files, and use these files to restore & import the account again if you so wish.

Depending on the type of account you want to export, SubWallet supports different export methods:

<table><thead><tr><th width="312">Account's type</th><th>Supported export method</th></tr></thead><tbody><tr><td>Polkadot (Substrate) account</td><td><ul><li>Export seed phrase</li><li>Export JSON file</li><li>Export QR code</li></ul></td></tr><tr><td>Ethereum (EVM) acccount</td><td><ul><li>Export seed phrase</li><li>Export JSON file</li><li>Export private key</li><li>Export QR code</li></ul></td></tr><tr><td>Watch-only account</td><td>None</td></tr><tr><td>Ledger account</td><td>None</td></tr><tr><td>QR-signer account</td><td>None</td></tr></tbody></table>

**Step 1**: On the SubWallet homepage, click on the account name to get to the account selection tab.&#x20;

![](<../../.gitbook/assets/image (697).png>)
<figure><img src="../../.gitbook/assets/Screenshot_4.png" alt="" width="367"><figcaption></figcaption></figure>

**Step 2**: In the account management screen, click the edit item on the right-hand side of the account you want to export.&#x20;
**Step 2**: In the account selection tab, click the edit icon on the right-hand side of the account you wish to export.&#x20;

![](https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2zseowhOCGE5xsJFb2z5%2Fuploads%2FxNVaji337zKIPRGLdZEC%2FScreenshot\_27.png?alt=media\&token=b045aca2-34de-4b4e-b2cf-e6798f8a08dd)
In this example, we chose account "Andy" - a Polkadot (Substrate) account - to export.

**Step 3**: In the Account details section, choose "Export Account".
<figure><img src="../../.gitbook/assets/Screenshot_5 (1).png" alt="" width="367"><figcaption></figcaption></figure>

![](<../../.gitbook/assets/image (843).png>)
**Step 3**: In the Account details section, choose "Export".

<figure><img src="../../.gitbook/assets/Screenshot_6 (2).png" alt="" width="367"><figcaption></figcaption></figure>

**Step 4**: Enter your password.&#x20;

{% hint style="info" %}
You will notice that even if you correctly enter your password, the "Confirm" button is still unavailable. You would need to choose your preferred form of export file to continue.
{% endhint %}

![](<../../.gitbook/assets/image (1157).png>)
As "Andy" is a Polkadot account, there are 3 options to export the private key, as listed in the table above.

<figure><img src="../../.gitbook/assets/Screenshot_13 (1).png" alt="" width="367"><figcaption></figcaption></figure>

**Step 5**: Choose your preferred way(s) to export your private key and click "Confirm".
**Step 5**: Choose your preferred way(s) to export your private key. Then, click "Confirm".

![](<../../.gitbook/assets/image (1242).png>)
<figure><img src="../../.gitbook/assets/Screenshot_8 (1).png" alt="" width="367"><figcaption></figcaption></figure>

{% hint style="warning" %}
Please save and keep your backup files in a secure place.&#x20;

Do not share these files because they contain your private key; anyone who has these files would be able to use your assets.
Do not share these files because they contain your private key; anyone with these files can use your assets.

Furthermore, you would need these backup files to restore your account in case you forget your SubWallet password.&#x20;
{% endhint %}

### Export all accounts
### Export multiple accounts

This feature allows users to export the private keys of multiple accounts (whether they are Polkadot accounts or Ethereum accounts) in the form of **one** JSON file.&#x20;

{% hint style="info" %}
In this example, we will export multiple accounts on the SubWallet extension using the Chrome browser.
{% endhint %}

**Step 1**: On the SubWallet homepage, click on the account name to get to the account selection tab.&#x20;

<figure><img src="../../.gitbook/assets/Screenshot_4.png" alt="" width="367"><figcaption></figcaption></figure>

**Step 2**: In the account selection tab, click on the Export icon <img src="../../.gitbook/assets/Screenshot_14 (1).png" alt="" data-size="line"> at the upper right.

<figure><img src="../../.gitbook/assets/Screenshot_9.png" alt="" width="369"><figcaption></figcaption></figure>

**Step 3**: In the Export account screen, select as many accounts to export as you wish.

<figure><img src="../../.gitbook/assets/Screenshot_10.png" alt="" width="368"><figcaption></figcaption></figure>

In this example, we want to export 4 accounts. Once done, click on the "Export 4 accounts" button.

<figure><img src="../../.gitbook/assets/Screenshot_11 (1).png" alt="" width="368"><figcaption></figcaption></figure>

**Step 4**: Enter your password to confirm, then click "Submit" to proceed.

<figure><img src="../../.gitbook/assets/Screenshot_12 (1).png" alt="" width="368"><figcaption></figcaption></figure>

Once clicked, the Chrome browser will download a JSON file.

<figure><img src="../../.gitbook/assets/Screenshot (2) (1).png" alt=""><figcaption></figcaption></figure>

**Step 5**: You have successfully exported multiple accounts! Click "Finish" to return to the homepage.

<figure><img src="../../.gitbook/assets/Screenshot_15 (1).png" alt="" width="365"><figcaption></figcaption></figure>

{% hint style="info" %}
If you want to import these accounts to use them on other devices and browsers, you can import the JSON file downloaded from **Step 4** using this [guide](import-and-restore-an-account.md).
{% endhint %}
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ After creating the master password, users will be directed to the step of creati

### If you have already used SubWallet before

If you have secret phrase (seed phrase), private key, back-up JSON file, or QR code you can import/restore your account and manage them with SubWallet.
If you have a secret phrase (seed phrase), private key, backup JSON file, or QR code, you can import/restore your account and manage it with SubWallet.

**Step 1**: Open SubWallet homepage and click on the account name to get to the account management screen. &#x20;
**Step 1**: Open the SubWallet homepage and click on the account name to get to the account selection tab. &#x20;

![](<../../.gitbook/assets/image (712).png>)

**Step 2**: In the account management screen, click the import icon.
**Step 2**: In the account selection tab, click the import icon.

![](<../../.gitbook/assets/image (603).png>)

Expand All @@ -58,21 +58,21 @@ After creating the master password, users will be directed to the step of creati

## Import from seed phrase

After following this [guide](broken-reference) to choose your preferred way to import an account, if you want to import by seed phrase, please enter your seed phrase and click "Import account".&#x20;
If you want to import by seed phrase, please enter your seed phrase and click "Import account".&#x20;

You could choose between importing either Substrate (Polkadot) account or EVM (Ethereum) account, or both.&#x20;
You could choose between importing either a Polkadot (Substrate) account, an Ethereum (EVM) account, or both.&#x20;

{% hint style="info" %}
For each seed phrase created with SubWallet, you would have a Substrate account and an EVM account.&#x20;
For each seed phrase created with SubWallet, you would have a Polkadot account and an Ethereum account.&#x20;

Substrate account would display your assets on Substrate-native blockchains (such as Polkadot, Kusama, and Acala), while EVM account would display your assets on EVM chains (such as Moonbeam).&#x20;
Polkadot accounts would display your assets on Substrate-native blockchains (such as Polkadot, Kusama, and Acala), while Ethereum accounts would display your assets on EVM chains (such as Moonbeam).&#x20;
{% endhint %}

![](<../../.gitbook/assets/image (684).png>)

In some cases, if you import an account from seed phrase, problems can arise if the seed phrase of your original wallet is not compatible with SubWallet.&#x20;

{% hint style="info" %}
{% hint style="warning" %}
Trust Wallet and Safepal are among the wallets not compatible with us.&#x20;
{% endhint %}

Expand All @@ -83,14 +83,14 @@ After importing the new account into the wallet, you might want to change the ac
{% hint style="info" %}
Please note that in order to see your assets after importing your account, you would need to manually enable the networks you want to use & have assets on. Please follow [this instruction](../customize-your-networks.md) to enable the networks you want to use.

Ethereum network will be automatically turned on for EVM accounts.
Ethereum network will be automatically turned on for Ethereum accounts.

SubWallet automatically enables Polkadot & Kusama networks for Substrate accounts, but you can disable them if you so wish.&#x20;
SubWallet automatically enables Polkadot & Kusama networks for Polkadot (Substrate) accounts, but you can disable them if you wish.&#x20;
{% endhint %}

## Import by private key (currently supported with EVM account)

After following this [guide](broken-reference) to choose your preferred way to import an account, if you want to import by private key, please enter your private key and click "Import account".
If you want to import by private key, please enter your private key and click "Import account".

![](<../../.gitbook/assets/image (713).png>)

Expand All @@ -99,12 +99,12 @@ After importing the new account into the wallet, you might want to change the ac
{% hint style="info" %}
Please note that in order to see your assets after importing your account, you would need to manually enable the networks you want to use & have assets on. Please follow [this instruction](../customize-your-networks.md) to enable the networks you want to use.

SubWallet automatically enables Polkadot & Kusama networks for Substrate accounts, but you can disable them if you so wish.
SubWallet automatically enables Polkadot & Kusama networks for Polkadot accounts, but you can disable them if you so wish.
{% endhint %}

## Import from Polkadot {js} (Import by JSON file)

After following this [guide](broken-reference) to choose your preferred way to import an account, if you want to import by JSON backup file:
If you want to import by JSON backup file:

**Step 1**: Click on the import field to choose a file from your device, or drag and drop your JSON backup file to import.

Expand All @@ -123,14 +123,12 @@ After importing the new account into the wallet, you might want to change the ac
{% hint style="info" %}
Please note that in order to see your assets after importing your account, you would need to manually enable the networks you want to use & have assets on. Please follow [this instruction](../customize-your-networks.md) to enable the networks you want to use.

SubWallet automatically enables Polkadot & Kusama networks for Substrate accounts, but you can disable them if you so wish.
SubWallet automatically enables Polkadot & Kusama networks for Polkadot accounts, but you can disable them if you wish.
{% endhint %}

## Import by QR code

After following this [guide](broken-reference) to choose your preferred way to import an account, if you want to import by QR code, please present your QR code backup of your account's private key and scan this QR code with your current device.&#x20;


If you want to import by QR code, please present your QR code backup of your account's private key and scan this QR code with your current device.&#x20;

**Step 1**: Click the "Scan the QR code" button.

Expand All @@ -147,14 +145,14 @@ Click the "Go to Setting" button. You will be directed to our security settings
{% endhint %}

{% hint style="info" %}
If you use Brave browser, there will be multiple options that allow us to access the camera for different durations. You can choose the time option that best fits your personal preferences. However, to ensure a seamless experience with our system, we recommend selecting the "forever" option.
If you use the Brave browser, there will be multiple options that allow us to access the camera for different durations. You can choose the time option that best fits your personal preferences. However, to ensure a seamless experience with our system, we recommend selecting the "forever" option.

![](<../../.gitbook/assets/image (833).png>)
{% endhint %}



**Step 2**: Present your QR code and scan it with SubWallet, using your device's camera.&#x20;
**Step 2**: Present your QR code and scan it with SubWallet using your device's camera.&#x20;

<div align="left">

Expand All @@ -168,14 +166,14 @@ If you use Brave browser, there will be multiple options that allow us to access

</div>

After the successful import of your account by QR code, you will be directed to the Homepage.&#x20;
After the successful import of your account by QR code, you will be directed to the homepage.&#x20;

After importing the new account into the wallet, you might want to change the account name. Please follow this [guide](switch-between-accounts-and-change-account-name.md).

{% hint style="info" %}
Please note that in order to see your assets after importing your account, you would need to manually enable the networks you want to use & have assets on. Please follow [this instruction](../customize-your-networks.md) to enable the networks you want to use.

SubWallet automatically enables Polkadot & Kusama networks for Substrate accounts, but you can disable them if you so wish.
SubWallet automatically enables Polkadot & Kusama networks for Substrate accounts, but you can disable them if you wish.
{% endhint %}

## Disable your permission for camera access
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ description: This document will show you how to add network from dApp.
# Add new networks unavailable in pre-defined list from dApp

{% hint style="info" %}
SubWallet supports adding new networks for both EVM and Substrate networks.
SubWallet supports adding new networks for both Ethereum (EVM) and Polkadot (Substrate) networks.
{% endhint %}

**Step 1:** Open the dApp you want to use, and then click on "Connect" to link it with your wallet.
**Step 1:** Open the dApp you want to use, and then click on "Connect" to link it to your wallet.

Here, we are using ChainList as an example.

Expand All @@ -22,7 +22,7 @@ Here, we are using ChainList as an example.
If you would like more detailed instructions on connecting a dApp, please click [here](./).
{% endhint %}

**Step 2:** Select the network you want to add, then click on "Add to Wallet."
**Step 2:** Select the network you want to add and click "Add to Wallet."

![](<../../.gitbook/assets/image (590).png>)

Expand All @@ -41,7 +41,7 @@ If the network has been successfully added to your wallet, it will be displayed
{% hint style="info" %}
Please note that you can manage networks by following this instruction:

**Step 1:** Open SubWallet homepage and click on the list item in the upper left corner to get to the Settings section. Then, choose "Manage networks".
**Step 1:** Open the SubWallet homepage and click on the list item in the upper left corner to get to the Settings section. Then, choose "Manage networks".

![](<../../.gitbook/assets/image (605).png>)![](<../../.gitbook/assets/image (606).png>)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ You might create a new account with a new seed phrase, or [derive a new account

In this case, we are introducing creating new account with seed phrase.&#x20;

**Step 1**: Open SubWallet homepage and click on the account name to get to the account management screen.
**Step 1**: Open the SubWallet homepage and click on the account name to get to the account selection tab.

![](<../../.gitbook/assets/image (1093).png>)

**Step 2**: In the account management screen, click **Create new account**.
**Step 2**: In the account selection tab, click **Create a new account**.

![](<../../.gitbook/assets/image (1231).png>)

Expand Down Expand Up @@ -60,11 +60,11 @@ If, for instance, you forget your password, you will need your recovery phrase t

After importing the new account into the wallet, you might want to change the account name. Please follow this [guide](switch-between-accounts-and-change-account-name.md).

For each seed phrase created with SubWallet, you would have a Substrate account and an EVM account. Substrate account would display your assets on Substrate-native blockchains (such as Polkadot, Kusama, and Acala), while EVM account would display your assets on EVM chains (such as Moonbeam).&#x20;
For each seed phrase created with SubWallet, you would have a Polkadot (Substrate) account and an Ethereum (EVM) account. Substrate account would display your assets on Substrate-native blockchains (such as Polkadot, Kusama, and Acala), while EVM account would display your assets on EVM chains (such as Moonbeam).&#x20;

{% hint style="info" %}
Please note that in order to see your assets after importing your account, you would need to manually enable the networks you want to use & have assets on. Please follow [this instruction](../customize-your-blockchains.md) to enable the networks you want to use.
Please note that to see your assets after importing your account, you need to manually enable the networks you want to use & have assets on. Please follow [this instruction](../customize-your-blockchains.md) to enable the networks you want to use.

SubWallet automatically enables Polkadot & Kusama networks for Substrate accounts, but you can disable them if you so wish.&#x20;
SubWallet automatically enables Polkadot & Kusama networks for Substrate accounts, but you can disable them if you wish.&#x20;
{% endhint %}

Loading

0 comments on commit 24ac2dc

Please sign in to comment.