@chris.troutner/bch-encrypt
Multi-command CLI for working with ecrypted messages on BCH
Last updated a month ago by chris.troutner .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @chris.troutner/bch-encrypt 
SYNC missed versions from official npm registry.

@chris.troutner/bch-encrypt

Command Line Interface (CLI) for encrypting, decrypting, and sending messages over the BCH blockchain.

Installation:

  • git clone https://github.com/christroutner/bch-encrypt && cd bch-encrypt
  • npm install
  • ./bin/run help

Usage

$ npm install -g @chris.troutner/bch-encrypt
$ bch-encrypt COMMAND
running command...
$ bch-encrypt (-v|--version|version)
@chris.troutner/bch-encrypt/1.0.3 linux-x64 node-v12.16.2
$ bch-encrypt --help [COMMAND]
USAGE
  $ bch-encrypt COMMAND
...

Commands

bch-encrypt decrypt

Decrypt a a message with the WIF private key.

USAGE
  $ bch-encrypt decrypt

OPTIONS
  -m, --msg=msg  Encrypted message
  -w, --wif=wif  Base58 WIF private key to decrypt message

DESCRIPTION
  ...
  Decrypts an encrypted message, using the private key in the WIF.

See code: src/commands/decrypt.js

bch-encrypt get-key

Get the public key for a BCH address.

USAGE
  $ bch-encrypt get-key

OPTIONS
  -n, --name=name  BCH cash address

DESCRIPTION
  ...
  Analyzes transactions on the blockchain to try and retrieve a public key for
  a BCH address. This will not work if the address does not have any transactions.

See code: src/commands/get-key.js

bch-encrypt help [COMMAND]

display help for bch-encrypt

USAGE
  $ bch-encrypt help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

bch-encrypt send

Send an encrypted message to a BCH address.

USAGE
  $ bch-encrypt send

OPTIONS
  -a, --addr=addr  BCH cash address of the recipient
  -m, --msg=msg    Message to encrypt
  -w, --wif=wif    Base58 WIF private key to pay for transaction

DESCRIPTION
  ...
  Encrypts a message with the recipients BCH address and publishes the encrypted
  message to the blockchain by sending transactions to the recipients address.
  The message will be broken up into multiple transactions that will need
  to be parsed together using the memo.cash and member.cash protocols.

See code: src/commands/send.js

Current Tags

  • 1.0.3                                ...           latest (a month ago)

4 Versions

  • 1.0.3                                ...           a month ago
  • 1.0.2                                ...           a month ago
  • 1.0.1                                ...           a month ago
  • 1.0.0                                ...           a month ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 4
Dependencies (6)
Dev Dependencies (12)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |