Bridging Casper to EVM
This guide walks you through bridging CEP-18 tokens from Casper Network to an EVM chain (Ethereum, Base, etc.).
Overview
When you bridge from Casper to EVM:
- Burn: Your CEP-18 tokens are burned on Casper
- Detection: Relayers detect the burn event
- Attestation: Relayers verify and collect signatures
- Unlock: ERC-20 tokens are unlocked to your Ethereum address
Why It's Faster
Casper → EVM transfers are significantly faster (~1-3 minutes) compared to EVM → Casper (~15-20 minutes) because:
- Casper has instant finality - No need to wait for multiple block confirmations
- Events are final as soon as the transaction is included in a block
Prerequisites
- Both wallets connected (see Connecting Wallets)
- CEP-18 tokens to bridge (bridged tokens from previous EVM → Casper transfers)
- CSPR for gas fees (~2.5 CSPR)
Step-by-Step Guide
Step 1: Select Casper as Source
- Go to astralbeam.io
- In the "From" section, select "Casper (Testnet)"
- Click the swap arrows if EVM is currently selected as source
- The "To" section will show the destination EVM network
Step 2: Select Token
- Click "Select token" in the token input area
- A modal will display your bridged CEP-18 tokens
- Choose the token you want to bridge back (e.g., USDC, WETH)
- Your CEP-18 token balance will be displayed
Step 3: Enter Amount
- Enter the amount of tokens to bridge
- Ensure you have sufficient balance
- Note: You cannot bridge more than what's locked on the destination chain
Step 4: Review Transaction
- Click "Review Bridged Transfer"
- Review the transaction summary:
| Field | Description |
|---|---|
| From | Casper (Testnet) |
| To | Ethereum (Sepolia) or selected EVM chain |
| Amount | Token amount being bridged |
| Recipient | Your Ethereum address (0x...) |
- Verify your Ethereum address is correct
Step 5: Sign Burn Transaction
- Click "Start Bridged Transfer"
- Casper Wallet will open with the transaction details
- Review the transaction:
- Contract: TokenFactory
- Method: burn
- Amount: Your specified amount
- Gas: ~2.5 CSPR
- Click "Sign" in Casper Wallet
- Wait for the transaction to be included in a block
Step 6: Wait for Attestations
After the burn transaction is confirmed:
- The modal shows "Relayer Attestation" as active
- The bridge's independent relayers detect your transaction
- Each relayer verifies it and adds its approval
- This typically takes 1-2 minutes
Step 7: Automatic Unlock
Once enough relayers have approved:
- The unlock transaction is submitted to the destination chain automatically
- Your ERC-20 tokens are transferred from the bridge to your address
- The modal shows "Completed" status
- View your tokens in MetaMask or on the block explorer
Transaction Progress Steps
| Step | Status | Description |
|---|---|---|
| 1 | Burn Tokens | Burn CEP-18 on Casper |
| 2 | Relayer Attestation | Relayers verify and sign (~1-2 min) |
| 3 | Unlock on Ethereum | ERC-20 tokens unlocked |
Viewing Your Unlocked Tokens
In MetaMask
- Open MetaMask
- Ensure you're on the correct network (Sepolia)
- Your token balance should update automatically
- If not visible, add the token manually using its contract address
On Etherscan
- Go to sepolia.etherscan.io
- Search for your Ethereum address
- Click "Token Holdings" or "ERC-20 Token Txns"
- View your unlocked tokens
Tracking the Transaction
On the Transactions Page
- Navigate to astralbeam.io/transactions
- Find your transaction (most recent at top)
- Click to expand and see detailed progress
- View links to block explorers for each step
Transaction Statuses
| Status | Meaning |
|---|---|
| Pending | Transaction in progress |
| Completed | Successfully bridged |
| Failed | Transaction failed (see Troubleshooting) |
Troubleshooting
Burn Transaction Failed
- Insufficient CSPR: Ensure you have ~2.5 CSPR for gas
- Insufficient tokens: Verify you have enough CEP-18 tokens
- Contract paused: Check if the bridge is temporarily paused
Attestation Taking Too Long
- Normal attestation time is 1-2 minutes
- If longer than 5 minutes, relayers may be processing many transactions
- Check the Transactions page for status updates
Unlock Not Received
- Verify the unlock transaction was submitted (check Transactions page)
- Check Etherscan for your address
- Confirm you're on the correct network in MetaMask
- Token may need to be added to MetaMask manually
"Insufficient Chain Liquidity" Error
This means more tokens are being burned than are locked on the target chain:
- Check per-chain liquidity using the API
- Try a smaller amount
- This can happen if liquidity was drained or not seeded
Gas and Fees
| Fee Type | Amount | Paid By |
|---|---|---|
| Casper Burn Gas | ~2.5 CSPR | You |
| Ethereum Unlock Gas | Variable | Relayers |
Example: Bridging 10 USDC Back
- Connect Casper Wallet and MetaMask (Sepolia)
- Select "Casper (Testnet)" as source
- Select USDC from token list (your bridged CEP-18)
- Enter "10" as amount
- Review: 10 USDC (CEP-18) → 10 USDC (ERC-20)
- Sign burn transaction in Casper Wallet (~2.5 CSPR gas)
- Wait ~1-2 minutes for attestations
- Receive 10 USDC (ERC-20) on Ethereum Sepolia
Native Token Bridging (WCSPR)
For native Casper tokens like WCSPR:
- The process is similar but uses
lock_nativeinstead ofburn - Wrapped ERC-20 tokens (wCSPR) are minted on the EVM chain
- These wrapped tokens can be bridged back to unlock native CSPR tokens