Skip to content

Commit

Permalink
feat: add Polimec (#1945)
Browse files Browse the repository at this point in the history
  • Loading branch information
lrazovic authored Oct 23, 2024
1 parent 58f12c4 commit 5d6244f
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 @@ -52,7 +52,8 @@ export const prevLedgerRecord: Record<string, string> = {
export const genericLedgerApps = {
bittensor: 'Bittensor',
encointer: 'Encointer',
integritee: 'Integritee'
integritee: 'Integritee',
polimec: 'Polimec'
};

// 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 @@ -124,6 +124,9 @@ export const knownGenesis: KnownGenesis = {
'0x6811a339673c9daa897944dcdac99c6e2939cc88245ed21951a0a3c9a2be75bc',
'0xe8e7f0f4c4f5a00720b4821dbfddefea7490bcf0b19009961cc46957984e2c1c'
],
polimec: [
'0x7eb9354488318e7549c722669dcbdcdc526f1fef1420e7944667212f3601fdbd'
],
polkadex: [
'0x3920bcb4960a1eef5580cd5367ff3f430eef052774f78468852f7b9cb39f8a3c'
],
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 @@ -38,6 +38,7 @@ export const knownLedger: KnownLedger = {
pendulum: 0x00000162,
phala: 0x00000162,
picasso: 0x000001b2,
polimec: 0x00000d10,
polkadex: 0x0000031f,
polkadot: 0x00000162,
polymesh: 0x00000253,
Expand Down

0 comments on commit 5d6244f

Please sign in to comment.