How to interact with a MainNet contract from a console?

by Ruham   Last Updated November 04, 2018 16:28 PM

This question may be really dumb, but I fail to understand how to do this.

I have deployed a smart contract to MainNet, and so far I've been interacting with it via Web3JS and Truffle (via the truffle console), using promises. For example:

ContractOne.deployed().then(function(i) {return i.doSomething({from: "ADDRESS"})})

But now, I deployed the contract via Geth/Infura, and truffle console is not working. What is the best way to interact with the deployed contract?



Related Questions



Calling Truffle Commands through a script

Updated September 20, 2018 15:28 PM



Truffle Exec Gets Stuck

Updated September 08, 2018 11:28 AM