Send a Roundtrip Message
Send roundtrip message
Alright, now let's send the message:
Send the Message:
cast send --rpc-url fuji-c --private-key $PK $SENDER_ADDRESS "sendMessage(address)" $RECEIVER_ADDRESSVerify Message Receipt
To check whether the message has been received, we can call the roundtripMessage() function on the sender contract.
cast call --rpc-url fuji-c $SENDER_ADDRESS "roundtripMessage()(string)"If successful, you should see the following output:
"Hello World!"Is this guide helpful?



