diff --git a/src/endpoints/dapp-config/dapp.config.service.ts b/src/endpoints/dapp-config/dapp.config.service.ts index 88db605cf..0e19832e8 100644 --- a/src/endpoints/dapp-config/dapp.config.service.ts +++ b/src/endpoints/dapp-config/dapp.config.service.ts @@ -25,6 +25,16 @@ export class DappConfigService { const chainId = networkConfig.erd_chain_id; const overrides: Partial = {}; + + //TODO: remove after battle of nodes + if (chainId === 'B') { + overrides.walletAddress = "https://bon-wallet.multiversx.com"; + overrides.apiAddress = "https://api.battleofnodes.com"; + overrides.explorerAddress = "https://bon-explorer.multiversx.com"; + overrides.id = "bon"; + overrides.name = "BattleOfNodes"; + } + if (refreshRate != null) { overrides.refreshRate = refreshRate; }