1

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.

1

1 Answer 1

1

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

1
  • 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. Commented Dec 13, 2017 at 20:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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