Currently, if you install rusk-wallet, commands are called as follows:
rusk-wallet [COMMAND]
Given we want to move our CLI wallet into Rusk (see #2141), and the wallet is a subset of Rusk, it would be easier for users if they could call the wallet through Rusk directly, like this:
rusk wallet [COMMAND]
Possible solution design or implementation
Multiple approaches can be taken. We can opt to route commands from Rusk that target the wallet command directly to rusk-wallet itself. This should encompass non-interactive mode. The wallet lib will be imported into Rusk. This will not encompass interactive mode.
I think its best we wait for the wallet-sdk for this to happen since this is just for convenience and not high priority, it should be fairly easy to add once its done
Summary
Currently, if you install
rusk-wallet
, commands are called as follows:Given we want to move our CLI wallet into Rusk (see #2141), and the wallet is a subset of Rusk, it would be easier for users if they could call the wallet through Rusk directly, like this:
Possible solution design or implementation
Multiple approaches can be taken. We can opt to route commands from Rusk that target the wallet command directly to rusk-wallet itself. This should encompass non-interactive mode. The wallet lib will be imported into Rusk. This will not encompass interactive mode.