Process Flow
Last updated
Last updated
The user initiates a bridge transfer by calling the bridge function on the Ethereum or BSC bridge contract.
The bridge contract locks the ANKR tokens and emits a BridgeRequested event.
The Indexer observes the event and relays it to the Neura validator add-ons.
Each validator add-on receives the event and prepares the message hash to be signed based on the bridge event data.
Each add-on signs the message and submits it to the SafeTxnAggregator.
Once the required threshold of validator signatures is reached, the SafeTxnAggregator executes the transaction via the Safe Multisig.
The Neura System Treasury Contract (Neura Vault) transfers the corresponding native ANKR tokens to the recipient on Neura.
The user initiates a bridge
transfer by calling the bridge function on the Neura Bridge contract.
The Neura Bridge contract transfers the specified ANKR amount to the Neura Vault, generates a bridge message hash (keccak256(...)
), stores it on-chain, and emits a BridgeRequested
event.
The Indexer observes the event and relays it to the validator add-ons.
Each validator add-on verifies the transfer, signs the message hash, and submits its signature to the Neura Bridge contract via approveTransfer
.
Once the threshold of validator signatures is reached, the Neura Bridge contract emits a BridgeTransferApproved
event.
The user queries the Neura Bridge contract to collect the required signatures.
The user submits the collected signatures to the Ethereum or BSC Bridge contract to claim the bridged ANKR tokens on the destination chain.