Options
All
  • Public
  • Public/Protected
  • All
Menu

Module @taquito/signer

Index

References

Classes

Variables

Functions

References

importKey

Re-exports importKey

Variables

Const Tz2

Tz2: {} = ECKey.bind(null, 'secp256k1')
description

Tz3 key class using the secp256k1 curve

Type declaration

Const Tz3

Tz3: {} = ECKey.bind(null, 'p256')
description

Tz3 key class using the p256 curve

Type declaration

Functions

importKey

  • importKey(toolkit: any, privateKeyOrEmail: string, passphrase?: undefined | string, mnemonic?: undefined | string, secret?: undefined | string): Promise<void>
  • description

    Import a key to sign operation with the side-effect of setting the Tezos instance to use the InMemorySigner provider

    Parameters

    • toolkit: any

      The toolkit instance to attach a signer

    • privateKeyOrEmail: string

      Key to load in memory

    • Optional passphrase: undefined | string

      If the key is encrypted passphrase to decrypt it

    • Optional mnemonic: undefined | string

      Faucet mnemonic

    • Optional secret: undefined | string

      Faucet secret

    Returns Promise<void>

Generated using TypeDoc