This is the first PR from a series focused on moving functionality from hardhat-specific packages into generic ones. Eventually, this functionality will support the standalone CLI under @layerzerolabs/devtools-cli
A concept of flow is introduced. Flows will be high-level functions that perform complex series of operations. Flows will also be composable just like the original hardhat tasks - e.g. the wire flow will use the sign and send flow to submit the transaction
In this PR the sign & send subtask is gutted and its internals transplanted as a whole into @layerzerolabs/devtools as a flow. This flow is then used as the subtask itself - which gives us the great benefit of having the existing tests cover the functionality
In this PR
@layerzerolabs/devtools-cli
@layerzerolabs/devtools
as a flow. This flow is then used as the subtask itself - which gives us the great benefit of having the existing tests cover the functionality