package
0.12.0
Repository: https://github.com/smartcontractkit/mcms.git
Documentation: pkg.go.dev

# README

Notes

  • Lifted from Geth v1.14.7 source code accounts/usbwallet directory.
  • Removed trezor
  • Modified to add EIP 191 support (SignPersonalMessage). The Geth library does not implement EIP 191 intentionally, as it is less secure than its successor EIP 712. However, in the case of MCMS we explicitly want the cross chain replayability possibility of EIP 191. Luckily the ledger communication
    protocol is already fully supported. Aside from adding the new methods to the hub and wallet interfaces, the diff is localized to eip191.go.

# Functions

NewLedgerHub creates a new hardware wallet manager for Ledger devices.

# Constants

LedgerScheme is the protocol scheme prefixing account and wallet URLs.

# Structs

Hub is a accounts.Backend that can find and handle generic USB hardware wallets.