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)
- User initiates deposit on Polygon network
- Tokens are locked in the bridge contract on Polygon
- Heimdall validators detect the deposit event
- Validators reach consensus and create state sync
- Equivalent tokens are minted/released on Ramestta
- User receives tokens on Ramestta (~5-10 minutes)
Withdrawals (Ramestta â Polygon)
- User initiates withdrawal on Ramestta network
- Tokens are burned/locked on Ramestta
- Transaction is included in next checkpoint
- Checkpoint is submitted to Polygon (~30 minutes)
- User claims tokens on Polygon with proof
- 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:
| Asset | Type | Polygon Address | Ramestta Address |
|---|---|---|---|
| RAMA | ERC-20 | 0x55a5CC06801bBa4C030568f1A7ee1c753FDcbe36 | 0x0000...1010 (Native) |
| WRAMA | ERC-20 | 0x3413e262742c22BeEd13f778C26cacBd726C3aa8 | 0x27d20dE66C83d5C... |
| Custom ERC-20 | ERC-20 | Mapped via bridge | Mapped via bridge |
| ERC-721 NFTs | NFT | Mapped via predicate | Mapped 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)
| Contract | Address |
|---|---|
| RootChainProxy | 0x32BC23e5FFf7D567313dB4F41A5125Ad9D9Bca63 |
| DepositManagerProxy | 0x81ebFB0c73d3165c4719E9604cDa55eF91226dAf |
| WithdrawManagerProxy | 0x6e07F852bAC263492e8C710dB7c0d59275268db8 |
| StateSender | 0xE0C9051E655380D1d880b9B0f4b500cEbD09278f |
| ERC20Predicate | 0xC0dA09523c92714d0Df17e72966B3B80f228df8e |
| ERC721Predicate | 0x02F08C48DaB9739C49A1F6C681B32fEFeCa9F1A9 |
Ramestta (L3 Network)
| Contract | Address |
|---|---|
| ChildChain | 0x0000000000000000000000000000000000001001 |
| StateReceiver | 0x0000000000000000000000000000000000001001 |
| MRC20 (RAMA) | 0x0000000000000000000000000000000000001010 |
Bridge Fees
| Operation | Network Fee | Bridge Fee |
|---|---|---|
| Deposit | Polygon gas (~$0.01) | Free |
| Withdrawal | Ramestta 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:
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.