Skip to content

Commit

Permalink
Add Vara support to Generic Ledger App (#1958)
Browse files Browse the repository at this point in the history
* add 'Vara' support to the Generic Ledger App

* add 'Vara Testnet' support to the Generic Ledger App

* remove testnet entry
  • Loading branch information
breathx authored Nov 5, 2024
1 parent 6ec0990 commit be9739e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/hw-ledger/src/defaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ export const genericLedgerApps = {
encointer: 'Encointer',
frequency: 'Frequency',
integritee: 'Integritee',
polimec: 'Polimec'
polimec: 'Polimec',
vara: 'Vara'
};

// These match up with the keys of the knownLedger object in the @polkadot/networks/defaults/ledger.ts
Expand Down
3 changes: 3 additions & 0 deletions packages/networks/src/defaults/genesis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,9 @@ export const knownGenesis: KnownGenesis = {
unique: [
'0x84322d9cddbf35088f1e54e9a85c967a41a56a4f43445768125e61af166c7d31'
],
vara: [
'0xfe1b4c55fd4d668101126434206571a7838a8b6b93a6d1b95d607e78e6c53763'
],
vtb: [
'0x286bc8414c7000ce1d6ee6a834e29a54c1784814b76243eb77ed0b2c5573c60f',
'0x7483b89572fb2bd687c7b9a93b242d0b237f9aba463aba07ec24503931038aaa'
Expand Down
1 change: 1 addition & 0 deletions packages/networks/src/defaults/ledger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export const knownLedger: KnownLedger = {
statemint: 0x00000162, // common-good on Polkadot, shares derivation
ternoa: 0x00003e3,
unique: 0x00000295,
vara: 0x00001370,
vtb: 0x000002b6,
xxnetwork: 0x000007a3,
zeitgeist: 0x00000162
Expand Down

0 comments on commit be9739e

Please sign in to comment.