Cool I had a problem using this in the browser extension
When importing
import { dump } from '@aeternity/aepp-sdk/es/utils/keystore'
I get this:
ERROR in ../node_modules/bindings/bindings.js
Module not found: Error: Can't resolve 'fs' in '/Users/milenradkov/git/hack/waellet/mradkov/waellet/node_modules/bindings'
@ ../node_modules/bindings/bindings.js 5:9-22
@ ../node_modules/argon2/argon2.js
@ ../node_modules/@aeternity/aepp-sdk/es/utils/keystore.js
@ ./popup/utils/address-generator.js
@ ../node_modules/babel-loader/lib!../node_modules/vue-loader/lib??vue-loader-options!./popup/router/pages/Index.vue?vue&type=script&lang=js&
@ ./popup/router/pages/Index.vue?vue&type=script&lang=js&
@ ./popup/router/pages/Index.vue
@ ./popup/router/routes.js
@ ./popup/router/index.js
@ ./popup/popup.js
But it seems it’s only related to webpack
. So I implemented this separately here. And also I thought this was not fully functional in the sdk yet as @nduchak.chain mentioned here in the forum a few days ago.