Using FP approach
This library uses a couple of utility functions in order to create pactCommand
you can import those function from @kadena/client/fp
if you need more
flexibility on crating command like composing command or lazy loading.
Here are two examples to demonstrate this: