kalvora.js 0.0.2-alpha.0 → 0.0.2-alpha.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/CHANGELOG.md CHANGED
@@ -5,6 +5,17 @@ All notable changes to this project are documented here. The format follows
5
5
  [Semantic Versioning](https://semver.org/). While the version is `0.0.x`, any
6
6
  release may change APIs; pin an exact version.
7
7
 
8
+ ## [0.0.2-alpha.1] — 2026-12-03
9
+
10
+ ### Added
11
+
12
+ - Create and recover numbered Falcon accounts from one BIP-39 phrase with
13
+ `FalconKey.fromMnemonic` or from its 64-byte seed with `FalconKey.fromSeed`.
14
+ The default v2 profile derives each variant and account index once across
15
+ Kalvora networks. Recover an account from the network-bound v1 Git preview
16
+ by passing `scheme: FALCON_HD_V1` and its original `networkName`.
17
+ [Recovery specifications and public vectors](docs/guides/falcon-hd.md)
18
+
8
19
  ## [0.0.2-alpha.0] — prerelease
9
20
 
10
21
  ### Added
package/README.md CHANGED
@@ -56,7 +56,7 @@ or any signer you write.
56
56
  ## Install
57
57
 
58
58
  ```bash
59
- npm install --save-exact kalvora.js@0.0.2-alpha.0
59
+ npm install --save-exact kalvora.js@0.0.2-alpha.1
60
60
  ```
61
61
 
62
62
  Use Node.js 20.19 or later for the SDK toolchain. Falcon signing requires a
@@ -76,7 +76,7 @@ development line; consumers without Solana packages need not add them.
76
76
  Before using the full root ESM API or the bridge examples, install the peers:
77
77
 
78
78
  ```bash
79
- npm install --save-exact kalvora.js@0.0.2-alpha.0 "@solana/web3.js@^1.98.4" "@solana/spl-token@^0.4.14"
79
+ npm install --save-exact kalvora.js@0.0.2-alpha.1 "@solana/web3.js@^1.98.4" "@solana/spl-token@^0.4.14"
80
80
  ```
81
81
 
82
82
  Existing root ESM consumers upgrading from automatic optional dependencies must
@@ -114,6 +114,8 @@ See the [migration overview and remaining acceptance checks](./docs/protocol-mig
114
114
 
115
115
  The wallet-only entry point exports `FalconKey` for offline key generation and restoration, the two padded Falcon variants and all eleven hash choices. `FalconKey.restore(backup)` also reads version 1 backups from the chain-bound `FalconWallet` API. BLAKE3-256 is the default. A different hash for the same key creates a separate address, balance and nonce.
116
116
 
117
+ For mnemonic-based Falcon accounts, `FalconKey.fromMnemonic(phrase)` restores account 0 and `FalconKey.fromMnemonic(phrase, { accountIndex: 1 })` restores account 1. The default v2 profile derives the same key and selected address across Kalvora networks. Supply the deployment’s trusted chain context when signing. Wallets from the v1 Git preview require `scheme: FALCON_HD_V1` and their original network name. [Falcon HD account recovery](./docs/guides/falcon-hd.md)
118
+
117
119
  Historical Ed25519 and Ed448 backups use the [older HD derivation scheme](./docs/guides/hd-derivation.md). Generate and register a fresh Falcon address for the new genesis. See [wallet creation and backup](./src/wallet-creation/README.md).
118
120
 
119
121
  ### Native entry: `kalvora.js/native`
@@ -237,7 +239,8 @@ strings shared with wallet apps are exported as constants
237
239
  | Guide | Covers |
238
240
  |-------|--------|
239
241
  | [Getting started](./docs/guides/getting-started.md) | Wallets, connecting, sending, external signers, errors |
240
- | [HD derivation](./docs/guides/hd-derivation.md) | Exact key derivation for Ed25519 (SLIP-0010) and Ed448, reference vectors |
242
+ | [Falcon HD account recovery](./docs/guides/falcon-hd.md) | Default v2 derivation, v1 preview recovery, public test vectors and account discovery |
243
+ | [Historical HD derivation](./docs/guides/hd-derivation.md) | Exact key derivation for Ed25519 (SLIP-0010) and Ed448, reference vectors |
241
244
  | [Transactions](./docs/guides/transactions.md) | Every transaction type, required permissions, shared options |
242
245
  | [V47 multisig deadlines](./docs/guides/v47-multisig-expiry.md) | Prepare a shared payment once, collect proofs across sessions and reconcile the signed result |
243
246
  | [Contract IDs](./docs/guides/contract-ids.md) | Checksummed Base58 ids, genesis ids, deriving an id while creating a contract |
@@ -256,7 +259,7 @@ function carries TSDoc. Generate the API reference with `npm run docs`
256
259
  | Import | Contents | Formats |
257
260
  |---|---|---|
258
261
  | `kalvora.js` | The full SDK: client, queries, wallets, signing, every transaction builder, adapters, use cases, raw protobuf bindings (`proto`) | ESM, CommonJS, React Native, types |
259
- | `kalvora.js/wallet` | Offline Falcon keys, address selection, signing, backup and restore, plus historical Ed mnemonic and HD derivation tools | ESM, types |
262
+ | `kalvora.js/wallet` | Offline Falcon HD and random keys, address selection, signing, backup and restore, plus historical Ed derivation tools | ESM, types |
260
263
  | `kalvora.js/native` | Native client and governance operations, encoding, validation and fee calculation; no optional Solana bridge import | ESM, types |
261
264
 
262
265
  Every public API is exported from one of these entry points; deep imports
package/dist/README.md CHANGED
@@ -56,7 +56,7 @@ or any signer you write.
56
56
  ## Install
57
57
 
58
58
  ```bash
59
- npm install --save-exact kalvora.js@0.0.2-alpha.0
59
+ npm install --save-exact kalvora.js@0.0.2-alpha.1
60
60
  ```
61
61
 
62
62
  Use Node.js 20.19 or later for the SDK toolchain. Falcon signing requires a
@@ -76,7 +76,7 @@ development line; consumers without Solana packages need not add them.
76
76
  Before using the full root ESM API or the bridge examples, install the peers:
77
77
 
78
78
  ```bash
79
- npm install --save-exact kalvora.js@0.0.2-alpha.0 "@solana/web3.js@^1.98.4" "@solana/spl-token@^0.4.14"
79
+ npm install --save-exact kalvora.js@0.0.2-alpha.1 "@solana/web3.js@^1.98.4" "@solana/spl-token@^0.4.14"
80
80
  ```
81
81
 
82
82
  Existing root ESM consumers upgrading from automatic optional dependencies must
@@ -114,6 +114,8 @@ See the [migration overview and remaining acceptance checks](./docs/protocol-mig
114
114
 
115
115
  The wallet-only entry point exports `FalconKey` for offline key generation and restoration, the two padded Falcon variants and all eleven hash choices. `FalconKey.restore(backup)` also reads version 1 backups from the chain-bound `FalconWallet` API. BLAKE3-256 is the default. A different hash for the same key creates a separate address, balance and nonce.
116
116
 
117
+ For mnemonic-based Falcon accounts, `FalconKey.fromMnemonic(phrase)` restores account 0 and `FalconKey.fromMnemonic(phrase, { accountIndex: 1 })` restores account 1. The default v2 profile derives the same key and selected address across Kalvora networks. Supply the deployment’s trusted chain context when signing. Wallets from the v1 Git preview require `scheme: FALCON_HD_V1` and their original network name. [Falcon HD account recovery](./docs/guides/falcon-hd.md)
118
+
117
119
  Historical Ed25519 and Ed448 backups use the [older HD derivation scheme](./docs/guides/hd-derivation.md). Generate and register a fresh Falcon address for the new genesis. See [wallet creation and backup](./src/wallet-creation/README.md).
118
120
 
119
121
  ### Native entry: `kalvora.js/native`
@@ -237,7 +239,8 @@ strings shared with wallet apps are exported as constants
237
239
  | Guide | Covers |
238
240
  |-------|--------|
239
241
  | [Getting started](./docs/guides/getting-started.md) | Wallets, connecting, sending, external signers, errors |
240
- | [HD derivation](./docs/guides/hd-derivation.md) | Exact key derivation for Ed25519 (SLIP-0010) and Ed448, reference vectors |
242
+ | [Falcon HD account recovery](./docs/guides/falcon-hd.md) | Default v2 derivation, v1 preview recovery, public test vectors and account discovery |
243
+ | [Historical HD derivation](./docs/guides/hd-derivation.md) | Exact key derivation for Ed25519 (SLIP-0010) and Ed448, reference vectors |
241
244
  | [Transactions](./docs/guides/transactions.md) | Every transaction type, required permissions, shared options |
242
245
  | [V47 multisig deadlines](./docs/guides/v47-multisig-expiry.md) | Prepare a shared payment once, collect proofs across sessions and reconcile the signed result |
243
246
  | [Contract IDs](./docs/guides/contract-ids.md) | Checksummed Base58 ids, genesis ids, deriving an id while creating a contract |
@@ -256,7 +259,7 @@ function carries TSDoc. Generate the API reference with `npm run docs`
256
259
  | Import | Contents | Formats |
257
260
  |---|---|---|
258
261
  | `kalvora.js` | The full SDK: client, queries, wallets, signing, every transaction builder, adapters, use cases, raw protobuf bindings (`proto`) | ESM, CommonJS, React Native, types |
259
- | `kalvora.js/wallet` | Offline Falcon keys, address selection, signing, backup and restore, plus historical Ed mnemonic and HD derivation tools | ESM, types |
262
+ | `kalvora.js/wallet` | Offline Falcon HD and random keys, address selection, signing, backup and restore, plus historical Ed derivation tools | ESM, types |
260
263
  | `kalvora.js/native` | Native client and governance operations, encoding, validation and fee calculation; no optional Solana bridge import | ESM, types |
261
264
 
262
265
  Every public API is exported from one of these entry points; deep imports