Skip to content
Sur cette page

Type alias: AnonymousSDKConstructor

AnonymousSDKConstructor: (args?) => AnonymousSDK

Parameters

ParameterTypeDescription
args?object-
args.apiURL?stringThe Seald server URL to use.
args.scrypt?SCryptTo 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?SSCryptoTo manually pass an SSCrypto implementation to override the current SDK's default implementation. For advanced use only.

Returns

AnonymousSDK