# Introduction to Cross-Chain Technologies: Cross-chain technologies like bridges and atomic swaps enable asset transfers and interoperability between different blockchain networks. Bridges facilitate transfers by locking assets on one chain and minting equivalent assets on another, while atomic swaps allow for direct, trustless exchanges between users on different chains.
# Role of Bridges in MUWP: Bridges in MUWP enable single-token transfers across blockchains, providing users access to a wider range of assets and liquidity pools. For example, a bridge might help a user transfer USDT from Ethereum to Stellar with the most efficient route (aggregation of choices based on gas fees and plateform fees) , enhancing MUWP's cross-chain functionality.
# Decentralized Exchanges: DEXes provide a decentralized marketplace for trading cryptocurrencies directly between users, ensuring that MUWP can offer a wide range of swapping options without relying on centralized price feeds, thereby enhancing the protocol's resilience and offering users competitive rates for their swaps.
- Stellar SDK: A software development kit that provides tools and libraries to interact with the Stellar blockchain programmatically.
- Transaction Envelope: The structure that holds transaction details, signatures, and metadata for submission to the Stellar network.
- Sequence Number: A counter for transactions on a specific account to prevent double-spending.
- Base Fee: The minimum amount of XLM required to process a transaction on Stellar.
- Asset Class: A representation of an asset in the SDK (e.g., XLM, USD, custom tokens).
- Trustline Management: Methods to establish trust between accounts and specific assets.
- Issuer Account: The account responsible for creating and managing an asset.
- Claimable Balances: A feature that allows deferred payments until certain conditions are met.
- Payment Operation: An SDK method to facilitate payments directly between accounts.
- Path Payment Strict Send: SDK functionality that converts and delivers the exact asset sent, while finding the optimal path.
- Path Payment Strict Receive: Ensures the receiver gets the exact asset and amount specified, finding the optimal swap route.
- Create Account Operation: A method to generate new accounts and initialize them with a balance.
- Set Options Operation: Enables modifying account settings (e.g., thresholds, signers, home domain).
- Account Merge: SDK functionality to merge an account into another, transferring all its funds.
- Soroban Module: Tools for deploying, interacting with, and managing smart contracts on Stellar.
- Contract Invocations: Calls to execute specific functions within Soroban smart contracts.
- WASM (WebAssembly): The format used for writing Soroban contracts.
- Manage Buy Offer: A method to place or update buy orders on the Stellar DEX.
- Manage Sell Offer: A method to place or update sell orders on the Stellar DEX.
- Liquidity Pool Management: Functions to interact with automated liquidity pools for swapping assets.
- Public Key: The unique identifier for an account, used in SDK operations.
- Private Key: A sensitive key required to sign transactions and authorize operations.
- Multisig (Multi-Signature): Configuration that requires multiple keys to authorize a transaction.
- Transaction Result Codes: Codes returned by the network indicating success or specific errors (e.g.,
tx_bad_seq
,op_no_trust
). - SDK Logs: Diagnostic logs for tracking and troubleshooting SDK operations.
- Token Bridge Integration: SDK functionality for enabling token transfers between Stellar and other blockchains.
- Pathfinding Algorithm: A core SDK feature to identify optimal token swap routes through the Stellar DEX.
- Multi-Token Management: Methods to manage diverse tokens and automate conversions into XLM.
- Horizon API Integration: Functions to interact with Stellar’s Horizon server for querying the network and submitting transactions.
- Stellar DEX Explorer: SDK tools to browse and analyze liquidity and trading pairs programmatically.
- Sandbox Testing: Built-in SDK environment for safe transaction testing without affecting the mainnet.