mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-04-04 03:58:00 +03:00
629 B
629 B
Orion Verbose configuration
const orion = new Orion({
analyticsAPI: "https://analytics-api.orionprotocol.io",
referralAPI: "https://referral-api.orionprotocol.io",
networks: {
1: {
chainId: SupportedChainId.MAINNET,
nodeJsonRpc: "https://cloudflare-eth.com/",
services: {
orionBlockchain: {
http: "http://localhost:3000",
},
orionAggregator: {
http: "http://localhost:3001/backend",
ws: "http://localhost:3001/v1",
},
priceFeed: {
api: "http://localhost:3002/price-feed",
},
},
},
},
});