Hot answers tagged

1

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.


1

This is a bug in geth that was resolved in v1.9.13. The original issue can be found in Issue #16999 and the fix can be found in PR #20783. The issue was basically that geth was subtracting 0 by (gasLimit * gasPrice), which underflowed and resulted in the large number you saw. In your case, you were probably using the default Remix values of gasPrice = ...


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