0

I have the abi and bytecode of contract functions.

Is there a way to access them using api calls only(using web3 module or any other) since i want to integrate them in an android native app and thus can't use web3 plugin for front end javascript.

0

Please check How to send transaction/call function from server-side?. I have put my node.js code in there for connecting from server. It is working fine for me.It may help you as well.

  • I am able to execute view functions using the snippet. But can't access any create function – 236379 ktr.et.cse.16 Sep 10 '18 at 20:48
  • Can you please share your code and the error you are getting. – SSS Sep 11 '18 at 13:23
  • nevermind it worked fine .. thanks for helping out – 236379 ktr.et.cse.16 Sep 11 '18 at 13:41
0

I think you can use web3j for Android because it’s java library

  • no i want to do it using apis only since i would be using them for web portal too. – 236379 ktr.et.cse.16 Sep 10 '18 at 19:39

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.