Crates.io | bsv |
lib.rs | bsv |
version | 2.1.1 |
source | src |
created_at | 2022-10-13 00:40:29.295908 |
updated_at | 2023-12-11 05:45:40.276087 |
description | A Bitcoin stdlib |
homepage | |
repository | https://github.com/Firaenix/bsv-wasm |
max_upload_size | |
id | 686796 |
size | 4,281,724 |
A Rust/WASM Library to interact with Bitcoin SV
NodeJS 14.6+:
npm i bsv-wasm --save
Web:
npm i bsv-wasm-web --save
Webpack:
npm i bsv-wasm-bundler --save
Rust:
https://crates.io/crates/bsv
Deno:
import init, { Transaction } from "https://deno.land/x/bsv_wasm@{VERSION}/bsv_wasm.js"
await init();
ExtendedPrivateKey.fromWIF('LMyWif...').toPrivateKey().toPublicKey().toAddress().toString()