I have successfully created smart contract on Ethereum rinkeby network and deployed as well. Now, I want to call the methods of deployed contract through Java not through JS. I know, there is one API web3j- through which we can interact with smart contracts but unfortunately I am not being able to get the exact lines of code.

If anyone has implemented this, then please share the code.


Read this article. Web3j also has tools for generating the java classes required for interacting with a smart contract.

| improve this answer | |
  • 1
    Can you summarise what the article says in your answer? Link-only answers are discouraged because the link could go dead/missing at any time. – Richard Horrocks Dec 13 '17 at 20:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.