Skip to content
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,17 @@ All notable changes to the Aptos TypeScript SDK will be captured in this file. T

# Unreleased

## Added

- Add Aptos Keystore: encrypted private key storage standard based on Ethereum's Web3 Secret Storage Definition
- Supports all Aptos key types: Ed25519, Secp256k1, Secp256r1
- AES-256-GCM authenticated encryption (no separate MAC needed)
- Argon2id KDF by default when optional `hash-wasm` peer dependency is installed, falls back to scrypt
- PBKDF2-HMAC-SHA256 also supported as an alternative KDF
- Password-based or key-file-based encryption
- Portable JSON format designed for cross-SDK compatibility (TypeScript, Rust, Python, Go, etc.)
- New exports: `encryptKeystore`, `decryptKeystore`, `AptosKeyStore`, `KeystorePrivateKey`, `KeystoreEncryptOptions`

## Fixed

- Fix simple function arguments for `Vector<Option<T>>` types: BCS-encoded values (e.g. `AccountAddress.ONE`) passed as elements of `vector<Option<address>>` are now automatically wrapped in `MoveOption` instead of throwing a type mismatch error
Expand Down
8 changes: 8 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,14 @@
"typescript": "^5.9.3",
"vitest": "^4.0.18"
},
"peerDependencies": {
"hash-wasm": "^4.12.0"
},
"peerDependenciesMeta": {
"hash-wasm": {
"optional": true
}
},
"version": "6.2.0",
"pnpm": {
"overrides": {
Expand Down
8 changes: 8 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/core/crypto/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export * from "./abstraction";
export * from "./ed25519";
export * from "./ephemeral";
export * from "./federatedKeyless";
export * from "./keystore";
export * from "./hdKey";
export * from "./keyless";
export * from "./multiEd25519";
Expand Down
Loading
Loading