Skip to content

v0.4.0

Choose a tag to compare

@sgbett sgbett released this 01 Apr 02:16
· 837 commits to master since this release

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 ECIESECIES.bitcore_encrypt / ECIES.bitcore_decrypt (AES-256-CBC, matches ts-sdk and go-sdk)
  • Fee rate alignment — default 100 sat/kB (was 50), Wallet#fund default 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 issuanceacquire_certificate with 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

Links