Vaulkyrie has TypeScript SDK code in the browser wallet and a package workspace atDocumentation Index
Fetch the complete documentation index at: https://docs.vaulkyrie.xyz/llms.txt
Use this file to discover all available pages before exploring further.
packages/vaulkyrie-sdk. The package is named @vaulkyrie/sdk and is prepared for local builds, local packing, and eventual npm publication.
Current exports
packages/vaulkyrie-sdk/src/index.ts exports:
constantstypespdainstructionsaccountserrorsVaulkyrieClient
What it can do today
| Capability | Source |
|---|---|
| PDA derivation | packages/vaulkyrie-sdk/src/pda.ts |
| Instruction builders | packages/vaulkyrie-sdk/src/instructions.ts |
| Account decoders | packages/vaulkyrie-sdk/src/accounts.ts |
| Error parsing | packages/vaulkyrie-sdk/src/errors.ts |
| Account fetch helpers | packages/vaulkyrie-sdk/src/client.ts |
| Spend binding hashes | packages/vaulkyrie-sdk/src/spendBindings.ts |
Builder coverage
The internal TS SDK currently includes builders for:createInitVaultInstructioncreateInitAuthorityInstructioncreateInitPqcWalletInstructioncreateAdvancePqcWalletInstructioncreateSetVaultStatusInstructioncreateInitSpendOrchestrationInstructioncreateCommitSpendOrchestrationInstructioncreateCompleteSpendOrchestrationInstructioncreateInitRecoveryInstructioncreateCompleteRecoveryInstruction
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: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:- Keep extension-independent SDK code in
packages/vaulkyrie-sdk. - Add fixtures that compare TypeScript instruction bytes against
crates/vaulkyrie-sdk. - Close builder parity gaps with the Rust SDK.
- Confirm package contents with
npm pack -w @vaulkyrie/sdk --dry-run. - Reserve or configure the
@vaulkyrienpm organization. - Publish only after tests and release review pass.
Current readiness
| Question | Answer |
|---|---|
| Is there TS SDK code? | Yes, in packages/vaulkyrie-sdk and mirrored in the extension source. |
| Is it published as npm package? | Not yet. It is package-ready for local build/pack testing. |
| Is it complete against Rust SDK? | No. It covers the browser’s current needs, not every builder. |
| Can docs include snippets? | Yes, but npm install snippets should remain marked as future/public-release examples until publication. |
