npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@arcanetech/privacy-sdk-stellar

v0.6.1

Published

Stellar preset for the Arcane privacy SDK

Downloads

867

Readme

@arcanetech/privacy-sdk-stellar

Stellar preset for the Arcane privacy SDK.

Overview

This package provides:

  • createStellarPrivacyClient() for browser usage (preloaded ArrayBuffer assets)
  • @arcanetech/privacy-sdk-stellar/node for Node.js filesystem asset loading
  • @arcanetech/privacy-sdk-stellar/testing for fake transact engines in unit tests
  • Stellar wallet, storage, and policy adapter contracts
  • disclosure validation for currently supported Stellar routes
  • orchestration over @arcanetech/stellar-privacy-pool-zk-sdk
  • requiredSubmissionMethod() (@arcanetech/privacy-sdk-stellar/transact) — chooses Direct Submission vs Protocol Relay from a prepared operation; escrow sends require relay and refuse a positive public deposit; escrow sweeps use Direct Submission (wallet-signed)
  • buildBlindedRecipientTagChallengeMessage() (@arcanetech/privacy-sdk-stellar/transact) — builds the wallet-signed challenge used to issue blinded recipient tags so a recipient can discover escrow notes after they register
  • fetchEscrowOutputNoteEvents({ transactEnvironment, txId, poolAddress }) — loads escrow output-note ciphertexts for a claim using the environment's network configuration
  • unsignedEscrowAuthorizationForSweep({ prepared, transactEnvironment, relayerPublicKey }) — simulates the relayer invocation and returns the unsigned claimant authorization entry to sign offline
  • Protocol fee: deposit, transfer, and withdraw quote Required Fee and attach a private Fee Output (2×2 for deposit/withdraw, 6×6 for transfer with change). Escrow sweep does not attach a Fee Output.

Browser Example

import {
  createStellarPrivacyClient,
  isStellarPrivacyClient,
} from '@arcanetech/privacy-sdk-stellar';

const clientOrRejected = await createStellarPrivacyClient({
  network,
  wallet,
  storage,
  assets: {
    sdkWasm,
  },
});

if (!isStellarPrivacyClient(clientOrRejected)) {
  throw new Error('Client creation failed');
}

const operation = await clientOrRejected.deposit(intent);
if (operation.status === 'prepared') {
  await operation.execute({ onEvent: console.log });
}

Node Example

import { createStellarPrivacyClientFromNodeConfig } from '@arcanetech/privacy-sdk-stellar/node';

const clientOrRejected = await createStellarPrivacyClientFromNodeConfig({
  network,
  wallet,
  storage,
  assets: {
    sdkWasmPath: './assets/client_sdk_wasm_bg.wasm',
  },
});

Required Assets

The Stellar preset loads proving artifacts from the CDN baked into @arcanetech/stellar-privacy-pool-zk-sdk. Pass sdkWasm (browser) or sdkWasmPath (Node). Override transactEnvironment.zkArtifactBaseUrl for local files. The browser bundle stores those proving files in Cache Storage (keyed by zk-sdk version) so a later visit or a second init in the same origin reuses the download. Node still reads files from disk or HTTP without Cache Storage. Custom circuit URLs are only for development. Do not regenerate ptau or Groth16 zkey files inside this repository.

Related Docs