Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.

Latest commit

 

History

History
27 lines (14 loc) · 1.86 KB

Recover-Account-Polkadotjs.md

File metadata and controls

27 lines (14 loc) · 1.86 KB

Recover Account from PolkadotJs

The default behaviour on Stylo and PolkadotJs Apps is a little different. This tutorial will walk you through recovering an account on Stylo from PolkadotJs Apps.

  • Notice: The UI maybe variant for different versions, but the functionalities are the same in v4 version.

Get the secret phrase and path

When creating an account on PolkadotJs, it will give you a secret phrase on the beginning without any key derivation. You can change it if you click Advanced creation options button, here you can specify any path you like, leave it as an empty string if you do not want changes.

Create Account on PolkadotJs Apps

Recover account with secret phrase

On Stylo, each secret phrase represents an account, every account starts with an account, and account could derive infinite accounts from it. So firstly let's recover the account from the secret phrase.

recover the account.

After tapping one network from the list, you will have the default account created for this network with a default path (as on the above image, //polkadot), but this one is different with the one created from Polkadot.js Apps, because the paths are different.

create the account by path

On Stylo, accounts are grouped by different networks, and the accounts generated by the default way are always prefixed with the network name. For example, //polkadot//fund or //polkadot//staking. So to recover an account with an arbitrary path, we need tap Add Network Account -> Create Custom Path.

Recover Account

Here We can input the path from PokadotJs Apps, if you do not have a specific path, then just leave it empty. And then after we choose the network, we will have the same account as we created from PolkadotJs Apps.