FuelLabs/forc

Add support for wallet import via private key

Offen

#6 geöffnet am 23.10.2024

 (4 Kommentare) (2 Reaktionen) (1 zugewiesene Person)Rust (0 Forks)auto 404
enhancementforc-walletgood first issue

Repository-Metriken

Stars
 (0 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Context

Currently forc wallet import only supports importing wallet(s) via mnemonic. Private keys are commonly used to more easily transfer accounts across wallets; hence it should also be supported here.

Current behaviour of forc wallet import:

> forc wallet import

Please enter your mnemonic phrase:  

Proposed behaviour:

> forc wallet import

Please enter your mnemonic phrase or private key:

This solution retains the simplicity of the current flow while supporting importing accounts via both mnemonic and private-key - without introducing additional flags.

Contributor Guide