added equilibrium slip44; added equilibrium genesis hash (#984)

* added equilibrium slip44; added equilibrium genesis hash

* added equilibrium app in ledger-polkadot package

Co-authored-by: Alex D <pr0fedt@gmail.com>
This commit is contained in:
alexdniep
2021-05-25 13:27:02 +02:00
committed by GitHub
co-authored by Alex D
parent 13d7dcfef5
commit cff15f9027
4 changed files with 12 additions and 7 deletions
+1 -1
View File
@@ -19,6 +19,6 @@
"@babel/runtime": "^7.14.0",
"@polkadot/hw-ledger-transports": "6.5.1",
"@polkadot/util": "^6.5.1",
"@zondax/ledger-polkadot": "^0.13.8"
"@zondax/ledger-polkadot": "^0.14.0"
}
}
+2 -1
View File
@@ -4,13 +4,14 @@
import type Transport from '@ledgerhq/hw-transport';
import type { SubstrateApp } from '@zondax/ledger-polkadot';
import { newDockApp, newKusamaApp, newPolkadotApp, newPolymeshApp } from '@zondax/ledger-polkadot';
import { newDockApp, newEquilibriumApp, newKusamaApp, newPolkadotApp, newPolymeshApp } from '@zondax/ledger-polkadot';
// These match up with the network keys in the @polkadot/networks package
// (which is turn aligns with the substrate/ss58-registry.json as the single
// source of truth)
export const ledgerApps: Record<string, (transport: Transport) => SubstrateApp> = {
'dock-mainnet': newDockApp,
equilibrium: newEquilibriumApp,
kusama: newKusamaApp,
polkadot: newPolkadotApp,
polymesh: newPolymeshApp
+4
View File
@@ -14,6 +14,9 @@ export const knownGenesis: KnownGenesis = {
edgeware: [
'0x742a2ca70c2fda6cee4f8df98d64c4c670a052d9568058982dad9d5a7a135c5b'
],
equilibrium: [
'0x6f1a800de3daff7f5e037ddf66ab22ce03ab91874debeddb1086f5f7dbd48925'
],
hydradx: [
'0xd2a620c27ec5cbc5621ff9a522689895074f7cca0d08e7134a7804e1a3ba86fc', // Snakenet Gen3-1
'0x10af6e84234477d84dc572bac0789813b254aa490767ed06fb9591191d1073f9', // Snakenet Gen3
@@ -51,6 +54,7 @@ export const knownIcon: KnownIcon = {
// support for ledger
export const knownLedger: KnownLedger = {
'dock-mainnet': 0x00000252,
equilibrium: 0x05f5e0fd,
kusama: 0x000001b2,
polkadot: 0x00000162,
polymesh: 0x00000253
+5 -5
View File
@@ -2022,7 +2022,7 @@ __metadata:
"@babel/runtime": ^7.14.0
"@polkadot/hw-ledger-transports": 6.5.1
"@polkadot/util": ^6.5.1
"@zondax/ledger-polkadot": ^0.13.8
"@zondax/ledger-polkadot": ^0.14.0
languageName: unknown
linkType: soft
@@ -2701,9 +2701,9 @@ __metadata:
languageName: node
linkType: hard
"@zondax/ledger-polkadot@npm:^0.13.8":
version: 0.13.8
resolution: "@zondax/ledger-polkadot@npm:0.13.8"
"@zondax/ledger-polkadot@npm:^0.14.0":
version: 0.14.0
resolution: "@zondax/ledger-polkadot@npm:0.14.0"
dependencies:
"@babel/runtime": ^7.13.10
"@ledgerhq/hw-transport": ^5.49.0
@@ -2713,7 +2713,7 @@ __metadata:
blakejs: ^1.1.0
bs58: ^4.0.1
hash.js: ^1.1.7
checksum: 9ccd1fcb2bb427b2231d1e3e32e3cec1fffacce039c48dd2d5312e6e2a26e66f32809fb77325a3f905c494729e91720475a64c40477c44d147d69d628185ad42
checksum: e368140e0877709f2ca6d168b9b7bfc2a6e01cd3315f9d9016be063e2d4522d05596395605e5548c49c4373ac19221cdd698e963205db7dae82f8f105a2b11ab
languageName: node
linkType: hard