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

Add support for near drops to CLI

Open ilblackdragon opened this issue 4 years ago • 1 comments

There are two things:

  • Creation of near drop
 $ near create-drop --amount <amount> --accountId <originating account> --escrow near
 Outputs [https://wallet.near.org/](https://wallet.near.org/)...

where --escrow defaults to near.

  • Claiming near drop:
 $ near claim-drop <account-id> <public-key> <link>

Alternatively, link can be added as an option to create-account. On the other hand, one can claim it into existing account, so claim-drop can support that, which would make public-key optional if account already exists.

ilblackdragon avatar Sep 10 '20 08:09 ilblackdragon

Hi . First timer here . May I work on this issue ?

Rishabhraghwendra18 avatar Jun 01 '21 08:06 Rishabhraghwendra18