I deployed a contract with truffle, closed my vs code, now I want to access that deployed contract from my terminal again, how can I do that?

Jun 28, 2022, 1:02 PM
Any truffle user here? it's becoming very big problem for me, please help
I deploy a contract and due to some timeout error it takes me out of that instance, then How can interact with functions of contract using terminal?
Jun 28, 2022, 2:54 PM
Deployed where ? Locally or public networks ?
Jun 28, 2022, 2:55 PM
On ropsten
or mainnet. so I have contract address of it
But I don't want to verify it on etherscan, I just want to interact with contract functions from terminal in VS CODE
Jun 28, 2022, 2:56 PM
Just use truffle console for interaction..
Jun 28, 2022, 2:57 PM
I was in truffle develop mode, I compiled, deployed but then it kicked me out of develop mode. Now how do I interact with deployed contract?
Jun 28, 2022, 2:58 PM
you can use oneclick dapp also, just paste in abi and contract, gives you a full interface
Jun 28, 2022, 2:58 PM
U need to start a new instance of truffle develop or truffle console from ur terminal..
Jun 28, 2022, 2:59 PM
I forgot, whenever I used .deployed() it access recently deployed contract
Jun 28, 2022, 3:01 PM
kicked you out? is that a game lobby?
Jun 28, 2022, 3:10 PM

© 2024 Draquery.com All rights reserved.