bsv2 2.2.2 → 2.3.0
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 +22 -3
- package/dist/bsv2.cjs +1 -1
- package/dist/bsv2.mjs +1 -1
- package/dist/bsv2.umd.js +1 -1
- package/package.json +12 -13
package/README.md
CHANGED
|
@@ -30,7 +30,7 @@ of the `bsv` 2.x codebase: same class-based API, published on npm as
|
|
|
30
30
|
npm install bsv2
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
-
Node.js
|
|
33
|
+
Node.js 20.19 or newer is required (the development toolchain uses Vite 7).
|
|
34
34
|
|
|
35
35
|
```js
|
|
36
36
|
// ESM (package.json "type": "module", or a .mjs file)
|
|
@@ -223,8 +223,12 @@ yarn doc # regenerate API documentation
|
|
|
223
223
|
```
|
|
224
224
|
|
|
225
225
|
The suite has over 8,500 tests, including reference vectors from bitcoind,
|
|
226
|
-
Bitcoin ABC and Bitcoin SV,
|
|
227
|
-
|
|
226
|
+
Bitcoin ABC and Bitcoin SV, dedicated pre-Genesis and Chronicle tests, and
|
|
227
|
+
deterministic property tests for script, `Bn` and transaction round-trips.
|
|
228
|
+
`yarn test` starts Vitest in watch mode.
|
|
229
|
+
|
|
230
|
+
Scripts with truncated pushdata are parsed leniently and rejected during
|
|
231
|
+
execution; the pre-Genesis reference vectors rely on that behaviour.
|
|
228
232
|
|
|
229
233
|
Commits and release tags are GPG-signed, and `commit.gpgsign` is enabled for
|
|
230
234
|
future commits. Releases are published to npm and GitHub Releases with the same
|
|
@@ -244,6 +248,21 @@ dependencies pinned to patched versions.
|
|
|
244
248
|
pre-Chronicle ABC vectors whose random `0x20` bit changed meaning are
|
|
245
249
|
excluded from the test suite.
|
|
246
250
|
|
|
251
|
+
## Ecosystem: BRC-100 and ts-stack
|
|
252
|
+
|
|
253
|
+
`bsv2` is a low-level primitives library: transactions, scripts, keys,
|
|
254
|
+
cryptography and serialization. It does **not** implement the BRC-100
|
|
255
|
+
wallet-to-application interface.
|
|
256
|
+
|
|
257
|
+
For BRC-100 integrations use the BSV Association reference implementations in
|
|
258
|
+
[`bsv-blockchain/ts-stack`](https://github.com/bsv-blockchain/ts-stack):
|
|
259
|
+
|
|
260
|
+
- `@bsv/sdk` — primitives, identities, overlays and the BRC-100 `WalletClient`.
|
|
261
|
+
- `@bsv/wallet-toolbox` — BRC-100 storage, services, signing and wallet tooling
|
|
262
|
+
(`WalletSigner`, baskets, BEEF, BKDS key derivation).
|
|
263
|
+
|
|
264
|
+
See [BRC-100](https://bsv.brc.dev/wallet/0100.md) for the normative interface.
|
|
265
|
+
|
|
247
266
|
## Security
|
|
248
267
|
|
|
249
268
|
Please report security issues privately through the repository's security
|