Files
LedgerLive/step-05-api/rpc-explorer-config.ts

32 lines
879 B
TypeScript
Raw Normal View History

/**
* 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;