react-native-box
react-native-box copied to clipboard
Missing /build/contracts/SimpleStorage.json
I was trying to build the project after cloning it and ran into an issue.
react-native-box/src/Main/Home.js: could not resolve /react-native-box/build/contracts/SimpleStorage.json as a file nor as a folder.
There isn't any build folder in the repo and this is called from the main page. I am not sure why it was removed but it breaks the project. Let me know if its moved to a new location or if there is some other change that I need to make.
Thanks for sharing the repo!
Hi, I recommend to first learn Solidity and and Truffle here: http://truffleframework.com/ following the tutorials in order to understand how Solidity, web3 and Truffle work together. Then using Truffle boxes will be easy.
To answer your question, you need to compile your contracts to create the build
folder where the ABIs are stored. Simply do truffle compile
to do this.
Still I recommend you learn Truffle first.