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?
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.
Sign up to join this communityThis 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?
You can either use the truffle console, write truffle tests or create a simple UI using web3.