Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including bitcoin-utility-belt with all npm packages installed. Try it out:

var bitcoinUtilityBelt = require("bitcoin-utility-belt")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

bitcoin-utility-belt v2.3.6

Bitcoin Utility Belt is a client-side Bitcoin JavaScript library

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();

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>
  // creating random wallets
  // type: P2PK (default)
  var wallet = belt.wallet.create();

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


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)





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



RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free