【发布时间】:2019-03-26 22:20:19
【问题描述】:
我想在 React Native 中生成助记符。我已经克隆了this project。我导入了 bip39,但在移动/模拟器中出现此错误。在 Chrome 浏览器的调试模式下工作正常。
library Error: Secure random number generation is not supported by this browser
我安装了 bip39 react 原生库。但是当我使用该模块时,应用程序没有打开并卡在启动画面中。我尝试使用其他库,例如 bit core bip39,但每个库都有相同的问题。
如何使用我克隆 React Native web3 样板的上述存储库在 React Native 中创建助记符?
【问题讨论】:
-
我已经在这里更新了答案ethereum.stackexchange.com/questions/61306/…
标签: reactjs react-native cryptojs web3 mnemonics