I have some smart contracts deployed with Truffle on the local Ganache network, but I don't know how to access it with the app's javascript in order to make function calls to the contract. How would I be able to access it?
2 Answers
I think you can use either the deployed() method or the at() method. Here's some relevant documentation from Truffle.
Check this tutorial on how to manage and interact with contracts deployed using truffle