Create Simple Calculator Receiver
Create a contract that receives multiple parameters and execute a function
On our Subnet, we need to create the receiver part of our cross-chain calculator. It will receive two numbers and store the result.
Deploy the Receiver Contract
Deploy the receiver contract on your Subnet:
Then save the sender contract address (displayed in Deployed To:
) in an environment variable: