Skip to content

Commit 58eae3e

Browse files
authored
Merge pull request #1591 from multiversx/bon-dapp-config
hardcode bon dapp config
2 parents bb8b755 + 9dde19d commit 58eae3e

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

src/endpoints/dapp-config/dapp.config.service.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,16 @@ export class DappConfigService {
2525
const chainId = networkConfig.erd_chain_id;
2626

2727
const overrides: Partial<DappConfig> = {};
28+
29+
//TODO: remove after battle of nodes
30+
if (chainId === 'B') {
31+
overrides.walletAddress = "https://bon-wallet.multiversx.com";
32+
overrides.apiAddress = "https://api.battleofnodes.com";
33+
overrides.explorerAddress = "https://bon-explorer.multiversx.com";
34+
overrides.id = "bon";
35+
overrides.name = "BattleOfNodes";
36+
}
37+
2838
if (refreshRate != null) {
2939
overrides.refreshRate = refreshRate;
3040
}

0 commit comments

Comments
 (0)