mymonero / mymonero-core-js

The JS library containing the Monero crypto plus lightwallet functions behind the official MyMonero apps
BSD 3-Clause "New" or "Revised" License
101 stars 103 forks source link

monero_utils_promise #101

Closed lxh1579419223 closed 1 year ago

lxh1579419223 commented 4 years ago

Error reported when using RN project: Error loading WASM_MyMoneroCoreCpp: Synchronous http requests are not supported。

const mymonero = require('mymonero-core-js'); const monero_utils = await mymonero.monero_utils_promise; const nettype = mymonero.nettype_utils.network_type.MAINNET; const decoded = monero_utils.address_and_keys_from_seed("…", nettype);