@arcanetech/privacy-sdk-stellar 0.3.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -11,7 +11,11 @@ This package provides:
11
11
  - `@arcanetech/privacy-sdk-stellar/testing` for fake transact engines in unit tests
12
12
  - Stellar wallet, storage, and policy adapter contracts
13
13
  - disclosure validation for currently supported Stellar routes
14
- - orchestration over `@auditable/privacy-pool-zk-sdk`
14
+ - orchestration over `@arcanetech/stellar-privacy-pool-zk-sdk`
15
+ - `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)
16
+ - `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
17
+ - `fetchEscrowOutputNoteEvents({ transactEnvironment, txId, poolAddress })` — loads escrow output-note ciphertexts for a claim using the environment's network configuration
18
+ - `unsignedEscrowAuthorizationForSweep({ prepared, transactEnvironment, relayerPublicKey })` — simulates the relayer invocation and returns the unsigned claimant authorization entry to sign offline
15
19
 
16
20
  ## Browser Example
17
21
 
@@ -27,8 +31,6 @@ const clientOrRejected = await createStellarPrivacyClient({
27
31
  storage,
28
32
  assets: {
29
33
  sdkWasm,
30
- circuitWasm,
31
- provingKey,
32
34
  },
33
35
  });
34
36
 
@@ -53,15 +55,13 @@ const clientOrRejected = await createStellarPrivacyClientFromNodeConfig({
53
55
  storage,
54
56
  assets: {
55
57
  sdkWasmPath: './assets/client_sdk_wasm_bg.wasm',
56
- circuitWasmPath: './assets/main.wasm',
57
- provingKeyPath: './assets/main_final.zkey',
58
58
  },
59
59
  });
60
60
  ```
61
61
 
62
62
  ## Required Assets
63
63
 
64
- The Stellar preset expects caller-provided circuit and proving artifacts. Do not regenerate `ptau` or Groth16 zkey files inside this repository.
64
+ The Stellar preset loads proving artifacts from the GitHub release for `@arcanetech/stellar-privacy-pool-zk-sdk`. Pass `sdkWasm` (browser) or `sdkWasmPath` (Node). Override `transactEnvironment.zkArtifactBaseUrl` for local files. Custom circuit URLs are only for development. Do not regenerate `ptau` or Groth16 zkey files inside this repository.
65
65
 
66
66
  ## Related Docs
67
67