Hub JS Package

Hub JS Package

  • Users
  • Buckets
  • Threads
  • Textile Docs

@textile/hub > privateKeyToString

privateKeyToString() function

Encode the given PrivateKey to its base-32 encoded multibase representation.

Signature:

export declare function privateKeyToString(key: Private): string;

Parameters

ParameterTypeDescription
keyPrivateThe input PrivateKey.

Returns:

string

  • privateKeyToString() function
  • Parameters
Hub JS Package
Docs
Getting StartedThreadDBBuckets
Resources
All DocumentationProject SlackBlog
More
GitHubStar
Follow @textileio