0Pricing
Web3 & DApp Development Fundamentals · درس

ربط الأصول

النقل بين الطبقات

ربط الأصول درس مجاني في Web3 & DApp Development Fundamentals على CoddyKit. هذا هو الدرس 3 من أصل 4. يمكنك قراءة الدرس كاملاً أدناه مجاناً — ثم تمرن عليه مباشرة في المتصفح باستخدام محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7. هذا الدرس جزء من مسار التعلم في Web3 & DApp Development Fundamentals، وتقدمك يتزامن عبر الويب وتطبيق CoddyKit. تتضمن دورة Web3 & DApp Development Fundamentals 4 دروس في المجموع.

بعض أجزاء هذا الدرس لم تُترجم بعد وتظهر باللغة الإنجليزية.

Why Bridges Are Needed

Each L2 (and each chain) has its own state. To use assets across them you need a bridge that moves value between layers.

Bridges let you take ETH on Ethereum and use it on Arbitrum, Optimism, or other networks.

What a Bridge Does

A bridge coordinates two chains so that locking or burning an asset on one side results in receiving it on the other.

The total supply is preserved — assets are not duplicated, just represented on the destination chain.

Lock and Mint

The most common pattern is lock-and-mint:

  • Lock the asset in a contract on the source chain
  • Mint a wrapped representation on the destination chain
Source (L1): lock 10 ETH in bridge contract
Dest (L2):   mint 10 bridged-ETH to user

Burn and Release

To move back, the reverse happens — burn-and-release:

  • Burn the wrapped asset on the destination chain
  • Release the locked original on the source chain
Dest (L2):  burn 10 bridged-ETH
Source(L1): release 10 ETH from lock

Native vs Third-Party Bridges

A native (canonical) bridge is operated by the rollup itself and is the most trust-minimized path.

Third-party bridges offer faster or cheaper transfers but add extra trust assumptions in their own contracts and operators.

Deposits vs Withdrawals

On rollups, deposits (L1 to L2) are usually fast. Withdrawals (L2 to L1) can be slow.

Optimistic rollup withdrawals wait out the challenge window; ZK rollup withdrawals wait for proof verification.

Liquidity-Based Fast Bridges

To avoid long waits, liquidity bridges keep pools of assets on both chains.

You hand assets to a pool on one side and instantly receive from the pool on the other, paying a small fee instead of waiting.

Wrapped Assets

Bridged tokens are often wrapped representations (like USDC.e). Their value depends entirely on the assets locked in the bridge.

If the bridge is hacked and the locked assets are stolen, the wrapped tokens can become worthless.

Message Passing

Bridges do more than move tokens — they pass messages between chains, enabling cross-chain calls and governance.

This general message-passing capability is the basis of advanced interoperability, covered in a later lesson.

Trust Assumptions Matter

The safety of bridged funds depends on the bridge's design. Always ask:

  • Who can mint the wrapped tokens?
  • How are the locked assets secured?
  • Is it canonical or third-party?

Putting It Together

Bridges move value across layers using lock-and-mint and burn-and-release, with native bridges being most trust-minimized. Liquidity bridges trade fees for speed.

Next we compare specific L2s to learn how to choose one.

Quick Check

Test your bridging knowledge.

Recap: Bridging Assets

You learned that:

  • Bridges move value between layers
  • Lock-and-mint and burn-and-release preserve supply
  • Native bridges are most trust-minimized
  • Liquidity bridges offer speed for a fee
  • Bridge trust assumptions determine safety

Next: choosing the right Layer 2.

الأسئلة الشائعة

هل درس «ربط الأصول» مجاني؟

نعم — نص درس «ربط الأصول» كامل متاح مجاناً هنا على الويب. لتمرينه بشكل تفاعلي (محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7) وفتح باقي دورة Web3 & DApp Development Fundamentals، انتقل إلى CoddyKit PRO. تتضمن دورة Web3 & DApp Development Fundamentals 4 دروس في المجموع.

ماذا ستتعلم في «ربط الأصول»؟

النقل بين الطبقات تتمرن على Web3 & DApp Development Fundamentals مع أكواد عملية تشغلها مباشرة في المتصفح، ومدرس ذكاء اصطناعي متاح 24/7 يجيب على أسئلتك أثناء عملك.

هل أحتاج إلى خبرة سابقة لأبدأ Web3 & DApp Development Fundamentals؟

لا تُشترط خبرة سابقة. Web3 & DApp Development Fundamentals على CoddyKit منظم للمبتدئين حتى المتقدمين، لذا يمكنك البدء من هنا أو من البداية والتقدم بسرعتك الخاصة. هذا هو الدرس 3 من أصل 4.

كم من الوقت يستغرق درس «ربط الأصول»؟

معظم دروس CoddyKit تستغرق حوالي 5–10 دقائق. كل منها موجز وتفاعلي، لذا تحرز تقدماً مستمراً وتستأنف من حيث توقفت عبر الويب والتطبيق.

هل يمكنني كتابة وتشغيل أكواد في درس Web3 & DApp Development Fundamentals هذا؟

نعم. كل درس في Web3 & DApp Development Fundamentals يتضمن محرر أكواد مدمج، لذا تكتب وتشغل أكواداً حقيقية مباشرة في متصفحك وتحصل على تعليقات فورية من الذكاء الاصطناعي — بدون إعداد محلي.

جميع الدروس في هذه الدورة

  1. لماذا Layer 2
  2. Rollups
  3. ربط الأصول
  4. اختيار Layer 2
← العودة إلى Web3 & DApp Development Fundamentals