Launch Week Day 1: Socket for Jira Is Now Available.Learn More
Socket
Book a DemoSign in
Socket

bsv-wallet

Package Overview
Dependencies
Maintainers
2
Versions
251
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bsv-wallet

A Bitcoin SV Wallet Javascript Library

latest
Source
npmnpm
Version
2.4.3
Version published
Weekly downloads
48
-87.3%
Maintainers
2
Weekly downloads
 
Created
Source

BsvWallet ⚡🔑

A simple JavaScript library for Bitcoin SV (BSV) integration

  • enable peer to peer transactions ✅
  • Typescript and JavaScript autocomplete ✅
  • browser & node friendly ✅
  • ❤️ easy to use ❤️

Current features

  • create your wallet (new private key)
  • import your wallet (from a private key)
  • get your wallet address
  • sign a transactions (get hex)
  • broadcast a transactions (from hex)
  • send money (sign & then broadcast your tx)
  • get your wallet balance
  • get your wallet tx history
  • read blockchain data
  • work offline (P2PWallet)
  • easy NFT minting
  • Hierarchical Deterministic (HD) Wallet at 0 technical cost

Next features

  • More stable RPC than Whatsonchain

Exemple: Bob sending money to Alice

const walletBob = new Wallet({ key: "bob private key mnemonic" });
const walletAlice = new Wallet({ key: "alice private key mnemonic" });

const transactionId = await walletBob.sendMoney({
  to: await walletAlice.getAddress(),
  amount: 1234,
});

console.log({
  aliceBalance: await alice.getBalance(),
});

Further Documentation:

bsv-wallet doc website

Dev note

This wallet is brought to you AS-IS by the De Buck Technologies SRL team. This wallet is use extensively in our own MyBanka wallet (Open Banking + Bitcoin SV).

If you wish to contribute or encounter any issues: Please contact MyBanka Team on discord https://discord.gg/3kg7PbjPAd or by email at hello@mybanka.eu.

Copyright © 2023 De Buck Technologies SRL.

Keywords

javascript

FAQs

Package last updated on 13 Oct 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts