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

bcash-tx

v0.1.1

Published

DUMP bcash, HODL bitcoins

Downloads

2

Readme

bcash-instadump

Instantly dump BCH, get free BTC!

USE AT YOUR OWN RISK!

Install

$ npm install -g bcash-instadump

CLI usage

Instadump via Changelly

$ bcash-instadump --input txid:vout:amount:key --payout 1BitcoinEaterAddressDontSendf59kuE --email [email protected]

Sell BCH from the unspent output specified in --input (amount in satoshis, key is base58 WIF) via Changelly and send converted BTC to the Bitcoin address provided in --payout.

If you already have an account on Changelly, specify the account's password with --password. Otherwise, a new account will be created with the provided --email.

Specify --feerate to control the transaction fee (in satoshis/byte). Defaults to 200.

You can specify --input multiple times, or specify a CSV file instead with --inputs utxos.csv. All the inputs will be joined together in a single transaction (see "Privacy Concerns" below).

--cookie writes/reads the Changelly authentication cookie to a file. Use if you're invoking bcash-instadump multiple times.

Send to any address

$ bcash-send --input txid:vout:amount:key --output 1BitcoinEaterAddressDontSendf59kuE:ALL

Create a bcash transaction with the provided inputs and outputs. ALL is special cased to send the maximum available amount, minus tx fees.

Add the --broadcast flag to broadcast the transaction via TBD.

Recommended usage

  1. Prepare a CSV file with a list of your UTXOs (txid,vout,amount,key format).

For Bitcoin Core, you can use:

bitcoin-cli listunspent | jq -cr '.[] | [.txid,.vout,.amount,.address]' | tr -d '[]"' \ | awk -F, '{"bitcoin-cli dumpprivkey "$4 | getline key; print $1 FS $2 FS $3 FS key }' \ > utxos.csv

  1. Move all of your bitcoins to new addresses. The keys provided to this software should be entirely empty of BTC before touching this software.

  2. bcash-instadump --inputs utxos.csv --payout [1YourAddress]

  3. Profit!

Privacy concerns

  • Joining your unspent outputs together will reveal the link between your addresses/outputs to the entire world, on both the public BTC and BCH blockchains. It is recommended to invoke bcash-instadump multiple times, once for each unspent output being sold (creating a separate 1-in,1-out tx each time).

  • Selling all of your unspent outputs to the same Changelly account and/or from the same IP address will reveal the link between your addresses/outputs to the Changelly operators, hackers who gained access to Changelly servers, and governments that can serve Changelly with a warrant.

  • Transactions are broadcasted to the bcash network using XXX, which would link the transaction and your IP address together. You can set --proxy or broadcast the raw transaction manually.

License

The MIT License (MIT)

Copyright (c) 2017 Nadav Ivgi

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.