bsv-wasm icon indicating copy to clipboard operation
bsv-wasm copied to clipboard

BSV stdlib written in Rust and runs in WASM environments

Results 19 bsv-wasm issues
Sort by recently updated
recently updated
newest added

to speed up Bitcoin VM.

Checking equality between a pair of keys/addresses/scripts/etc. in javascript requires something like the following. ```javascript Buffer.compare(a.toBytes(), b.toBytes()) === 0 ``` It would be nice to have a convenience method for...

**Note:** this is separate to the `TxIn` script name that was fixed in 4ca0fcb9fd091a82f49a6b5aa19aa6027ee5c35a. https://github.com/Firaenix/bsv-wasm/blob/fa5aceaad3dfd14b368e89b7ae50d3afe38c93ed/src/transaction/txout.rs#L16 https://github.com/Firaenix/bsv-wasm/blob/fa5aceaad3dfd14b368e89b7ae50d3afe38c93ed/src/transaction/txout.rs#L105 This member and related methods should be referred to as `script` or `locking_script`.

A *txid* is calculated as `sha256d(tx)`. When a txid is presented as a string for a human or a text based api, it is first **reversed**, then hex encoded. This...

- [ ] #54 Fix TxIn ergonomics - [ ] Script Builder - [x] Fix TxIn ScriptSig naming + unlocking script rename to locking script to reduce confusion - [...

1.4.0

The `TxIn` constructor requires a script, however when a transaction input is first created, its script is typically not yet known. Therefore providing a script should be optional. --- **How...

- add missing "repository" key info. - add missing "keywords": add "blockchain"; move "bitcoin", "bsv" away from "categories". - update "categories": leave only "wasm", "network-programming" and "cryptography::cryptocurrencies".

- [ ] Validate that PrevTxId is valid when constructing TxIn

enhancement

- Document all Structs - Document all functions - JSDoc for all documentation

documentation