6

Is it possible to get a contract only by its address without the ABI definition?

I'm experimenting with ethereum in a private network through the web3.js client console.

The problem is that any error in node will cause the client to crash. I was careful enough to store the contract address, but not the ABI definition.

Is there a good approach for solving this problem?

1

1 Answer 1

4

If you have the source code, just recompile it. It will give you the same ABI.

1
  • @Péter Szilágyi Could I get the abi only by the address that the contract stored? Commented Dec 27, 2016 at 7:10

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.