feat(networks): add statemint to KnownLedger (#1467)

* feat(networks): add statemint

* feat(hw-ledger): add statemint
This commit is contained in:
Carlo Sala
2022-04-27 20:21:27 +03:00
committed by GitHub
parent ff27055808
commit 4249679882
3 changed files with 6 additions and 1 deletions
+2 -1
View File
@@ -4,7 +4,7 @@
import type Transport from '@ledgerhq/hw-transport';
import type { SubstrateApp } from '@zondax/ledger-substrate';
import { newBifrostApp, newCentrifugeApp, newDockApp, newEdgewareApp, newEquilibriumApp, newGenshiroApp, newKusamaApp, newNodleApp, newPolkadotApp, newPolymeshApp, newSoraApp, newStatemineApp, newXXNetworkApp } from '@zondax/ledger-substrate';
import { newBifrostApp, newCentrifugeApp, newDockApp, newEdgewareApp, newEquilibriumApp, newGenshiroApp, newKusamaApp, newNodleApp, newPolkadotApp, newPolymeshApp, newSoraApp, newStatemineApp, newStatemintApp, newXXNetworkApp } from '@zondax/ledger-substrate';
// These match up with the keys of the knownLedger object in the @polkadot/networks/defaults/ledger.ts
export const ledgerApps: Record<string, (transport: Transport) => SubstrateApp> = {
@@ -20,5 +20,6 @@ export const ledgerApps: Record<string, (transport: Transport) => SubstrateApp>
polymesh: newPolymeshApp,
sora: newSoraApp,
statemine: newStatemineApp,
statemint: newStatemintApp,
xxnetwork: newXXNetworkApp
};
@@ -87,6 +87,9 @@ export const knownGenesis: KnownGenesis = {
statemine: [
'0x48239ef607d7928874027a43a67689209727dfb3d3dc5e5b03a39bdc2eda771a'
],
statemint: [
'0x68d56f15f85d3136970ec16946040bc1752654e906147f7e43e9d539d7c3de2f'
],
subsocial: [
'0x0bd72c1c305172e1275278aaeb3f161e02eccb7a819e63f62d47bd53a28189f8'
],
+1
View File
@@ -20,5 +20,6 @@ export const knownLedger: KnownLedger = {
polymesh: 0x00000253,
sora: 0x00000269,
statemine: 0x000001b2, // common-good on Kusama, shares derivation
statemint: 0x00000162, // common-good on Polkadot, shares derivation
xxnetwork: 0x000007a3
};