FuelLabs/forc

Add support for wallet import via private key

開放

#6 建立於 2024年10月23日

 (4 則留言) (2 個反應) (1 位負責人)Rust (0 個分叉)auto 404
enhancementforc-walletgood first issue

倉庫指標

星標
 (0 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南