near-cli icon indicating copy to clipboard operation
near-cli copied to clipboard

Improve staking command

Open behaviary opened this issue 4 years ago • 2 comments

      1. Currently, in order to stake we run the following command:
 near stake <accountId> <pubKey> <amount>
      1. It would be fantastic to have the following commands:
 near stake <amount>

For the last account that logged in

AND

 near stake <accountId> <amount>

For any arbitrary account.

behaviary avatar Dec 17 '19 00:12 behaviary

Note that you still need to provide the public validator key there. It is not the account public key there.

frol avatar May 05 '20 17:05 frol

Yeah public key cannot be omitted here.

bowenwang1996 avatar May 05 '20 22:05 bowenwang1996