Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Heath Ledger: Add Ledger wallet support #205

Merged
merged 56 commits into from Aug 6, 2020
Merged

Heath Ledger: Add Ledger wallet support #205

merged 56 commits into from Aug 6, 2020

Commits on Apr 3, 2020

  1. Configuration menu
    Copy the full SHA
    18d65bd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0c615d5 View commit details
    Browse the repository at this point in the history
  3. Begin documenting the process of testing the hardware wallets

    Feeling kinda documenting, might delete later.
    liamzebedee committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    afaec4e View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2020

  1. Configuration menu
    Copy the full SHA
    0b9cdac View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e2302ae View commit details
    Browse the repository at this point in the history
  3. Rewrite LedgerConnector to use 0x LedgerSubprovider

    The 0x API's are generally of a higher engineering quality. The exceptions encapsulate the error cases better, and they also manage the Ledger Transport lifecycle, which was a flaw of the previous implementation. We use them in keep-core too.
    liamzebedee committed Apr 6, 2020
    Configuration menu
    Copy the full SHA
    739304a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d26756e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    50d39d7 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ce2e747 View commit details
    Browse the repository at this point in the history
  7. Add @0x/subproviders, upgrade @ledgerhq/hw-app-eth

    We use @0x/subproviders for the Ledger/Trezor integration.
    
    @ledgerhq/hw-app-eth is being upgraded as an older version was installed by accident.
    liamzebedee committed Apr 6, 2020
    Configuration menu
    Copy the full SHA
    621773c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6fd969f View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c73798a View commit details
    Browse the repository at this point in the history
  10. Add Ledger-specific connection instructions

    "Stolen" from the Compound dApp. We'll leave these here as a placeholder, until we get the real UX in.
    liamzebedee committed Apr 6, 2020
    Configuration menu
    Copy the full SHA
    e25fc67 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    847449a View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2020

  1. Fix Ledger signing issues when chainId > 255

    This introduces a custom LedgerSubprovider, which mitigates the existing 0x LedgerSubprovider's failure to produce the correct transaction signature values.
    liamzebedee committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    eed6c41 View commit details
    Browse the repository at this point in the history
  2. Refactor chooseWallet code

    Colocate connector with other wallet info
    liamzebedee committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    060c590 View commit details
    Browse the repository at this point in the history
  3. Remove SUPPORTED_CHAIN_IDS

    We don't need this anymore - it was only supported by InjectedConnector and didn't appear to be useful for our case anyways.
    liamzebedee committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    7858457 View commit details
    Browse the repository at this point in the history
  4. Pass around chosenWallet object instead of name/connector combo.

    This is simpler and a bit more efficient.
    liamzebedee committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    f7c1541 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c304689 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2c101b2 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    21c23d1 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    963a196 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    b034861 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    8721d37 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    cc21880 View commit details
    Browse the repository at this point in the history
  12. Update package-lock

    liamzebedee committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    96f7836 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2020

  1. Update doc

    liamzebedee committed Apr 16, 2020
    Configuration menu
    Copy the full SHA
    5c53568 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b29b682 View commit details
    Browse the repository at this point in the history
  3. Add Trezor wallet connector

    There's a known issue that Trezor's API will throw for larger network ID's. Next commit should fix that.
    liamzebedee committed Apr 16, 2020
    Configuration menu
    Copy the full SHA
    0d36816 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2020

  1. Add custom Trezor subprovider

    Much like our Ledger subprovider, this provider mitigates issues with the Trezor subprovider provided by 0x - namely, chainId's < 255 are not supported.
    liamzebedee committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    b38594d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bd18333 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9f81151 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    af5d9cd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    eb9e46d View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2020

  1. Configuration menu
    Copy the full SHA
    a3c78da View commit details
    Browse the repository at this point in the history
  2. Add a defaultAccount field to the TrezorConnector

    The `AbstractConnector` returns only first account by default. With our
    custom implementation of `TrezorConnector` allows users to get eg. 15
    accounts and sotres the selected account. The `TrezorConnector`
    overrides a `getAccount` fn from the `AbstractConnector`, and this
    function returns a selected account instead of the first account.
    r-czajkowski committed Jun 26, 2020
    Configuration menu
    Copy the full SHA
    9ae4508 View commit details
    Browse the repository at this point in the history
  3. Add ChooseAccount component

    The ChooseAccount component allows user to choose a any address from the
    hardware wallet.
    r-czajkowski committed Jun 26, 2020
    Configuration menu
    Copy the full SHA
    f7743bd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    be8ef0c View commit details
    Browse the repository at this point in the history
  5. Add commons styles

    r-czajkowski committed Jun 26, 2020
    Configuration menu
    Copy the full SHA
    b061f3f View commit details
    Browse the repository at this point in the history
  6. Extract components

    Extracted the components from the `ConnectWalletDialog` component into separate
    functional components.
    r-czajkowski committed Jun 26, 2020
    Configuration menu
    Copy the full SHA
    81438cb View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2020

  1. Configuration menu
    Copy the full SHA
    24a229c View commit details
    Browse the repository at this point in the history
  2. Pass a number of accounts to the getAccounts fn

    Pass a number of accounts arg to the `getAccounts` fn in the trezor
    provider and set to default value (15).
    r-czajkowski committed Jun 29, 2020
    Configuration menu
    Copy the full SHA
    da79c34 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a5f77d6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    92d57e8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d6e2cfe View commit details
    Browse the repository at this point in the history
  6. Cleanup in the ledger_subprovider.js

    Removed unused variables, used a common functions.
    r-czajkowski committed Jun 29, 2020
    Configuration menu
    Copy the full SHA
    fb516a1 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2020

  1. Configuration menu
    Copy the full SHA
    d7928e7 View commit details
    Browse the repository at this point in the history
  2. Update ledger name check

    ironng committed Jul 3, 2020
    Configuration menu
    Copy the full SHA
    0ea3d33 View commit details
    Browse the repository at this point in the history
  3. Address nits

    Simplify default assignment and use specific type for
    param in jsdoc
    ironng committed Jul 3, 2020
    Configuration menu
    Copy the full SHA
    f5d9a04 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #206 from keep-network/tresor-317-integration

    Add Trezor wallet connector
    ironng committed Jul 3, 2020
    Configuration menu
    Copy the full SHA
    6753685 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1d84561 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2020

  1. Configuration menu
    Copy the full SHA
    4e3946d View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2020

  1. Configuration menu
    Copy the full SHA
    fc20c9d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4cc34fb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    00042dd View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2020

  1. Configuration menu
    Copy the full SHA
    a06cb50 View commit details
    Browse the repository at this point in the history