Stylike cross-chain bridge has something to do with enabling some sort of transfers between Binance smart chain and Ethereum blockchains.
How Do Stylike Cross-Chain Bridge Functions Work?
To ensure that you get a clear idea of how the stylike cross-chain bridge works, we’ll use the image below
The icons of paper with a pencil represent smart contracts. Furthermore, we have four smart contracts, two with a stack of coins (the cylinders with horizontal lines) and two with a bridge.
We have the “main chain” as Binance Smart Chain (if you have an existing token, you already have that).
For instance, when users want to transfer tokens from the main chain over to the side chain, they are first locked using the bridge contract on the main chain.
We have a bridge contract on each side to ensure that the token transfer is done safely and sends a signal to the relay which then triggers the gateway to mint the locked amount of tokens on the side chain using the stylike child token contract.
When the transfer goes from the side chain back to the main chain, the process happens in reverse. This means that the tokens on the side chain (using a side chain bridge contract) are burned, and the ones on the main chain are unlocked simultaneously.