-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
Description
Component
Cast
Describe the feature you would like
Motivation
Cast is getting bloated with excessive conversion commands, increasing cognitive load when trying to remember/find the right one.
Proposal
Create a cast convert subcommand to group all conversion-related commands, similar to how cast wallet groups wallet operations.
Before:
cast to-wei 1 ether
cast from-utf8 "hello"After:
cast convert to-wei 1 ether
cast convert from-utf8 "hello"Additional context
Proposed (26) commands to consolidate under cast convert
from-wei,to-wei,to-unitfrom-fixed-point,to-fixed-pointformat-units,parse-unitsto-hex,to-dec,to-baseto-int256,to-uint256from-utf8,to-utf8,to-ascii,from-binto-bytes32,to-hexdataformat-bytes32-string,parse-bytes32-string,parse-bytes32-addressto-check-sum-address,concat-hex,padto-rlp,from-rlp
mablr
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Backlog