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:
31
step-05-api/rpc-explorer-config.ts
Normal file
31
step-05-api/rpc-explorer-config.ts
Normal 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;
|
||||
Reference in New Issue
Block a user