Sonic Gateway
Last updated
Last updated
© 2024 Sonic Labs
In the evolving blockchain landscape, a native, decentralized bridge is essential for a healthy ecosystem, enabling robust interoperability and preventing networks from being siloed.
However, current layer-1 and layer-2 solutions often force users to compromise on security, speed, and decentralization, relying on centralized systems that expose funds to significant risks — over $2.5 billion has been lost already due to bridge hacks.
Recognizing these systemic threats, we had simple goals in mind for our bridge:
Security: Ensure safety with a built-in fail-safe mechanism.
Speed: Provide a smooth user experience for easy asset bridging.
Decentralization: Eliminate single points of control, ensuring only users have access to their funds.
The Sonic Gateway is a revolutionary, decentralized, trustless bridge between Ethereum and Sonic that fulfills the three goals above simultaneously.
With a built-in fail-safe mechanism, the Sonic Gateway provides asset security, safeguarding your funds under all circumstances.
The Sonic Gateway is our trustless bridge that facilitates ERC-20 token transfers between Ethereum and Sonic. By leveraging Sonic’s own validator network, with validators operating nodes on both chains, it establishes a secure, decentralized channel between the two platforms.
Most importantly, only users have access to the funds transferred via the Sonic Gateway; there is no possibility for any centralized authority to override user control or access funds through a master key.
The Sonic Gateway is also designed for efficiency. Transfers from Ethereum to Sonic only take up to 10 minutes, while transfers from Sonic to Ethereum take up to 1 hour.
Although Sonic is not a layer 2, we'll still be active participants in the Ethereum ecosystem as we spend ETH to write to the chain with the Sonic Gateway.
See the illustration below for a visual overview of bridging assets from Ethereum to Sonic.
The Sonic Gateway has a built-in fail-safe mechanism with which users can retrieve their bridged assets on the original chain in the unlikely case that Sonic or its gateway experiences a failure.
This fail-safe mechanism activates after 14 consecutive days of failed gateway operations, serving as a safeguard for users transferring assets from Ethereum to Sonic. Designed as a form of insurance, the 14-day fail-safe period is immutable, meaning it cannot be altered by Sonic Labs or any other third-party entity once the Sonic Gateway is deployed.
Importantly, this period is not intended as a contest period but rather as an essential feature that ensures users retain custody of their bridged funds on the originating chain.
The Sonic Gateway transmits heartbeats between the chains, which include each blockchain's Merkle root and block height. If the heartbeat ceases for 14 days, it signals that the Gateway has failed, allowing users' funds to be unlocked on Ethereum.
Only assets routed through the Sonic Gateway can be recovered. The 14-day duration serves as a buffer period to address any issues with the Gateway before it is deemed unusable.
Most layer-2 platforms are optimistic rollups that operate on the assumption that all withdrawals are valid unless contested (hence the name “optimistic”). To ensure security, a 7-day challenge period is in place, allowing anyone to verify and dispute withdrawal claims made on the Ethereum mainnet.
For example, if you wish to withdraw 2 ETH from Optimism to any other platform, the assets won’t actually be released on Ethereum until the 7-day challenge period has passed. So why does a transfer from platforms like Arbitrum and Optimism to an exchange like Binance only take a few minutes?
When depositing from an optimistic rollup to an exchange like Binance, the transfer may appear quick, but the exchange is assuming the risk associated with the challenge period; this is because Binance trusts most layer-2 platforms.
However, the funds credited to your account by the exchange aren't technically secure until the 7-day challenge window closes, meaning the exchange bears the risk during this period.
In contrast, Sonic, as a layer-1 platform with its own secure validators, offers instant transfers to exchanges without the associated risk, as these transactions aren't subject to any challenge period, which includes USDC if it becomes native on Sonic.
Additionally, assets bridged from Ethereum through the Sonic Gateway finalize within an hour, offering a much faster and safer alternative compared to the 7-day challenge period required by most layer-2 solutions.
Check out the simple visualizations below that illustrate the process of bridging from Ethereum to Sonic or from Sonic to Ethereum using the Gateway.
Unlike layer-2 platforms, which are entirely dependent on Ethereum and thus limited in interoperability, the Sonic Gateway propels Sonic into a promising, interconnected future.
By enabling canonical access to native assets from other layer-1 platforms, the Gateway fosters a secure and thriving economy on the Sonic network. Users can directly access these canonical assets on Sonic while maintaining decentralized custody, eliminating the inherent risks associated with third-party bridge providers or centralized wrappers controlled by individuals, governments, or corporations (e.g. wBTC and others).
The Sonic Gateway thus provides safe access to high-demand assets that natively exist outside the Sonic network, such as BTC, ETH, SOL, and more.