EYWA | CrossCurve
3 min readNov 22, 2022

EYWA Mainnet: The cross-chain transaction process

Today we'll take a step-by-step look at the cross-chain transaction process, or in other words, the process of calling from Blockchain A to Blockchain B.

  1. First, a cross-chain transaction is generated by the sender - you decide to transfer assets to someone and enter all the necessary details in a form on the website.
  2. The cross-chain transaction is then sent to the Portal smart contract. After the cross-chain transaction is generated, it is signed with the sender's private key and sent to the Portal smart contract, which locks the user's native tokens and calls the Bridge smart contract located in the source network.
    Note: At this stage, only whitelisted addresses can call the Bridge smart contract. Addresses can be added to the whitelist by the decision of the Bridge smart contract owners.
  3. The Bridge smart contract generates an event containing the cross-chain call data. The cross-chain call event is then written onto the source network block.
  4. Next, the block is created by the EYWA Oracle Network. Members of the current EYWA Oracle Network epoch select the events from the network source block, generated by the Bridge smart contract. The events are then packed into the block in the same order as in the source network block.
  5. After each validator node creates a block, the collection process is initiated by a threshold BLS signature. In this way, a consensus of all network members regarding the block content is achieved.
  6. If consensus is gathered (>⅔ of total epoch participants), the signed block is added to the corresponding EYWA blockchain relay chain.
    A relay chain is a blockchain in which blocks contain cross-chain calls from only one source network.
  7. The cross-chain call is sent by the Pusher service to Blockchain B. The Pusher service performs several sequential steps:
    A) Parses EYWA blockchain blocks into individual cross-chain calls.
    B) Prepares the cross-chain calls for sending by attaching a cryptographic proof to these calls, which will be verified on the Bridge smart contract in Blockchain B.
    C) Sends the transaction to the Bridge smart contract in the Blockchain B network.
  8. The Bridge smart contract verifies the cryptographic signature validity of the epoch participants.
  9. If the cross-chain call verification in the Bridge smart contract is successful, the cross-chain call is then redirected to the target Synthesis smart contract, which synthesizes EYWA tokens and sends them to the user's address.

You can see the cross-chain transaction process here:

What do you think of the article? Share in the comments if everything seems clear to you!

EYWA | CrossCurve

CrossCurve by Eywa: The end game for fragmented liquidity. Enabling low-slippage cross-chain swaps of any assets (LSTs, Stables, Curve LPs) in one click.