neow3j / neow3j-examples-java

neow3j: Java Examples
Apache License 2.0
11 stars 8 forks source link

Example of a Smart Contract that calls another Smart Contract method #15

Closed gsmachado closed 3 years ago

gsmachado commented 3 years ago

Create an example of a contract A that calls a specific contract B method.

It can be called CallAnotherContract.java.

gsmachado commented 3 years ago

I know we have, e.g., the NonDivisibleNFToken, that has a Contract.call() already (see here). But, maybe a more explicit and simpler Smart Contract with that feature would be nice -- since it's key for the development of more elaborate examples.

mialbu commented 3 years ago

This was added in commit 8a3d092.