I work with Truffle, Metamask, and Windows Powershell. I deployed my smart contract to Ropsten with Truffle by the below command in Powershell:

truffle migrate --network ropsten

Now, I need to interact with the deployed contract. Is it possible to handle Ropsten's smart contract with Truffle from Powershell? if yes, Please guide me. Thanks.


Yes, with truffle console : truffle console --network ropsten --verbose-rpc.

You can then interact with the smart contract using the truffle API : https://www.trufflesuite.com/docs/truffle/getting-started/interacting-with-your-contracts.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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