eosjs
eosjs copied to clipboard
Request: format module in eosjs2
The encodeName
and other functions of the format
module of eosjs1 are really useful.
It would be great if they are still available in eosjs2.
Could go well with implementing #385 as it has to be done there anyway.
eosio-serialize
converts between json and binary for all the ABI types. Is there a use case that goes beyond conversions?
Conversions would cover all of my use cases.
I assume you are talking about the SerialBuffer class here in the eosjs repo.
Its API is not really pleasant to work with if you just want to convert something, let's say a raw value to a name. But if you want to keep eosjs lean, I'm fine with closing this. In fact, I wrote my own wrapper + helper functions