diff options
Diffstat (limited to 'packages/types/src/index.ts')
-rw-r--r-- | packages/types/src/index.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/types/src/index.ts b/packages/types/src/index.ts index 7774b61b0..fa634420d 100644 --- a/packages/types/src/index.ts +++ b/packages/types/src/index.ts @@ -143,6 +143,17 @@ export enum SignatureType { } /** + * The type of the Signer implementation. Some signer implementations use different message prefixes (e.g Trezor) or implement different + * eth_sign behaviour (e.g Metamask). Default assumes a spec compliant `eth_sign`. + */ +export enum SignerType { + Default = 'DEFAULT', + Ledger = 'LEDGER', + Metamask = 'METAMASK', + Trezor = 'TREZOR', +} + +/** * Elliptic Curve signature */ export interface ECSignature { |