docs: Add wallet creation to faq
Add instruction for New wallet creation using binary private key to /docs/faq. Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
ddcb711975
commit
c49f1ec423
1 changed files with 25 additions and 0 deletions
25
docs/faq.md
25
docs/faq.md
|
@ -37,6 +37,31 @@ $ xxd wallets/wallet.key
|
||||||
|
|
||||||
Later this functionality will be included in `neofs-cli` directly.
|
Later this functionality will be included in `neofs-cli` directly.
|
||||||
|
|
||||||
|
### How to create Neo wallet JSON file using a NeoFS key file?
|
||||||
|
|
||||||
|
You will need `neo-go` and `neofs-cli`.
|
||||||
|
|
||||||
|
1. Get the WIF format of the private key
|
||||||
|
|
||||||
|
```
|
||||||
|
$ neofs-cli util keyer -key ./services/ir/01.key | grep WIF | awk '{print $NF}' > temp_WIF
|
||||||
|
```
|
||||||
|
|
||||||
|
2. Init a new empty Neo wallet
|
||||||
|
|
||||||
|
```
|
||||||
|
$ neo-go wallet init -w my_new_wallet.json
|
||||||
|
```
|
||||||
|
|
||||||
|
3. Import WIF to the new wallet
|
||||||
|
|
||||||
|
```
|
||||||
|
$ neo-go wallet import -w my_new_wallet.json --wif $(cat temp_WIF) && rm temp_WIF
|
||||||
|
Enter the name of the account >
|
||||||
|
Enter passphrase >
|
||||||
|
Confirm passphrase >
|
||||||
|
```
|
||||||
|
|
||||||
### How to see what's inside running container if there's no shell?
|
### How to see what's inside running container if there's no shell?
|
||||||
|
|
||||||
You can run any program in container's namespace using `nsenter` utility.
|
You can run any program in container's namespace using `nsenter` utility.
|
||||||
|
|
Loading…
Reference in a new issue