Open saralab opened 2 years ago
To better align with Single Responsibility principle, move wallet specific methods from transaction package to wallet-sdk . Ex: address from privKey
This is a good idea, though in the example provided, consider that wallet-sdk depends on some pretty heavy libraries, and we might want to avoid a transaction <--> wallet-sdk dependency.
wallet-sdk
transaction
To better align with Single Responsibility principle, move wallet specific methods from transaction package to wallet-sdk . Ex: address from privKey