How to create an account in Subkey Print
Modified on: Mon, 14 Feb, 2022 at 11:23 PM
How to create a new account in Subkey
1. If you don't have Rust and Cargo installed yet, first you'll need to download the stable release using these steps.
2. Next, open a terminal (Mac) or PowerShell (Windows) and enter the following two commands to install the dependencies and Subkey. The official guide is here.
curl https://getsubstrate.io -sSf | bash -s -- --fast cargo install --force subkey --git https://github.com/paritytech/substrate --version 2.0.1. --locked
3. Next, use the following command to generate an account.
The output should be something similar to this:
Secret phrase 'your seed phrase will appear here' is account: Secret seed: 0xc8fa03532fb22ee1f7f6908b9c02b4e72483f0dbd66e4cd456b8f34c6230b849 Public key (hex): 0xd6a3105d6768e956e9e5d41050ac29843f98561410d3a47f9dd5b3b227ab8746 Public key (SS58): 5Gv8YYFu8H1btvmrJy9FjjAWfb99wrhV3uhPFoNEr918utyR Account ID: 0xd6a3105d6768e956e9e5d41050ac29843f98561410d3a47f9dd5b3b227ab8746 SS58 Address: 5Gv8YYFu8H1btvmrJy9FjjAWfb99wrhV3uhPFoNEr918utyR
This is your new account! Make sure to save your 12-word seed phrase in a safe place somewhere offline. For more Subkey commands, please refer to this guide.
Did you find it helpful?Send feedback