This contract presents 3 examples on how to do complex cross-contract calls. Particularly, it shows:
- How to batch method calls to a same contract.
- How to call multiple contracts in parallel, each returning a different type.
- Different ways of handling the responses in the callback.
Clone this repository locally or open it in gitpod. Then follow these steps:
npm install
Deploy your contract in a sandbox and simulate interactions from users.
npm test
- Learn more about the contract through its README.
- Check our documentation.