RPC Providers & Bridges
Available RPC endpoints and bridges for Swellchain
RPC Provider
To connect to Swellchain, you can use the following RPC providers:
AltLayer RPC
Network | HTTPS Endpoint |
---|---|
Mainnet | https://swell-mainnet.alt.technology |
Testnet | https://swell-testnet.alt.technology |
More information: AltLayer Docs
Ankr RPC
Network | HTTPS Endpoint |
---|---|
Mainnet | https://rpc.ankr.com/swell |
Testnet | https://rpc.ankr.com/swell-testnet |
More information: Ankr Docs
You can add the network to your wallet and see additional RPC endpoints on ChainList.
Bridges
Bridge via Superbridge
Bridging Assets
The Standard Bridge contract enables asset transfers between Ethereum and Swellchain through a lock-and-mint mechanism. Please refer to the Contract Addresses page for the addresses of the bridge and token contracts.
Please note that these addresses are subject to change. Always verify contract addresses through official sources before interacting with them.
To bridge assets, call the bridgeERC20To()
function on the bridge contract with the following parameters:
Prop | Type | Default |
---|---|---|
sourceToken | address | - |
destinationToken | address | - |
recipient | address | - |
amount | uint256 | - |
gasLimit | uint256 | - |
extraData | bytes | 0x |
Bridging ETH
To bridge ETH between Ethereum and Swellchain, call the bridgeETH()
or bridgeETHTo()
functions on the bridge contract:
Prop | Type | Default |
---|---|---|
recipient | address | - |
gasLimit | uint256 | - |
extraData | bytes | 0x |
You can also bridge by sending a basic ETH transfer from an EOA directly to the Bridge Contract address. This is possible because the Bridge Contract includes a receive function that enables direct ETH transfers from an EOA on Ethereum to Swellchain without calling specific bridge functions. Find the contract addresses for mainnet and testnet in the Contract Addresses section.
Bridge Mechanics
The bridge locks the tokens on the source chain and mints equivalent tokens on the destination chain. Transfers from Ethereum to Swellchain complete in 1-3 minutes, while transfers back to Ethereum have a 7-day challenge period.
For more information on bridging assets via the Standard Bridge Contract, refer to the Standard Bridge documentation.