Skip to content

multisig-labs/tartarus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tartarus: Node ID Generator for Avalanche Nodes

Tartarus is a NodeID generator for the Avalanche Nodes. It generates node IDs with customizable prefixes and suffixes, and saves the generated nodes to a CSV file, a JSON file, or a directory that's compatible with the AvalancheGo Node.

Pros

  • Easy to use!
  • Customizable prefixes and suffixes!
  • Make one or a million nodes with a single command!
  • Output as CSV, JSON, or an AvalancheGo-compatible directory!

Cons

  • Not multi-threaded, so it can be slow for large numbers of nodes.
  • No regex support for prefixes and suffixes.
  • Requires a C compiler to build.

Building

Make sure you have a C Compiler installed on your system, as the AvalancheGo code used by Tartarus requires it. Then, build the executable using the following command:

go build -o tartarus main.go

Usage

To use Tartarus, simply run the executable with the desired flags. For example:

./tartarus -n 10 -p myprefix -s mysuffix -o output.csv

This will generate 10 node IDs with the prefix "myprefix" and suffix "mysuffix", and save them to a CSV file called "output.csv".

Flags

  • -n, --count: The number of nodes to generate. Defaults to 1.
  • -p, --prefix: The prefix for the node IDs. Defaults to an empty string.
  • -s, --suffix: The suffix for the node IDs. Defaults to an empty string.
  • -c, --case-sensitive: Whether to make the node IDs case-sensitive. Defaults to false.
  • -o, --output: The output file for the generated nodes. Defaults to "nodes.csv".
  • -v, --verbose: Whether to print verbose output. Defaults to false.

About

NodeID Generation and storage service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages