@arcanetech scope. You install presets and state adapters explicitly; no additional cryptography packages are required for browser or Node usage.
Package map
@arcanetech/privacy-sdk-stellar ships bundled runtime assets for browser and Node. Your application passes network configuration, wallet adapter, state adapter, and policy — the preset handles the rest.
Layered architecture
- Core — network-agnostic orchestration: intents, prepare/execute lifecycle, errors, progress events.
- State adapters — pluggable persistence for SDK domain state; work with any frontend or backend storage stack.
- Network presets — chain-specific clients, contract bindings, and state schema extensions.
Entry points and subpaths
Multi-chain (chain-agnostic):
Stellar preset:
Stellar preset
@arcanetech/privacy-sdk-stellar is the first shipped network preset. It targets Stellar with Soroban smart contracts:
- Pool contract — private deposits, transfers, and withdrawals.
- Private-address registry — maps public Stellar accounts to private payment addresses.
- Soroban RPC — submission and confirmation.
createStellarPrivacyClient()— main browser entrypoint.
Bootstrap helpers:
loadDefaultStellarBrowserAssets()— bundled runtime assets for the browser.transactEnvironment— network, KYT, and transaction signing hooks passed at client creation.
Future chains will ship as separate
@arcanetech/privacy-sdk-<chain> preset packages. Core and state adapter APIs stay unchanged.Which packages you need
Related
State integration
Choose in-memory or Redux state adapters.
Quick start (Stellar preset)
Minimal Stellar client bootstrap.
Install
Full Stellar React stack install.