powpow-bitcoin

0.0.8 • Public • Published

Pow Pow

Pow Pow is a Bitcoin proof-of-work shooter, it quickly sends a lot of proof-of-work transactions to the Bitcoin SV blockchain.

It's useful for stress testing and debugging realtime Bitcoin proof-of-work applications.

Install

npm install -g powpow-bitcoin

Setup

First generate the keys in a secure location

mkdir powerful
cd powerful

powpow generate

Fund the address that appears on screen. If you ever need to refer back to this address, run

powpow address

Check your balance

powpow balance

Split large utxos into many smaller utxos

powpow split

💥 Fire Pow Pow!

powpow fire 21e80096c21e2de52d741ac27607e251770c0b9f7e644f684cf37173e871820e 21e8

Help

Usage:  [options] [command]

Options:
  -V, --version                            output the version number
  -h, --help                               output usage information

Commands:
  generate                                 Generate address
  address                                  Display address
  balance                                  Display balance for address
  utxos                                    Display utxos for address
  split [options]                          Split utxos in preparation for firing
  fire [options] <hash> <target> [number]  Fire Pow Pow, sending `target` worth of proof-of-work to `hash`

Usage:
  $ powpow generate
  $ powpow address
  $ powpow split
  $ powpow fire 21e80096c21e2de52d741ac27607e251770c0b9f7e644f684cf37173e871820e 21e8

Frequently Asked Questions

Where is my private key?

Your private key is generated on a .bit file in your local directory. If you put funds on it, please back it up.

How do I connect to a remote node?

Use the environment variables below to change the node information

powpow fire 21e80096c21e2de52d741ac27607e251770c0b9f7e644f684cf37173e871820e 21e8

How do I change the number of transactions I'm sending?

Specify the number after the address

powpow fire 21e80096c21e2de52d741ac27607e251770c0b9f7e644f684cf37173e871820e 21e8 20

How do I change the amount of satoshis I'm sending?

Specify the --satoshis flag

powpow fire --satoshis 600 21e80096c21e2de52d741ac27607e251770c0b9f7e644f684cf37173e871820e 21e8

Why are my transactions getting rejected?

Probably because the fee is too low, try sending a lower satoshi amount.

Disclamer: This is new and experimental code, don't send a lot of money without testing first

Author

Created by @synfonaut

Inspired by @C0inAlchemist and #21e8

Readme

Keywords

Package Sidebar

Install

npm i powpow-bitcoin

Weekly Downloads

0

Version

0.0.8

License

LICENSE.md

Unpacked Size

40.4 kB

Total Files

13

Last publish

Collaborators

  • synfonaut