Assets and balances
A local balance reflects the records loaded into the SDK. Read private records with
@arcanetech/privacy-sdk-data-layer, then check each incoming note before treating the balance as complete. Asset metadata comes from your integration’s catalog; it is not inferred from a symbol such as USDC.
Pool and recipient lookups
Prefer the network lookup methods for a standard integration. The write methods accept data; they do not fetch or independently establish its freshness.
Private addresses
These methods store values produced by the wallet’s private-address setup. They do not generate the values. Keep private scalars out of source code, logs, and shared configuration.
Check an incoming note
Decrypt the note in your application, then callassessIncomingNote before upsertPrivateRecords. Add the record only when the verdict is spendable.
Pass
poolContractId when the note belongs to a pool other than the pool on the client. Set note.application_id when that note was opened for an application other than the one configured on the client.
Updates after a transaction
Execution writes operation results into SDK state. See Transaction lifecycle for the storage stage. Preserving those changes across reloads remains part of your application’s storage integration.Environment configuration
Use Set up the SDK for application IDs, audit keys, network contracts, and service configuration. An environment’s pool, registry, application, and services must be compatible; do not mix frontend and backend demo values.Isolated examples
Some operation guides include aSeed state block with fixture addresses and records. Those blocks illustrate method inputs; replace them with account setup, network lookups, and restored records for a live integration.