New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bitcoin-utility-belt

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitcoin-utility-belt

Bitcoin Utility Belt is a client-side Bitcoin JavaScript library

  • 2.3.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
23
decreased by-11.54%
Maintainers
1
Weekly downloads
 
Created
Source

Bitcoin Utility Belt

NPM NPM js-standard-style

I've made this project to make easy to use a lot of Bitcoin functions that you need to build a website or a NodeJS application. You can read the examples to find out how to use it! Feel free to contribute with code or a donation!

Readme Index

NodeJS Installation

You just need to install the npm package to your project.

npm install bitcoin-utility-belt --save

Here is an example:

// import bitcoin utility belt
let belt = require("bitcoin-utility-belt");

// creating random wallets
// type: P2PK (default)
let wallet = belt.wallet.create();
console.log(wallet);

Browser Installation

You just need to import the /dist/bitcoin-utility-belt.js to your HTML to have access to the functions.
Here is an example:

<!-- Importing Bitcoin Utility Belt script -->
<script src="../../dist/bitcoin-utility-belt.min.js"></script>
<script>
  // creating random wallets
  // type: P2PK (default)
  var wallet = belt.wallet.create();
  console.log(wallet);
</script>

How to compile a new browser version

You have already a compiled version in the directory /dist (extended and minified files).
But if you want to compile for your self run the script:

npm run build

Functions

The list below should be very easy to understand. Some of them interact (via HTTPS) with a 3rd Party Blockchain Provider (3PBP). I've made HTML and NodeJS examples, so you can understand how it works!

Blockchain (3PBP)

Messages

Wallets

Examples

Contributing

I'll be glad to receive new pull requests to improve this project! Feel free to contribute!

Donate BTC

If you really liked the project and want to donate, here is the official wallet for this project.
Official Wallet: 18kXMmrDtgfeQgVmwfmygTaYLyQuVS4chK

LICENSE MIT

Keywords

FAQs

Package last updated on 04 Jun 2018

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc