Goksu Toprak
@gt
Looking for recommendations on improving the performance of importing wallets on React Native. Using Viem / Ox — Getting 1500ms from `mnemonicToAccount`: https://viem.sh/docs/accounts/local/mnemonicToAccount#mnemonictoaccount Getting 300ms from `privateKeyToAccount`: https://viem.sh/docs/accounts/local/privateKeyToAccount#privatekeytoaccount Looking for pointers to get either of these calls to at most 100ms. Understand that these are optimized in web / node / crypto context but not on React Native yet.
4 replies
4 recasts
31 reactions
Kasra Rahjerdi
@jc4p
i’d build a RN bridge around https://github.com/trustwallet/wallet-core which should make it 10-50x faster right off the bat
1 reply
0 recast
1 reaction
Kasra Rahjerdi
@jc4p
wait just install this your case is literally the example in the README https://github.com/margelo/react-native-quick-crypto
1 reply
0 recast
1 reaction