iron-fish / ironfish

A novel cryptocurrency focused on privacy and accessibility.
https://ironfish.network
Mozilla Public License 2.0
964 stars 577 forks source link

renames transaction:add to transaction:import #5016

Closed hughy closed 1 month ago

hughy commented 1 month ago

Summary

makes the 'wallet:transaction:import' command consistent with the 'wallet:import' command

maintains 'wallet:transaction:add' as an alias

adds a '--path' flag to the transaction import command

adds a prompt for a transaction if one is not provided

accepts pipe input for transaction to import

moves 'importFile' and 'importPipe' logic to a new 'input' util module

moves 'longPrompt' from its own module into the 'input' util

Testing Plan

Manual testing

Documentation

Does this change require any updates to the Iron Fish Docs (ex. the RPC API Reference)? If yes, link a related documentation pull request for the website.

[X] Yes

Breaking Change

Is this a breaking change? If yes, add notes below on why this is breaking and label it with breaking-change-rpc or breaking-change-sdk.

[ ] Yes