Timeline for Interact with smart contract via web3j API for Java application
Current License: CC BY-SA 4.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 8, 2020 at 20:52 | comment | added | Mikko Ohtamaa | If your application 2 does not have ABI information available for the smart contract it cannot interact with that particular contract, period. So you need to have ABI data embedded in the application source code files. | |
Dec 8, 2020 at 14:39 | comment | added | Eth.Cat | thanks you, but I think you misunderstood my question. Yes my application2 can invoke a function of a smart contract, but only when it knows what is the name of the function and the arguments. From Java application, only when you have a source code of the smart contract, you can invoke them by doing like sc.function(). In this situation, the java application2 does not contain any information of the smart contract but its address, how can it invoke a function inside a smart contract? | |
Dec 8, 2020 at 12:07 | history | answered | Mikko Ohtamaa | CC BY-SA 4.0 |