signum-transaction-grabber

1.0.2 • Public • Published

signum-transaction-grabber

JavaScript Style Guide node-current npm

A small tool that grabs Signum transactions from a specific account by certain criteria and logs it into a file.

Usage

Prerequisite: NodeJS 14+ installed

Install using

npm i signum-transaction-grabber -g
signum-grabber -h
Usage: signum-grabber [options]

Options:
  -V, --version              output the version number
  -a, --address <address>    Address to be monitored, can be Reed-Solomon or Id
  -p, --phrase <yoursecret>  Your senders Signum account passphrase (to read encrypted messages) (default: "")
  -s, --signa <amount>       Target amount in SIGNA
  -m, --message <regex>      Target message using a regex pattern
  -f, --file <filename>      Filename where the data is being collected (default: "./pir8grabber.json")
  -l, --lines <number>       Amount of lines inside the file (default: 10)
  -n, --node <url>           Your custom node. Otherwise the node is selected automatically
  -h, --help                 display help for command

Usage Examples:


Log last at maximum ten transactions sent to account S-9K9L-4CB5-88Y5-F5G4Z that contains the string "NDS" in their message

signum-grabber -a S-9K9L-4CB5-88Y5-F5G4Z -m "NDS"


Log last at maximum twenty transactions sent to account S-9K9L-4CB5-88Y5-F5G4Z that has more than 50 SIGNA into ./acme.json

signum-grabber -a S-9K9L-4CB5-88Y5-F5G4Z -s 50 -l 20 -f ./acme.json


Log last at maximum ten transactions sent to account S-9K9L-4CB5-88Y5-F5G4Z that has messages starting with "foo" and considering also encrypted messages`

signum-grabber -a S-9K9L-4CB5-88Y5-F5G4Z -m "^foo" -p "my super secret passphrase"

Package Sidebar

Install

npm i signum-transaction-grabber

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

13.8 kB

Total Files

10

Last publish

Collaborators

  • ohager