Files
orionprotocol-sdk/ADVANCED.md
Aleksandr Kraiz 68c535103e Refactoring
2023-02-08 00:35:11 +04:00

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",
        },
      },
    },
  },
});