Add Polymesh Ledger Integration (#4397)

* Add Polymesh Ledger Integration

* Fix ordering

Co-authored-by: Adam Dossa <adamdossa@Adams-MacBook-Pro.local>
This commit is contained in:
Adam Dossa 2021-01-14 09:44:17 +00:00 committed by GitHub
parent d7bf73ce51
commit d3050ed14c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -22,3 +22,5 @@ export const POLKADOT_DENOM_BLOCK = new BN(1248328);
export const KULUPU_GENESIS = getGenesis('kulupu');
export const DOCK_GENESIS = getGenesis('dock-mainnet');
export const POLYMESH_GENESIS = getGenesis('polymesh');

View File

@ -1,11 +1,12 @@
// Copyright 2017-2021 @polkadot/apps-config authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { DOCK_GENESIS, KUSAMA_GENESIS, POLKADOT_GENESIS } from '../api/constants';
import { DOCK_GENESIS, KUSAMA_GENESIS, POLKADOT_GENESIS, POLYMESH_GENESIS } from '../api/constants';
// mapping of the genesisHash with the actual app name for Ledger
export const ledgerChains = [
[DOCK_GENESIS, 'dock'],
[KUSAMA_GENESIS, 'kusama'],
[POLKADOT_GENESIS, 'polkadot']
[POLKADOT_GENESIS, 'polkadot'],
[POLYMESH_GENESIS, 'polymesh']
];