feat: added frontage service

This commit is contained in:
Mikhail Gladchenko
2024-03-29 08:49:00 +00:00
parent d17fed1e9e
commit 57474d2872
10 changed files with 148 additions and 3 deletions

View File

@@ -11,7 +11,7 @@ import Exchange from './Exchange/index.js';
import { chains, envs } from '../config';
import type { networkCodes } from '../constants/index.js';
import { IndexerService } from '../services/Indexer';
import Pmm from "./Pmm";
import Pmm from './Pmm';
type KnownConfig = {
env: KnownEnv
@@ -88,6 +88,9 @@ export default class Unit {
indexer: {
api: networkConfig.api + networkConfig.services.indexer?.http,
},
frontage: {
api: networkConfig.api + networkConfig.services.frontage.http,
},
},
};
} else {