Deploy Your DApp on Surge
This guide walks you through deploying your decentralized application (DApp) on Surge.
Prerequisites
Before deploying your DApp, ensure you have the following:
- ETH on L1: Get ETH on the L1 network that Surge is deployed on (e.g., Gnosis mainnet for the current live deployment).
- Surge L2 RPC: Connect your wallet to Surge L2 using the RPC endpoint: https://rpc.realtime.surge.wtf.
- Surge L2 Block Explorer: Monitor transactions on: https://explorer.realtime.surge.wtf
Bridge ETH to Surge
To bridge ETH from L1 to L2:
- Visit the Bridge UI.
- Initiate a transfer of ETH from L1 to L2.
- Monitor your transaction using the Explorer.
Note: The relayer will automatically claim your bridged ETH within one minute of confirmation, under default settings.
Deploy Your DApp
Once you've received your ETH on L2:
- Deploy your DApp as you would on any other EVM-compatible network.
- No changes to your DApp's code are required.
Feature Set
Surge uses the RealTime execution fork, which is EVM-compatible with additional capabilities:
- Standard EVM opcodes and precompiles
- Signal slots for L1-to-L2 message relay
- Synchronous composability via the builder's multicall pattern
Troubleshooting
If you encounter any issues, check out our Troubleshooting Guide.