Options
All
  • Public
  • Public/Protected
  • All
Menu

Module @taquito/signer

Index

Namespaces

Error Classes

Other Classes

Interfaces

Type aliases

Variables

Functions

Type aliases

Curves

Curves: "ed25519" | "secp256k1" | "p256" | "bip25519"

Variables

Const Hard

Hard: 2147483648 = 0x80000000

Const VERSION

VERSION: { commitHash: string; version: string } = ...

Type declaration

  • commitHash: string
  • version: string

Functions

Const generateSecretKey

  • generateSecretKey(seed: Uint8Array, derivationPath: string, curve: Curves): string
  • throws

    {@link InvalidCurveError} | {@link ToBeImplemented}

    Parameters

    • seed: Uint8Array

      bip39.mnemonicToSeed

    • derivationPath: string

      Tezos Requirement 44'/1729' for HD key address default 44'/1729'/0'/0'

    • curve: Curves

      'ed25519' | 'secp256k1' | 'p256''

    Returns string

    final Derivation of HD keys tezos Secret key

importKey

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

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

    warn

    The JSON faucets are no longer available on https://teztnets.xyz/

    Parameters

    • toolkit: TezosToolkit

      The toolkit instance to attach a signer

    • privateKeyOrEmail: string

      Key to load in memory

    • Optional passphrase: string

      If the key is encrypted passphrase to decrypt it

    • Optional mnemonic: string

      Faucet mnemonic

    • Optional secret: string

      Faucet secret

    Returns Promise<void>

Generated using TypeDoc