This truffle deployment page describes how to interact with a deployed contract using javascript.

But I can't figure out how to execute this code. Should I be using the truffle console?

1 Answer 1


You can either use the truffle console, write truffle tests or create a simple UI using web3.

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.