repzip / bsv-wasm

BSV stdlib written in Rust and runs in WASM environments

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BSV.WASM

A Rust/WASM Library to interact with Bitcoin SV

Installation

NodeJS:
npm i bsv-wasm --save

Web:
npm i bsv-wasm-web --save

Rust:
https://crates.io/crates/bsv-wasm

Features

  • Hash (SHA256, SHA256d, SHA1, RIPEMD160, Hash160, SHA512)
  • ECDSA (Private Key, Public Key, Signatures)
  • Transaction (Building, Serialising, Deserialising)
  • Script (Serialising, Deserialising)
  • Addresses (P2PKH)

TODO:

  • SigHash Support
  • ECIES
  • Script Builder
  • Isomorphic Package for JS
  • Write documentation
  • BIP32
  • BIP44
  • Testnet Support
  • Nicer way to pass an array of TxIn and TxOut into things (currenly limited by rustwasm/wasm-bindgen#111)

Will not do:

  • Mnemonics

Thanks

About

BSV stdlib written in Rust and runs in WASM environments

License:MIT License


Languages

Language:Rust 99.5%Language:Makefile 0.4%Language:HTML 0.0%