šŸš€ Big News:Socket Has Acquired Secure Annex.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
277
39.9%
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