1

Hi I'm wondering what are some best practices in terms of directory and file structure when building a truffle application, specifically within the app directory.

I'm building a Dapp with too many functions for one file. I'm wondering if someone could give me some examples about how to nicely separate files for contract functions that go together and bring in truffle contract object and web3 together in a app.js file. Just asking for some nice ways of doing this.

1 Answer 1

1

Have a look at https://truffle-box.github.io/. If you are using react this might help you get started.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.