Closed pouladzade closed 5 years ago
Hi @pouladzade, thanks, great that you are tackling this! 😄
Is this ready for review?
Hi @holgerd77 , You are welcome! Yes, I would be happy if you review the codes and let me know if I need to change it. I am also working on decode function which will send it by another pr.
Hi Ahmad, sorry didn't find the time. I understand if you loose patience, but would also be a pity if all the work gets lost. If you would be willing to reopen I'll try to more quickly address.
Hi @holgerd77 Thank you so much for your kind comment. I have implemented the decode method as well, but I need to test it more and make sure that I have considered all the corner cases, then I will open a new pr for sure. I am providing encode and decode using JSON ABI for both Input and output parameters.
1-Adding encoding aided by the JSON ABI (
encode(json_abi, function_name, parameter_list)
) 2- Updating the readme 3- Adding tests regarding the new encoding methodExample:
Output: