Linked Questions

101
votes
8answers
44k views

What is an ABI and why is it needed to interact with contracts?

ABI is referenced in many places including the official Ethereum website. What is an ABI and why is it necessary to use?
11
votes
4answers
9k views

Web3.js Get Contract Abi Knowing Only Contract Address

is there a way with web3.js to get a contract abi json, knowing only the contract address? I cannot find anymore a link in wich they explain how to do this, in this post the guy replied telling that ...
21
votes
2answers
6k views

Do I need a compiled contract just to get the ABI definition?

Why do I need a compiled version of the contract just to get the ABI definition? Seems like the contract address should be enough. Im very confused because I am simply trying to run a contract ...
8
votes
2answers
13k views

Getting ABI data for ERC20 tokens programatically with Web3 [duplicate]

I am just starting to dive into Web3. I am trying to display the various ERC20 token values for a given Ethereum Address. The pieces I need to do this are: Token Contract Address Token Contract ABI ...
5
votes
2answers
2k views

How do I import contracts to Mist?

I see no option to import contracts. Would appreciate any help here. I do not have the contract code, but I do have its address.
4
votes
2answers
756 views

Contract not deploying on blockchain using solc & web3

I am using the npm package of solc to compile the contracts and accessing it as given here. It is compiling my contracts. But when I try to deploy the contract using web3.eth.sendTransaction({data: ...
5
votes
1answer
2k views

Getting a contract by address only (without ABI definition)

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 ...
2
votes
1answer
377 views

Can I get the ABI and contract code from the deployed address? [duplicate]

If I have the address of the solidity contract, can I from that address determine the source code and the ABI? I mean by this, is there a function to call in etherscan or something like that?
1
vote
1answer
61 views

What if I don't verify a contract?

I have a question, what if I have a simple contract that has a public function "give something to this adress" and that will be called from a website I will put it on-chain but will not verify it ...
0
votes
1answer
360 views

Convert contract arguments to ABI-encoded format

My Contract Source https://gist.github.com/munggo/ed25afb0aff9169a6c57f1d464d13177 Convert contract arguments to ABI-encoded format How???