Code Monkey home page Code Monkey logo

pir8-grabber's Introduction

signum-pir8-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-pir8-grabber -g
pir8grabber -h
Usage: pir8grabber [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
  -y, --payment <min:max>    
  -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

pir8grabber -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

pir8grabber -a S-9K9L-4CB5-88Y5-F5G4Z -a 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`

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

pir8-grabber's People

Contributors

ohager avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.