/Docs/Bridge/Bridge Overview

Bridge Overview

RamaBridgeLive

RamaBridge enables seamless transfer of assets between Polygon and Ramestta networks. The bridge uses a secure checkpoint mechanism to ensure safe and verifiable transfers.

âŦĄ
Polygon
Parent Chain
🌉
RamaBridge
🔷
Ramestta
PoS Chain

How It Works

Deposits (Polygon → Ramestta)

  1. User initiates deposit on Polygon network
  2. Tokens are locked in the bridge contract on Polygon
  3. Heimdall validators detect the deposit event
  4. Validators reach consensus and create state sync
  5. Equivalent tokens are minted/released on Ramestta
  6. User receives tokens on Ramestta (~5-10 minutes)

Withdrawals (Ramestta → Polygon)

  1. User initiates withdrawal on Ramestta network
  2. Tokens are burned/locked on Ramestta
  3. Transaction is included in next checkpoint
  4. Checkpoint is submitted to Polygon (~30 minutes)
  5. User claims tokens on Polygon with proof
  6. Tokens are released from bridge contract
â„šī¸Withdrawal Time
Withdrawals take longer than deposits due to the checkpoint mechanism. This ensures cryptographic security of the transfer.

Supported Assets

The following assets can be bridged between Polygon and Ramestta:

AssetTypePolygon AddressRamestta Address
RAMAERC-200x55a5CC06801bBa4C030568f1A7ee1c753FDcbe360x0000...1010 (Native)
WRAMAERC-200x3413e262742c22BeEd13f778C26cacBd726C3aa80x27d20dE66C83d5C...
Custom ERC-20ERC-20Mapped via bridgeMapped via bridge
ERC-721 NFTsNFTMapped via predicateMapped via predicate
â„šī¸Token Mapping
Custom tokens need to be mapped before they can be bridged. Contact the Ramestta team to request token mapping for your project.

Bridge Contract Addresses

Polygon (L2 Parent Chain)

ContractAddress
RootChainProxy0x32BC23e5FFf7D567313dB4F41A5125Ad9D9Bca63
DepositManagerProxy0x81ebFB0c73d3165c4719E9604cDa55eF91226dAf
WithdrawManagerProxy0x6e07F852bAC263492e8C710dB7c0d59275268db8
StateSender0xE0C9051E655380D1d880b9B0f4b500cEbD09278f
ERC20Predicate0xC0dA09523c92714d0Df17e72966B3B80f228df8e
ERC721Predicate0x02F08C48DaB9739C49A1F6C681B32fEFeCa9F1A9

Ramestta (L3 Network)

ContractAddress
ChildChain0x0000000000000000000000000000000000001001
StateReceiver0x0000000000000000000000000000000000001001
MRC20 (RAMA)0x0000000000000000000000000000000000001010

Bridge Fees

OperationNetwork FeeBridge Fee
DepositPolygon gas (~$0.01)Free
WithdrawalRamestta gas (~$0.0002)Free
Claim (Polygon)Polygon gas (~$0.01)N/A
✅No Bridge Fees
RamaBridge does not charge any fees for transfers. You only pay network gas fees on the respective chains.

Using the Bridge

Via Web Interface

The easiest way to use the bridge is through our web interface:

🌉

RamaBridge

Bridge assets between Polygon and Ramestta

https://bridge.ramestta.com →

Via SDK

bridge-sdk.tstypescript
import { RamaPay } from '@ramestta/sdk';

const ramaPay = new RamaPay({ network: 'mainnet' });

// Deposit from Polygon to Ramestta
const deposit = await ramaPay.bridge.deposit({
  token: 'USDT',
  amount: '100', // 100 USDT
});

console.log('Deposit TX:', deposit.hash);
console.log('Expected arrival: ~5-10 minutes');

// Check deposit status
const status = await ramaPay.bridge.getDepositStatus(deposit.hash);
console.log('Status:', status); // 'pending' | 'confirmed' | 'completed'

Via Smart Contract

bridge-contract.tstypescript
import { ethers } from 'ethers';

// Polygon side: Deposit Manager
const DEPOSIT_MANAGER = '0x...';
const depositManagerAbi = [
  'function depositERC20(address token, address user, uint256 amount)',
  'function depositERC20ForUser(address token, address user, uint256 amount)',
];

// Approve tokens first
const token = new ethers.Contract(tokenAddress, erc20Abi, signer);
await token.approve(DEPOSIT_MANAGER, amount);

// Make deposit
const depositManager = new ethers.Contract(DEPOSIT_MANAGER, depositManagerAbi, signer);
const tx = await depositManager.depositERC20ForUser(tokenAddress, userAddress, amount);
await tx.wait();

console.log('Deposit initiated:', tx.hash);

Security

🔒

Checkpoint Verification

All withdrawals require checkpoint proof verified by Polygon validators

đŸ‘Ĩ

Multi-Validator Consensus

Deposits require 2/3+ validator signatures before processing

âąī¸

Challenge Period

Withdrawals have a challenge period for fraud detection

📝

Audited Contracts

Bridge contracts are open source and audited

Troubleshooting

  • Deposit not arriving: Wait 10-15 minutes. Check transaction on Polygon explorer.
  • Withdrawal stuck: Wait for next checkpoint (~30 min). Verify on RamaScan.
  • Claim failing: Ensure you have POL for gas on Polygon.
  • Token not showing: Add token contract address manually to your wallet.
âš ī¸Need Help?
If your bridge transaction is stuck for more than 2 hours, contact support on Discord with your transaction hash.

Found an issue with this page? Report on GitHub