mirror of
https://github.com/pezkuwichain/pezkuwi-extension.git
synced 2026-07-06 20:47:23 +00:00
15 lines
347 B
TypeScript
15 lines
347 B
TypeScript
// Copyright 2019-2025 @pezkuwi/extension-ui authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import chains from './chains.js';
|
|
|
|
export default function getNetworkMap (): Map<string, string> {
|
|
const res = new Map<string, string>();
|
|
|
|
chains.forEach((chain) => {
|
|
res.set(chain.genesisHash, chain.chain);
|
|
});
|
|
|
|
return res;
|
|
}
|