For example, if I want to add a random digital generator library, what can I do? I want to add all the source files into my contract directory?

  • You would have to add the whole library (or a reduced one) to your contract.
    – cmadh
    Feb 12, 2019 at 23:24

1 Answer 1


In order to achieve this,you are required to move your entire library to your contract. What you are attempting is not possible without this.

Your Answer

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

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