42 lines
1.9 KiB
Markdown
42 lines
1.9 KiB
Markdown
# Trust Wallet Integration — Chain 138 (Defi Oracle Meta Mainnet)
|
||
|
||
**Status:** ✅ Completed (materials ready for Wallet Core PR)
|
||
|
||
This repository holds materials for adding **Defi Oracle Meta Mainnet (Chain ID 138)** to Trust Wallet: registry entry, docs, and any patches for [trustwallet/wallet-core](https://github.com/trustwallet/wallet-core).
|
||
|
||
## Repository
|
||
|
||
- **Remote:** https://github.com/bis-innovations/TrustWallet_Integrations.git
|
||
- **Canonical path:** `~/projects/TrustWallet-Integration` (sibling to `proxmox`)
|
||
|
||
## Contents
|
||
|
||
- **README.md** (this file)
|
||
- **registry-entry-chain138.json** — Suggested `registry.json` entry for wallet-core; use with Trust’s [New EVM-compatible chain](https://developer.trustwallet.com/developer/wallet-core/newblockchain/newevmchain) steps.
|
||
|
||
## Usage
|
||
|
||
1. Clone [trustwallet/wallet-core](https://github.com/trustwallet/wallet-core).
|
||
2. Add the content of `registry-entry-chain138.json` to `registry.json` (appropriate position for EVM chains).
|
||
3. Run: `cd codegen-v2 && cargo run -- new-evmchain <chain>` (see Trust docs for exact CLI).
|
||
4. Extend derivation tests, build, and open a PR to wallet-core.
|
||
|
||
## Chain 138 spec (quick reference)
|
||
|
||
| Field | Value |
|
||
|-------|--------|
|
||
| Chain name | Defi Oracle Meta Mainnet |
|
||
| Chain ID | 138 (0x8a) |
|
||
| Derivation | m/44'/60'/0'/0/0 |
|
||
| CoinID | 10000138 (10000000 + chainId) |
|
||
| RPC | https://rpc-http-pub.d-bis.org, https://rpc.d-bis.org |
|
||
| Explorer | https://explorer.d-bis.org |
|
||
|
||
## Documentation (proxmox workspace)
|
||
|
||
Full user steps, Wallet Core PR process, and rationale:
|
||
|
||
- **Add Chain 138 to Trust Wallet:** `proxmox/docs/04-configuration/ADD_CHAIN138_TO_TRUST_WALLET.md`
|
||
- **Wallet ecosystem (why Snap, Ledger Live, Trust):** `proxmox/docs/04-configuration/CHAIN138_WALLET_ECOSYSTEM_AND_RATIONALE.md`
|
||
- **Repo layout (all wallet repos in ~/projects/):** `proxmox/docs/04-configuration/CHAIN138_WALLET_REPOSITORIES.md`
|