Skip to main content

KeytoolSigner

@iota/identity-wasm API documentation


Class: KeytoolSigner

An implementation of the Signer interface that relies on IOTA Keytool.

Constructors​

new KeytoolSigner()​

new KeytoolSigner(address?, iota_bin_location?): KeytoolSigner

Returns a new KeytoolSigner. The optional parameters respectively allow to set the signing address and the iota binary to use. Defaults to use the current active address and the binary found in $PATH.

Parameters​

address?​

null | string

iota_bin_location?​

null | string

Returns​

KeytoolSigner

Methods​

address()​

address(): string

Returns the signing address.

Returns​

string