npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

bitcoinsource

v0.1.20

Published

A simple, safe, and powerful JavaScript Bitcoin Cash library.

Downloads

98

Readme

BitcoinSource: A Bitcoin Cash implementation written in modern Javascript

About BitcoinSource

BitcoinSource is a community driven effort to produce a readable, reliable and modern Javascript implementation of Bitcoin. Most current Javascript Bitcoin implementations do not adhere to modern coding standards and are very hard to read as a consequence. We want to create a Bitcoin implementation that every JavaScript programmer can read and understand.

In step one, we want to get the entire codebase to comply with the Airbnb JavaScript Style Guide. Step two will be to port the code base to ES6. Step three will be to statically typecheck the entire codebase with Facebook’s Flow. We suspect we will uncover bugs in the process.

We are looking for contributors. You do not have to be a Bitcoin protocol expert to contribute. All you need to be is a good Javascript programmer. If you want to help, check out CONTRIBUTING.md or email [email protected].

Installation

Using NPM

$ npm install --save bitcoin-source

Manually

You can also download a pre-compiled and minified version here: dist

Examples

You can find many useful, up-to-date examples to get you started right away by following the provided examples:

Security

BitcoinSource is a fork of bitcore-lib, which is used in production at Bitpay Inc. and many other projects. If you find a security issue, please email [email protected].

Contributing

This is an open-source project, and any form of contribution is welcome. Feel free to create an issue in case you would like to share ideas for improvement, or would like to report a bug. Also, please send pull requests for bug fixes or code optimization. For more information on how to contribute, please refer to our CONTRIBUTING file.

Development

To get started with development, you should first clone the repository and install any dependencies:

$ git clone https://github.com/bitcoin-computer/bitcoin-source
$ cd BitcoinSource
$ npm install

Next, you can check everything is installed correctly by running the full test-suite and verifying that all tests are completed successfully.

$ npm test

Progress

| File | Airbnb Style Guide | ES6 | Flow | | --------------------------------------- | :---------------------------------------------: | :-----------------------------------------------------: | :-----------------------------------------------------: | | address.js | done | done | not done | | block/block.js | done | done | not done | | block/blockheader.js | done | done | not done | | block/index.js | done | done | not done | | block/merkleblock.js | done | done | not done | | crypto/bn.js | done | not done | not done | | crypto/ecdsa.js | done | not done | not done | | crypto/hash.js | done | not done | not done | | crypto/point.js | done | not done | not done | | crypto/random.js | done | not done | not done | | crypto/signature.js | done | not done | not done | | encoding/base58.js | done | not done | not done | | encoding/base58check.js | done | not done | not done | | encoding/bufferreader.js | done | not done | not done | | encoding/bufferwriter.js | done | not done | not done | | encoding/varint.js | done | not done | not done | | errors/index.js | done | not done | not done | | errors/spec.js | done | not done | not done | | hdprivatekey.js | done | not done | not done | | hdpublickey.js | done | not done | not done | | message.js | done | done | not done | | mnemonic/index.js | done | not done | not done | | mnemonic/mnemonic.js | done | not done | not done | | mnemonic/pbkdf2.js | done | not done | not done | | mnemonic/words/chinese.js | done | not done | not done | | mnemonic/words/english.js | done | not done | not done | | mnemonic/words/french.js | done | not done | not done | | mnemonic/words/index.js | done | not done | not done | | mnemonic/words/italian.js | done | not done | not done | | mnemonic/words/japanese.js | done | not done | not done | | mnemonic/words/spanish.js | done | not done | not done | | networks.js | done | not done | not done | | opcode.js | done | not done | not done | | privatekey.js | done | not done | not done | | publickey.js | done | not done | not done | | script/index.js | done | not done | not done | | script/interpreter.js | done | not done | not done | | script/script.js | done | not done | not done | | transaction/index.js | done | done | not done | | transaction/input/index.js | done | not done | not done | | transaction/input/input.js | done | not done | not done | | transaction/input/multisig.js | done | not done | not done | | transaction/input/multisigscripthash.js | done | not done | not done | | transaction/input/publickey.js | done | not done | not done | | transaction/input/publickeyhash.js | done | not done | not done | | transaction/input/scripthash.js | done | not done | not done | | transaction/output.js | done | done | not done | | transaction/sighash.js | done | done | not done | | transaction/signature.js | done | done | not done | | transaction/transaction.js | done | done | not done | | transaction/unspentoutput.js | done | done | not done | | unit.js | done | not done | not done | | uri.js | done | not done | not done | | util/buffer.js | done | not done | not done | | util/js.js | done | not done | not done | | util/preconditions.js | done | not done | not done |

License

Code released under the MIT license.