@taquito/taquito
Version:
High level functionality that builds upon the other packages in the Tezos Typescript Library Suite.
14 lines (13 loc) • 665 B
TypeScript
import { TezosToolkit } from './taquito';
/**
*
* @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.com/
* @param toolkit The toolkit instance to attach a signer
* @param privateKeyOrEmail Key to load in memory
* @param passphrase If the key is encrypted passphrase to decrypt it
* @param mnemonic Faucet mnemonic
* @param secret Faucet secret
*/
export declare function importKey(toolkit: TezosToolkit, privateKeyOrEmail: string, passphrase?: string, mnemonic?: string, secret?: string): Promise<void>;