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.
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.
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.
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.
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.
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.