Skip to content

Commit

Permalink
Change CLI docs for wallet create from-recovery-phrase
Browse files Browse the repository at this point in the history
  • Loading branch information
HeinrichApfelmus committed Mar 28, 2024
1 parent 1ddbb9e commit c56744e
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions docs/site/src/user/cli.md
Expand Up @@ -238,21 +238,37 @@ Lists all your wallets:
### wallet create from recovery-phrase

```console
> cardano-wallet wallet create from-recovery-phrase [--port=INT] <name> [--address-pool-gap=INT]
> cardano-wallet wallet create from-recovery-phrase from-genesis [--port INT] WALLET_NAME [--address-pool-gap INT]
```

Create a new wallet using a sequential address scheme. This is an interactive command that will prompt you for recovery-phrase words and password.

```console
> cardano-wallet wallet create "My Wallet"
> cardano-wallet wallet create from-recovery-phrase from-genesis "My Wallet"
Please enter a 15–24 word recovery-phrase sentence: <enter generated recovery-phrase here>
(Enter a blank line if you do not wish to use a second factor.)
Please enter a 9–12 word recovery-phrase second factor: <skip or enter new recovery-phrase here>
Please enter a passphrase: ****************
Enter the passphrase a second time: ****************
```

after this your new wallet will be created
after this your new wallet will be created.

### wallet create from recovery-phrase from-checkpoint

```console
> cardano-wallet wallet create from-recovery-phrase from-checkpoint [--port INT] WALLET_NAME [--address-pool-gap INT] --block-header-hash BLOCKHEADERHASH --slot-no SLOTNO
```

This command will create a wallet whose synchronization starts from the block specified by `BLOCKHEADERHASH` and `SLOTNO`. This will create a partial view of the wallet if the wallet has transactions before the checkpoint!

### wallet create from recovery-phrase from-tip

```console
> cardano-wallet wallet create from-recovery-phrase from-tip [--port INT] WALLET_NAME [--address-pool-gap INT]
```

This command will create a wallet whose synchronization starts from the current node tip. Useful for creating an empty wallet for testing.

### wallet get

Expand Down

0 comments on commit c56744e

Please sign in to comment.