Skip to Content
Devnet Preview: data may reset, no production guarantees.
SDK ReferenceLegacy Functions

Legacy Functions

Deprecated in v0.9.0. computeBeat() and computeBeatsLite() are deprecated. The server now handles sequential hash chain computation internally. Use agent.heartbeat() instead. These functions emit a console.warn when called and will be removed in v1.0.

computeBeat() — Deprecated

Compute a single sequential hash chain beat locally. No longer required — heartbeat() handles this server-side.

import { computeBeat } from '@provenonce/sdk'; // console.warn: computeBeat() is deprecated. Use agent.heartbeat() instead. const beat = computeBeat('0xprev...', 1, 1000, undefined, '0xanchor...');

computeBeatsLite() — Deprecated

Compute N sequential beats locally. No longer required — heartbeat() handles this server-side.

import { computeBeatsLite } from '@provenonce/sdk'; // console.warn: computeBeatsLite() is deprecated. Use agent.heartbeat() instead. const { lastBeat, elapsed } = computeBeatsLite('0xstart...', 0, 100, 1000, '0xanchor...');

generateWalletKeypair() — Removed

Removed in v0.14.0. Self-custody wallet generation (Model A) was removed. Use an existing wallet (Model B / operator) or register without a wallet. See the register reference for current wallet options.

Last updated on