v0.4.0
Ruby SDK for the BSV Blockchain — keys, scripts, transactions, BEEF serialisation, and Schnorr proofs with zero external dependencies beyond OpenSSL.
What's New
bsv-sdk 0.4.0
- Bitcore ECIES —
ECIES.bitcore_encrypt/ECIES.bitcore_decrypt(AES-256-CBC, matches ts-sdk and go-sdk) - Fee rate alignment — default 100 sat/kB (was 50),
Wallet#funddefault 0.1 sat/byte (was 0.5) - LivePolicy.default — one-line live fee queries via GorillaPool ARC
- PUSHDATA bounds check — truncated scripts now raise instead of silently corrupting data
- Extended key path validation — rejects non-numeric indices (
"m/44'/abc/0"→ error)
bsv-wallet 0.2.0
- FileStore — JSON file-backed persistent storage, now the default. Data survives restarts.
- BRC-31 Auth/Peer — mutual authentication with nonce-based challenges and session management
- Wire protocol — binary ABI serialisation for all 28 BRC-100 methods
- Certificate issuance —
acquire_certificatewith issuance protocol - OpCat template — OP_CAT concatenation script template
- Security fixes — subject pinning in cert issuance, wire reader negative length guard, file permissions (0700/0600)
Install
gem install bsv-sdk
gem install bsv-wallet