planetarium / lib9c-wasm

The experimental project to port Lib9c into JavaScript environment through WASM. Build your Nine Chronicles network transaction in your local at once.
https://planetarium.github.io/lib9c-wasm/
GNU General Public License v3.0
5 stars 2 forks source link

Make Resulting Bencodex data from BuildAction compatible with other @planetarium libraries #16

Closed Akamig closed 1 year ago

Akamig commented 1 year ago

Curerntly BuildAction is returning bencodex data in Uint8Array, but @planetarium/tx is recieving unencoded bencodex value.

So put it simply,

So I think we should decide whether action builder output serialized Uint8Array or BencodexDictionary. However, we're working with C# interop, passing BencodexDictionary as output can possibly be hard.