Crates.io | bip322-rs |
lib.rs | bip322-rs |
version | 0.0.11 |
source | src |
created_at | 2024-11-01 02:31:16.989642 |
updated_at | 2024-11-01 13:19:53.071136 |
description | Implements BIP322 generic message signing and verification |
homepage | https://bip322.rs |
repository | https://github.com/allstake/bip322-rs |
max_upload_size | |
id | 1431197 |
size | 76,279 |
Implements BIP-322, generic message signing and verification. Forked from: https://github.com/rust-bitcoin/bip322
At the moment this crate supports P2TR
, P2WPKH
and P2SH-P2WPKH
single-sig
addresses. Feedback through issues or PRs on the interface design and security
is welcome and encouraged.
The goal is to provide a full signing and verifying library similar to this Javascript library.
brew install llvm
cargo install wasm-pack
rustup target add wasm32-unknown-unknown
AR=/opt/homebrew/opt/llvm/bin/llvm-ar \
CC=/opt/homebrew/opt/llvm/bin/clang \
wasm-pack build \
--target web \
--out-name bip322 \
www
The WASM binary and Javascript glue code can then be found in www/pkg
. The
bip322.rs site also runs a small WASM binary if you'd like
to check it out.
At the moment the Minimum Supported Rust Version (MSRV) is 1.63. You can check
it by running just msrv
.