Skip to content

React Native base setup with all fs, crypto, randombytes polyfills for testing

Notifications You must be signed in to change notification settings

qalqi/RNCryptoPlayGround

Repository files navigation

RN + @polkadot/keyring

Adapted from qalqi/AwesomeProject

screenshots

Setup & running

Assuming MacOS and yarn, initialize the project with -

yarn
react-native link
cd ios && pod install && cd ..

Run the metro bundler with additional memory options since the asm.js deps are big -

NODE_OPTIONS=--max_old_space_size=8192 yarn start

Be aware that this takes a significant time for the first clean build. Make a coffee, drink a beer, go for a walk or play with the dog while it is building.

In a new tab, start the emulator, in this case running iOS -

yarn ios

If (at some point) you need to clean all the caches, i.e. your dog needs some attention and you need an excuse to walk away on the next build, you can run -

yarn clean:perfect

About

React Native base setup with all fs, crypto, randombytes polyfills for testing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published