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.

贡献者指南