Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

Commit

Permalink
remove rendering comment issue (#1033)
Browse files Browse the repository at this point in the history
  • Loading branch information
nuke-web3 authored Jun 16, 2021
1 parent 4cd6c33 commit 27efdb2
Showing 1 changed file with 0 additions and 74 deletions.
74 changes: 0 additions & 74 deletions docs/knowledgebase/integrate/subkey.md
Original file line number Diff line number Diff line change
Expand Up @@ -488,80 +488,6 @@ _Output:_

The peer ID is displayed on screen and the actual key is saved in the `<output-file>`.

<!-- FIXME! The `insert` command is _only_ for the key sub-command embedded in nodes. Not for subkey - we need to point this out... -->
<!--
## Inserting Keys to a Node's Keystore
You can insert fixed keys into a Substrate-based node's keystore with the `insert` command. It is common to use the
same secret, but with different scheme for substrate key use:
_Command (Sr25519 - AURA key):_
```bash
node key inspect "caution juice atom organ advance problem want pledge someone senior holiday very" --scheme sr25519
```
_Output:_
```bash
Secret phrase `caution juice atom organ advance problem want pledge someone senior holiday very` is account:
Secret seed: 0xc8fa03532fb22ee1f7f6908b9c02b4e72483f0dbd66e4cd456b8f34c6230b849
Public key (hex): 0xbd7436a22571207d018ffe83f5dc77d0750b7777f1eb169053d40201d6c68d53
Public key (SS58): 5GM7RtekqU8cGiS4MKQ7tufoH4Q1itzmoFpVcvcPfjksyPrw
Account ID: 0xbd7436a22571207d018ffe83f5dc77d0750b7777f1eb169053d40201d6c68d53
SS58 Address: 5GM7RtekqU8cGiS4MKQ7tufoH4Q1itzmoFpVcvcPfjksyPrw
```
---
_Command (Ed25519 - GRANDPA key):_
```bash
node key inspect "caution juice atom organ advance problem want pledge someone senior holiday very" --scheme ed25519
```
_Output:_
```bash
Secret phrase `caution juice atom organ advance problem want pledge someone senior holiday very` is account:
Secret seed: 0xc8fa03532fb22ee1f7f6908b9c02b4e72483f0dbd66e4cd456b8f34c6230b849
Public key (hex): 0xbd7436a22571207d018ffe83f5dc77d0750b7777f1eb169053d40201d6c68d53
Public key (SS58): 5GM7RtekqU8cGiS4MKQ7tufoH4Q1itzmoFpVcvcPfjksyPrw
Account ID: 0xbd7436a22571207d018ffe83f5dc77d0750b7777f1eb169053d40201d6c68d53
SS58 Address: 5GM7RtekqU8cGiS4MKQ7tufoH4Q1itzmoFpVcvcPfjksyPrw
```
---
_Command (ECDSA - BEEFY key):_
```bash
node key inspect "caution juice atom organ advance problem want pledge someone senior holiday very" --scheme ecdsa
```
_Output:_
```bash
Secret phrase `caution juice atom organ advance problem want pledge someone senior holiday very` is account:
Secret seed: 0xc8fa03532fb22ee1f7f6908b9c02b4e72483f0dbd66e4cd456b8f34c6230b849
Public key (hex): 0x03b2217d2c348df72c4789947291e2e63ba7798baebaa937f40fd5d68f022dd4b4
Public key (SS58): KWCjsULBCExp8BTVhVjVjWrqMYxSi4a1CRyU2tyzNiAs4mLk8
Account ID: 0x9bd03f5c43588e0e8110463dde4122bce1279d683de87e95975f7c717f00d617
SS58 Address: 5Fb19AznKQqtHLf82PfMXKwWPqAWPB9g7fW6AhP8BVJ8Soqo
```
---
Now you can use the `insert` sub-command to save these keys appropriately for use by your node, all
we require is the base path, key type, and correct scheme used to do so with a given secret URI:
_Command:_
```bash
# Usage
# node key insert [FLAGS] [OPTIONS] --key-type <key-type>
# Example: Inserting an Aura key (SR25519 Crypto)
node key insert --suri 0xc8fa03532fb22ee1f7f6908b9c02b4e72483f0dbd66e4cd456b8f34c6230b849 --base-path /tmp/node01 --key-type aura
# Example: Inserting a Grandpa key (ED25519 Crypto)
node key insert --suri 0xc8fa03532fb22ee1f7f6908b9c02b4e72483f0dbd66e4cd456b8f34c6230b849 --scheme ed25519 --base-path /tmp/node01 --key-type gran
# Example: Inserting a Beefy key (ECDSA Crypto)
node key insert --suri 0xc8fa03532fb22ee1f7f6908b9c02b4e72483f0dbd66e4cd456b8f34c6230b849 --scheme ecdsa --base-path /tmp/node01 --key-type beefy
```
-->

## Well-Known Keys

> The common seed used for all development accounts is:
Expand Down

0 comments on commit 27efdb2

Please sign in to comment.