130 lines
3.4 KiB
Markdown
130 lines
3.4 KiB
Markdown
|
|
# MetaMask Integration - ChainID 138
|
||
|
|
|
||
|
|
**Repository**: [Defi-Oracle-Meta-Blockchain/metamask-integration](https://github.com/Defi-Oracle-Meta-Blockchain/metamask-integration)
|
||
|
|
**Network**: SMOM-DBIS-138 (ChainID 138)
|
||
|
|
**Status**: ✅ Complete and Production Ready
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## 📋 Overview
|
||
|
|
|
||
|
|
This repository contains all MetaMask integration components for ChainID 138, including:
|
||
|
|
- Network configuration
|
||
|
|
- Token lists
|
||
|
|
- Price feed integration
|
||
|
|
- Documentation
|
||
|
|
- Examples
|
||
|
|
- Scripts
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## 🚀 Quick Start
|
||
|
|
|
||
|
|
See [Quick Start Guide](./docs/METAMASK_QUICK_START_GUIDE.md) for 5-minute setup instructions.
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## 📁 Repository Structure
|
||
|
|
|
||
|
|
```
|
||
|
|
metamask-integration/
|
||
|
|
├── docs/ # Documentation
|
||
|
|
│ ├── METAMASK_QUICK_START_GUIDE.md
|
||
|
|
│ ├── METAMASK_TROUBLESHOOTING_GUIDE.md
|
||
|
|
│ ├── METAMASK_FULL_INTEGRATION_REQUIREMENTS.md
|
||
|
|
│ ├── METAMASK_ORACLE_INTEGRATION.md
|
||
|
|
│ ├── METAMASK_TOKEN_LIST_HOSTING.md
|
||
|
|
│ ├── METAMASK_WETH9_DISPLAY_BUG.md
|
||
|
|
│ ├── METAMASK_WETH9_FIX_INSTRUCTIONS.md
|
||
|
|
│ ├── METAMASK_INTEGRATION_COMPLETE.md
|
||
|
|
│ ├── METAMASK_NETWORK_CONFIG.json
|
||
|
|
│ └── METAMASK_TOKEN_LIST.json
|
||
|
|
├── scripts/ # Automation scripts
|
||
|
|
│ ├── setup-metamask-integration.sh
|
||
|
|
│ ├── test-metamask-integration.sh
|
||
|
|
│ └── host-token-list.sh
|
||
|
|
├── examples/ # Example dApps
|
||
|
|
│ ├── wallet-connect.html
|
||
|
|
│ └── metamask-price-feed.html
|
||
|
|
├── config/ # Configuration files
|
||
|
|
│ └── token-list.json
|
||
|
|
└── README.md
|
||
|
|
```
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## 📚 Documentation
|
||
|
|
|
||
|
|
### Getting Started
|
||
|
|
- [Quick Start Guide](./docs/METAMASK_QUICK_START_GUIDE.md) - 5-minute setup
|
||
|
|
- [Full Integration Requirements](./docs/METAMASK_FULL_INTEGRATION_REQUIREMENTS.md) - Complete checklist
|
||
|
|
|
||
|
|
### Integration Guides
|
||
|
|
- [Oracle Integration](./docs/METAMASK_ORACLE_INTEGRATION.md) - Price feed integration
|
||
|
|
- [Token List Hosting](./docs/METAMASK_TOKEN_LIST_HOSTING.md) - Deployment guide
|
||
|
|
|
||
|
|
### Troubleshooting
|
||
|
|
- [Troubleshooting Guide](./docs/METAMASK_TROUBLESHOOTING_GUIDE.md) - Common issues
|
||
|
|
- [WETH9 Display Fix](./docs/METAMASK_WETH9_FIX_INSTRUCTIONS.md) - Display bug fix
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## 🔧 Configuration
|
||
|
|
|
||
|
|
### Network Configuration
|
||
|
|
- **Chain ID**: 138
|
||
|
|
- **RPC URL**: `https://rpc-core.d-bis.org`
|
||
|
|
- **Block Explorer**: `https://explorer.d-bis.org`
|
||
|
|
- **Native Currency**: ETH (18 decimals)
|
||
|
|
|
||
|
|
### Token List
|
||
|
|
- **WETH9**: `0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2`
|
||
|
|
- **WETH10**: `0xf4BB2e28688e89fCcE3c0580D37d36A7672E8A9f`
|
||
|
|
- **Oracle Proxy**: `0x3304b747e565a97ec8ac220b0b6a1f6ffdb837e6`
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## 🚀 Deployment
|
||
|
|
|
||
|
|
### Token List Hosting
|
||
|
|
|
||
|
|
The token list can be hosted on:
|
||
|
|
- **GitHub Pages** (recommended)
|
||
|
|
- **IPFS** (decentralized)
|
||
|
|
- **Custom Domain** (professional)
|
||
|
|
|
||
|
|
See [Token List Hosting Guide](./docs/METAMASK_TOKEN_LIST_HOSTING.md) for details.
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## 📊 Status
|
||
|
|
|
||
|
|
**Integration Status**: ✅ **100% Complete**
|
||
|
|
|
||
|
|
- ✅ Network configuration
|
||
|
|
- ✅ Token list with all tokens
|
||
|
|
- ✅ Price feed integration
|
||
|
|
- ✅ Comprehensive documentation
|
||
|
|
- ✅ Example dApps
|
||
|
|
- ✅ Automation scripts
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## 🔗 Related Resources
|
||
|
|
|
||
|
|
- **Main Project**: [proxmox repository](../README.md)
|
||
|
|
- **Network**: ChainID 138 (SMOM-DBIS-138)
|
||
|
|
- **RPC**: https://rpc-core.d-bis.org
|
||
|
|
- **Explorer**: https://explorer.d-bis.org
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## 📝 License
|
||
|
|
|
||
|
|
See parent repository for license information.
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
**Last Updated**: $(date)
|
||
|
|
|