Technology Overview
Last updated
Last updated
The VIA Network enables developers to send any information between blockchains.
Origin Smart Contract Sends a Message:
sendMessage(): The process begins when the origin smart contract on the origin blockchain calls the sendMessage()
function. This function sends a message to the VIA Gateway Contract on the origin chain.
Message Detection:
The validators "listen" to the gateway contracts to ensure a message is relayed.
Multi Layer Security Stack:
Validation: The message passes through multiple layers of security. Each layer must pass for the message to proceed. See Layered Security for more information.
Message Reception:
The VIA Gateway Contract on the recipient blockchain receives the relayed message from the Validation Cloud and forwards it to the destination smart contract.
Destination Code Execution:
messageProcess(): The destination smart contract on the recipient blockchain processes the message received from the relayer contract. This final step completes the communication, enabling the destination contract to take appropriate actions based on the message content.