bitcoin-utility-belt

    2.3.6 • Public • Published

    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

    Install

    npm i bitcoin-utility-belt

    DownloadsWeekly Downloads

    4

    Version

    2.3.6

    License

    MIT

    Unpacked Size

    31 kB

    Total Files

    8

    Last publish

    Collaborators

    • miguelmedeirosweb