feat(networks): support ledger for ajuna (#1682)

* chore(hw-ledger): update ledger-substrate to latest

* feat(networks): support ledger for ajuna
This commit is contained in:
Carlo
2022-12-02 09:04:58 +02:00
committed by GitHub
parent 16ea0d2ddb
commit 928eef865a
5 changed files with 11 additions and 6 deletions
+1 -1
View File
@@ -26,6 +26,6 @@
"@ledgerhq/hw-transport": "^6.27.7",
"@polkadot/hw-ledger-transports": "10.1.14",
"@polkadot/util": "10.1.14",
"@zondax/ledger-substrate": "^0.40.1"
"@zondax/ledger-substrate": "^0.40.2"
}
}
+1
View File
@@ -5,6 +5,7 @@
// and maps to the known name in the @zondax/ledger-substrate/supported_apps package
export const ledgerApps: Record<string, string> = {
acala: 'Acala',
ajuna: 'Ajuna',
'aleph-node': 'AlephZero',
astar: 'Astar',
bifrost: 'Bifrost',
@@ -11,6 +11,9 @@ export const knownGenesis: KnownGenesis = {
acala: [
'0xfc41b9bd8ef8fe53d58c7ea67c794c7ec9a73daf05e6d54b14ff6342c99ba64c'
],
ajuna: [
'0xe358eb1d11b31255a286c12e44fe6780b7edb171d657905a97e39f71d9c6c3ee'
],
'aleph-node': [
'0x70255b4d28de0fc4e1a193d7e175ad1ccef431598211c55538f1018651a0344e'
],
+1
View File
@@ -9,6 +9,7 @@ import type { KnownLedger } from '../types';
// NOTE: Any network here needs to have a genesisHash attached in the ./genesis.ts config
export const knownLedger: KnownLedger = {
acala: 0x00000313,
ajuna: 0x00000162,
'aleph-node': 0x00000283,
astar: 0x0000032a,
bifrost: 0x00000314,
+5 -5
View File
@@ -2229,7 +2229,7 @@ __metadata:
"@ledgerhq/hw-transport": ^6.27.7
"@polkadot/hw-ledger-transports": 10.1.14
"@polkadot/util": 10.1.14
"@zondax/ledger-substrate": ^0.40.1
"@zondax/ledger-substrate": ^0.40.2
languageName: unknown
linkType: soft
@@ -3444,9 +3444,9 @@ __metadata:
languageName: node
linkType: hard
"@zondax/ledger-substrate@npm:^0.40.1":
version: 0.40.1
resolution: "@zondax/ledger-substrate@npm:0.40.1"
"@zondax/ledger-substrate@npm:^0.40.2":
version: 0.40.2
resolution: "@zondax/ledger-substrate@npm:0.40.2"
dependencies:
"@babel/runtime": ^7.18.9
"@ledgerhq/hw-transport": 6.27.1
@@ -3459,7 +3459,7 @@ __metadata:
hash.js: ^1.1.7
bin:
ledger-substrate: dist/cmd/cli.js
checksum: aba9d0d6afa3325a7538b5a980f1c72fc1df431cd76e4d7be0b47135eb089da0a299c720db03b3aad06dd2bfefd91cdad77ca72832a2c94464094384a12a7dfb
checksum: 08c8f6f24cfb852cedbf796e118d3975f233852f55a6b87332fde81bff0f8f1ba6f9084214fb0da310e4bdf1026dc5f39f6c3923135ddd469591e387f46b0b1d
languageName: node
linkType: hard