ArdorJS library fixes

I'm working with ReactJS + ArdorJS but the library has some small bugs:

ardorjs/lib/account add:
import { Buffer } from "buffer";

ardorjs/lib/helpers.js add:
import { Buffer } from "buffer";

ardorjs/util/curve25519_.js
export default { curve25519_ }; to export default curve25519_;

I hope it can be useful to someone. :grin:

mrv777 already merged the curve25519_ one. Could you create a pull request for the 2 other fixes so that we can discuss them with mrv777?

It's ready!

I also added a fix for decryption, it was not working properly.

1 Like