Remove fromJSON for each custom transactions because having 2 ways to instantiate the class is bit confusing for user.
Remove create for each custom transactions to obtain the signed transaction.
Instead, each create transaction function (0_transfer, etc) should use the custom class created instead.
Comparing the create method in the transaction and having different file to create transaction, creating the transaction is simple enough using the class, and but still clear to do in the different file.
Description
Remove
fromJSON
for each custom transactions because having 2 ways to instantiate the class is bit confusing for user.Remove
create
for each custom transactions to obtain the signed transaction. Instead, each create transaction function (0_transfer, etc) should use the custom class created instead.Comparing the create method in the transaction and having different file to create transaction, creating the transaction is simple enough using the class, and but still clear to do in the different file.