function computeAddress(key): string

Returns the address for the key.

The key may be any standard form of public key or a private key.

Parameters

ParameterTypeDescription
keystring | SigningKeyThe key to compute the address for.

Returns

string

The address.

Source

address/address.ts:107