Add Wallet (Custom)
How to Add a Wallet using App Links with Nova Wallet with additional customization
You can use App Links to generate a Hyperlink that when used will direct the user to a screen where they can add a wallet with a specific passphrase. This can be useful when distributing pre-paid wallets at Polkadot events.
You can customize the App Link further to customize the cryptography type of the account and set the derivation path.
When adding a wallet in this way you should assume that the person who sent you the App Link also has full access to the account via its passphrase.
Parameters
When creating an App Link which when used will direct users to the screen where they can add a wallet with a specific passphrase you should adjust the following parameters:
mnemonic â this is the hex-encoded version of the passphrase. You can use this tool to generate passphrases. After you have generated the passphrase and it is in the BIP39 Mnemonic field then tick the "show entropy details" box and you will see the string that should be used as part of the App Link.
cryptoType â 0 = sr25519 / 1 = ed25519 / 2 = substrateECDSA
substratedp â here you can set a soft, hard, or password derivation path using / or // or ///.
Clickable App Link
You can generate App Links so that when a user clicks this link they will be directed to the screen where they can add the wallet with that specific passphrase.
The App Link format is the same as the one described in this section: Add Wallet (Custom)except we are utilizing some of the additional parameters.
App Links are formatted as such:
https://app.novawallet.io/create/wallet?mnemonic={hex encoded mnemonic entropy}&cryptoType={optional number}&substrateDP={optional string}&&evmDP={optional string}
QR Code with App Link
Now that you have your App Link you can make a QR code containing its data, which when scanned with a user's mobile phone will open the screen where users can add a wallet with that specific passphrase in their Nova Wallet. You can use a site such as QRCode Monkey to generate these QR codes easily.
Last updated