Skip to content

Type alias: AnonymousSDKConstructor()

AnonymousSDKConstructor: (args?) => AnonymousSDK

Parameters

args?

args.apiURL?: string

The Seald server URL to use.

args.scrypt?: SCrypt

To manually pass an SCrypt implementation to override the current SDK's default implementation. Must take a Buffer for password, another Buffer for salt, derive them with SCrypt with parameters N=16384, r=8, p=1, an output length of 64 bytes, and return the output as a binary Buffer. For advanced use only.

args.sscrypto?: SSCrypto

To manually pass an SSCrypto implementation to override the current SDK's default implementation. For advanced use only.

Returns

AnonymousSDK