Skip to main content

Function: contractSalt()

contractSalt(passkeyPublicKey): Buffer
Defined in: packages/accounts/src/oz-contract/resolveAddress.ts:26 MUST match facilitator contractSalt: sha256(pubkeyBytes). Uses the stellar-sdk’s isomorphic hash (NOT node:crypto) so the SDK runs in the browser - same SHA-256 as the facilitator, so the derivation stays byte-identical.

Parameters

passkeyPublicKey

string

Returns

Buffer