Add full Chain 138 integration: 8 steps, chain spec, app-ethereum config, docs

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
defiQUG
2026-02-12 15:57:08 -08:00
parent 17020ba236
commit bee1d29d55
33 changed files with 1444 additions and 1 deletions

View File

@@ -0,0 +1,31 @@
/**
* Step 5 — API: RPC and Explorer config for Ledger Wallet / coin-module
* Target: ledger-live config or env; Ledger may use this for their indexer/RPC.
*
* Chain 138 public endpoints. Provide these to Ledger when they ask for API/RPC.
*/
export const CHAIN_ID = 138;
export const RPC_ENDPOINTS = [
"https://rpc-http-pub.d-bis.org",
"wss://rpc-ws-pub.d-bis.org",
"https://rpc.d-bis.org",
"wss://rpc.d-bis.org",
"https://rpc2.d-bis.org",
"wss://ws.rpc.d-bis.org",
"wss://ws.rpc2.d-bis.org",
"https://rpc.public-0138.defi-oracle.io",
"wss://rpc.public-0138.defi-oracle.io",
"https://rpc.defi-oracle.io",
"wss://wss.defi-oracle.io",
] as const;
export const EXPLORER = {
name: "Blockscout",
url: "https://explorer.d-bis.org",
standard: "EIP3091",
apiUrl: "https://explorer.d-bis.org/api",
} as const;
export const BLOCK_AVG_TIME_SEC = 2;