ethers.js: react-native app crash -> ethers.Wallet.createRandom({locale:'ko'})
Hi
Thanks for making the library
I am developing a wallet and I want to use the mnemonic code in Korean, but it works well in debug mode, but when I exit the debug mode, the app is terminated.
its work !
const wallet = ethers.Wallet.createRandom({locale:'en'});

but its not working…
const wallet = ethers.Wallet.createRandom({locale:'ko'});

What can I do to prevent the app from crashing?
Any help would be thanks.
English used Google Translate.
Thanks
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 33 (17 by maintainers)
Commits related to this issue
- Fix Android React Native environment shims which crash on normalizing Korean test (#1298). — committed to ethers-io/ethers.js by ricmoo 3 years ago
- Fix Android React Native environment shims which crash on normalizing Korean test (#1298). — committed to shapeshift/ethers.js by ricmoo 3 years ago
Hello again, this mnemonicToSeed which uses pbkdf2 and takes around 10 second to user access wallet when he have passwords for security perpose obviously. but when i create a wallet and connect it to provider. this function runs 3 time which increases time 10 to 30 seconds. why is that? couldn’t it converted to one time run from create wallet to connect to provider.