You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thinking about the keystore file format compatible to ethereum's system, however is not so efficiency. But it still worth finding a replacement to the format.
In dart, to implement the keystore encode/decode, one has to combine the scrypt and pbkdf2 to it. The easiest way to complete the job is to borrow the code from web3dart or laksadart I previously built for Zilliqa. However the encoding speed is too slow because of scrypt algorithm is slow.
Another option is to use FFI from other native library like ethsign , it is fast and run smoothly when I tried to bind it to the dynamic library. However, in rust we generally use serde_json to encode the Crypto object, the serde_json will be binded too, which will largely increase the bundle's size.
I don't have enough time to do enough search to finish the task. So if you have idea or solution, please comment or reply.
A replacement standard or format for keystore.
A fast and efficient way to encode/decode using FFI or pure dart code.
Any other good ideas
The text was updated successfully, but these errors were encountered:
Thinking about the keystore file format compatible to ethereum's system, however is not so efficiency. But it still worth finding a replacement to the format.
In dart, to implement the keystore encode/decode, one has to combine the
scrypt
andpbkdf2
to it. The easiest way to complete the job is to borrow the code fromweb3dart
orlaksadart
I previously built for Zilliqa. However the encoding speed is too slow because of scrypt algorithm is slow.Another option is to use FFI from other
native
library likeethsign
, it is fast and run smoothly when I tried to bind it to the dynamic library. However, in rust we generally useserde_json
to encode theCrypto
object, theserde_json
will be binded too, which will largely increase the bundle's size.I don't have enough time to do enough search to finish the task. So if you have idea or solution, please comment or reply.
The text was updated successfully, but these errors were encountered: