This repository was archived by the owner on Mar 11, 2025. It is now read-only.
This repository was archived by the owner on Mar 11, 2025. It is now read-only.
token-cli: Transfer to tokenId using spl-token cli should provide more warnings #3078
Closed
Description
Currently when using the spl-token transfer
command and the --fund-recipient
flag it is possible to provide the tokenID as a destination address which results in the creation of an account owned by the tokenId itself.
While I can understand the desire for a very modular/configurable system this type of action is very prone to causing loss to most inexperienced users. I would suggest some additional warnings/feedback or even an additional flag be required when the destination address provided is an actual tokenID to ensure the user knows what they are doing and still really wants to do it.