[cli] Extract abstract account provider
for support remote RPC with local account provider
#3215
Labels
abstract account provider
for support remote RPC with local account provider
#3215
Now if the user wants to deploy a module or execute a script function, need to sync a full node at local.
if the user connects to the remote node, such as:
The user cannot use account-related commands as the remote node does not public the account API.
So, if we extract an
abstract account provider
, users can combine a local account database with a remote API node.Now, we can implement several account provider
create
orimport
account command.Usage:
The dir
.starcoin/main/account_vaults/
is a local account database.The user just needs to provide an
address
to theprivate_key
pair, then can use most of the account commands, this feature is especially useful for automated testing/ci scenarios.The text was updated successfully, but these errors were encountered: