- Introduced Aggregator.sol for Chainlink-compatible oracle functionality, including round-based updates and access control. - Added OracleWithCCIP.sol to extend Aggregator with CCIP cross-chain messaging capabilities. - Created .gitmodules to include OpenZeppelin contracts as a submodule. - Developed a comprehensive deployment guide in NEXT_STEPS_COMPLETE_GUIDE.md for Phase 2 and smart contract deployment. - Implemented Vite configuration for the orchestration portal, supporting both Vue and React frameworks. - Added server-side logic for the Multi-Cloud Orchestration Portal, including API endpoints for environment management and monitoring. - Created scripts for resource import and usage validation across non-US regions. - Added tests for CCIP error handling and integration to ensure robust functionality. - Included various new files and directories for the orchestration portal and deployment scripts.
5.6 KiB
MetaMask Bridge & Swap Support for ChainID 138
Current status and workarounds for Bridge and Swap features on ChainID 138.
Current Status
ChainID 138 is not currently supported in MetaMask's native Swaps and Bridge features. Users must use third-party bridges and DEXs until native support is added.
Swaps (In-Wallet Aggregator)
Current Limitation
MetaMask Swaps supports a fixed set of networks:
- Ethereum
- BNB Chain
- Polygon
- Avalanche
- Optimism
- Arbitrum
- zkSync Era
- Linea
- Base
- Sei
ChainID 138 is not on this list, so the in-wallet Swaps button will not aggregate quotes natively.
Workaround: Use DEX UI
Users can swap tokens via DEX UIs that support ChainID 138:
- Connect to ChainID 138: Add network to MetaMask
- Navigate to DEX: Open DEX that supports ChainID 138
- Connect Wallet: Connect MetaMask wallet
- Execute Swap: Execute swap through DEX UI
Recommended DEXs
List DEXs that support ChainID 138 (to be populated after DEX deployment):
- DEX 1: [URL] - Description
- DEX 2: [URL] - Description
Bridge (Portfolio Bridge)
Current Limitation
MetaMask Portfolio Bridge supports a curated network set:
- Ethereum
- BNB Chain
- Linea
- Polygon
- Arbitrum
- Optimism
- Avalanche
- Base
- zkSync Era
ChainID 138 is not currently supported.
Workaround: Use Third-Party Bridges
Users must bridge via third-party bridges until native support is added.
Recommended Bridges
List bridges that support ChainID 138 (to be populated after bridge deployment):
- Bridge 1: [URL] - Description
- Bridge 2: [URL] - Description
Bridge Integration Requirements
For bridges to work with ChainID 138:
- Network Support: Bridge must support ChainID 138
- Liquidity: Sufficient liquidity on both sides
- Security: Audited bridge contracts
- Monitoring: Bridge monitoring and alerts
Buy/Sell (Fiat On/Off-Ramp)
Current Limitation
MetaMask's on-/off-ramp partners only support certain chains/tokens. ChainID 138 assets are not currently supported.
Workaround: Bridge from Supported Chains
- Buy on Supported Chain: Buy ETH/tokens on a supported chain (Ethereum, etc.)
- Bridge to ChainID 138: Use third-party bridge to bridge to ChainID 138
- Use on ChainID 138: Use bridged assets on ChainID 138
Alternative: CEX Withdrawal
- Buy on CEX: Buy ETH/tokens on centralized exchange
- Withdraw to ChainID 138: Withdraw directly to ChainID 138 address (if supported)
- Use on ChainID 138: Use withdrawn assets on ChainID 138
Recommended On-Ramp Partners
List on-ramp partners that support ChainID 138 (to be populated):
- Partner 1: [URL] - Description
- Partner 2: [URL] - Description
How to Fund ChainID 138
Method 1: Bridge from Ethereum
- Bridge Provider: Use a bridge that supports Ethereum → ChainID 138
- Connect Wallets: Connect MetaMask wallets for both chains
- Initiate Bridge: Initiate bridge transaction
- Wait for Confirmation: Wait for bridge confirmation
- Receive on ChainID 138: Receive bridged assets on ChainID 138
Method 2: CEX Withdrawal
- Buy on CEX: Buy ETH on centralized exchange
- Withdraw: Withdraw to ChainID 138 address (if supported)
- Wait for Confirmation: Wait for withdrawal confirmation
- Receive on ChainID 138: Receive assets on ChainID 138
Method 3: Peer-to-Peer
- Find Seller: Find someone willing to sell ETH on ChainID 138
- Arrange Transfer: Arrange transfer via trusted method
- Receive Assets: Receive assets on ChainID 138
Path to Native Support
Swaps Integration
To enable native Swaps support:
- Business Development: Engage with Consensys for partnership
- Liquidity Requirements: Ensure sufficient liquidity for aggregator
- DEX Integration: Integrate with DEXs on ChainID 138
- Testing: Test swap functionality
- Regulatory Compliance: Ensure regulatory compliance
Bridge Integration
To enable native Bridge support:
- Business Development: Engage with Consensys for partnership
- Bridge Providers: Partner with bridge providers
- Security Audit: Complete security audit
- Testing: Test bridge functionality
- Monitoring: Set up bridge monitoring
On-Ramp Integration
To enable native on-ramp support:
- Partner Integration: Partner with on-ramp providers
- Regulatory Compliance: Ensure regulatory compliance
- Testing: Test on-ramp functionality
- User Experience: Optimize user experience
Business Development
Consensys Outreach
- Initial Contact: Reach out to Consensys business development
- Proposal: Submit integration proposal
- Requirements: Discuss requirements and timeline
- Partnership: Establish partnership agreement
- Implementation: Implement integration
Tracking
- Monitor MetaMask feature updates
- Track network support announcements
- Engage with Consensys regularly
- Submit feature requests
Documentation
User Guides
- How to Bridge to ChainID 138: Step-by-step bridge guide
- How to Swap on ChainID 138: Step-by-step swap guide
- How to Fund ChainID 138: Funding options guide
Developer Guides
- Bridge Integration: How to integrate bridges
- DEX Integration: How to integrate DEXs
- On-Ramp Integration: How to integrate on-ramps