bsv-wallet
v2.4.3
Published
A Bitcoin SV Wallet Javascript Library
Downloads
366
Readme
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:
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 [email protected]
.
Copyright © 2023 De Buck Technologies SRL.