Skip to main content
Vaulkyrie has TypeScript SDK code in the browser wallet and a package workspace at packages/vaulkyrie-sdk. The package is named @vaulkyrie/sdk and is prepared for local builds, local packing, and eventual npm publication.
Until the package is published and versioned on npm, use local workspace linking or local package tarballs only. Do not treat npm install @vaulkyrie/sdk as a live public install path until the npm package exists.

Current exports

packages/vaulkyrie-sdk/src/index.ts exports:
  • constants
  • types
  • pda
  • instructions
  • accounts
  • errors
  • VaulkyrieClient

What it can do today

Builder coverage

The internal TS SDK currently includes builders for:
  • createInitVaultInstruction
  • createInitAuthorityInstruction
  • createInitPqcWalletInstruction
  • createAdvancePqcWalletInstruction
  • createSetVaultStatusInstruction
  • createInitSpendOrchestrationInstruction
  • createCommitSpendOrchestrationInstruction
  • createCompleteSpendOrchestrationInstruction
  • createInitRecoveryInstruction
  • createCompleteRecoveryInstruction
It does not yet expose every Rust SDK builder. Missing public TS builders include authority proof chunking, staged authority rotation, winter authority advance, quantum vault split/close, spend failure, and authority migration.

Example: fetch a vault registry

Example: initialize a PQC wallet instruction

Example: build spend orchestration bindings

How developers will use it after publication

Once published to npm, the intended install command is:
Example import:
Before publication, local development can build and pack the workspace package:
Then consume the generated local tarball or use a workspace dependency in a test application.

Should Vaulkyrie create a standalone TypeScript SDK?

Yes, if external developers are expected to integrate Vaulkyrie into their own codebases. Yes. The package folder now exists, but it should not be promoted as public-ready until builder parity, byte-level fixture tests, and npm release metadata are complete. Required implementation steps:
  1. Keep extension-independent SDK code in packages/vaulkyrie-sdk.
  2. Add fixtures that compare TypeScript instruction bytes against crates/vaulkyrie-sdk.
  3. Close builder parity gaps with the Rust SDK.
  4. Confirm package contents with npm pack -w @vaulkyrie/sdk --dry-run.
  5. Reserve or configure the @vaulkyrie npm organization.
  6. Publish only after tests and release review pass.

Current readiness