mydoge-com / mydogemask

Doge wallet chrome extension
Other
19 stars 10 forks source link

libdogecoin integration #40

Open alexanvl opened 1 year ago

alexanvl commented 1 year ago

Several issues preventing us from using libdogecoin via the JavaScript wrapper:

  1. Primarily, unable to bundle the exported wasm file via rollupjs. I've attempted several work-arounds without luck.
  2. Loading the wasm requires an async call to start the wasm runtime. This pattern doesn't fit in all the sync places we need to use the lib.
  3. Specific interfaces for transaction building finalizeTransaction and getRawTransaction are tricky when handling edge-cases such as "sweep address" and "change amount less than minimum output amount".
  4. BIP 39 support.
alexanvl commented 1 year ago

Please see PR #41