1

Passing the whole artifact file to truffleContract make it work, ie something like ... const ContractJSON = require('./build/contracts/Contract.json'); var MyContract = truffleContract(ContractJSON) ...


1

maybe u can try geth --rpc --rpcaddr 52.208.46.161 --rpcport 8546 attach http://0.0.0.0:8546


Only top voted, non community-wiki answers of a minimum length are eligible