npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@ledgerhq/walletd-manager

v1.11.4

Published

> TODO: description or else, check -h

Downloads

33

Readme

walletd-manager

A various utility tool to call WD endpoints

Usage

$ walletd-manager --help
$ walletd-manager <command>
$ walletd-manager <command> --help

Commands

summary

Get informations on the target WD

| Option | Required | Default value | Description | | ------------------- | ------------------ | ------------- | ----------------------- | | --workspace | :heavy_check_mark: | ledger1 | Target workspace | | --wdPgHost | :heavy_check_mark: | localhost | WD Postgres host | | --wdPgPort | | 15432 | WD Postgres port | | --wdPgUser | :heavy_check_mark: | vault | WD Postgres user | | --wdPgPw | | vault | Gate Postgres password | | --libcoreDBPrefix | :heavy_check_mark: | libcore_ | libcore database prefix |

get-seed-accounts

Collect accounts to seed from the Gate

| Option | Required | Default value | Description | | -------------- | ------------------ | ------------- | ---------------------- | | --workspace | :heavy_check_mark: | ledger1 | Target workspace | | --gatePgHost | :heavy_check_mark: | localhost | Gate Postgres host | | --gatePgPort | | 15432 | Gate Postgres port | | --gatePgDB | :heavy_check_mark: | gate | Gate Postgres database | | --gatePgUser | :heavy_check_mark: | vault | Gate Postgres user | | --gatePgPw | | vault | Gate Postgres password |

seed

Create WD DB, create accounts & sync them

| Option | Required | Default value | Description | | --------------------- | ------------------ | --------------------- | --------------------------------------------------- | | --concurrency | | 5 | Accounts sync concurrency | | --fromFile | | undefined | Use the given JSON file describing accounts to seed | | --workspace | :heavy_check_mark: | ledger1 | Target workspace | | --libcoreDBPrefix | :heavy_check_mark: | libcore_ | libcore database prefix | | --libcoreDBOwner | :heavy_check_mark: | vault | libcore database owner | | --gatePgHost | | localhost | Gate Postgres host | | --gatePgPort | | 15432 | Gate Postgres port | | --gatePgDB | | gate | Gate Postgres database | | --gatePgUser | | vault | Gate Postgres user | | --gatePgPw | | vault | Gate Postgres password | | --wdURL | :heavy_check_mark: | http://localhost:9200 | wallet-daemon URL | | --wdLegacyAuthToken | :heavy_check_mark: | ledger1 | wallet-daemon authentication token | | --wdPgHost | :heavy_check_mark: | localhost | WD Postgres host | | --wdPgPort | | 15432 | WD Postgres port | | --wdPgUser | :heavy_check_mark: | vault | WD Postgres user | | --wdPgPw | | vault | Gate Postgres password |

lama-seed

Create accounts in LAMA Scheduler through Coin Gateway from those of a gate

| Option | Required | Default value | Description | | -------------- | ------------------ | --------------------- | ---------------------- | | --workspace | :heavy_check_mark: | ledger1 | Target workspace | | --gatePgHost | :heavy_check_mark: | localhost | Gate Postgres host | | --gatePgPort | | 15432 | Gate Postgres port | | --gatePgDB | :heavy_check_mark: | gate | Gate Postgres database | | --gatePgUser | :heavy_check_mark: | vault | Gate Postgres user | | --gatePgPw | | vault | Gate Postgres password | | --cgURL | :heavy_check_mark: | http://localhost:9090 | coin-gateway URL | | --coin | :heavy_check_mark: | bitcoin | Account coin |

reseed-account

Wipe & Sync a WD account from the given timestamp

| Option | Required | Default value | Description | | --------------------- | ------------------ | --------------------- | ------------------------------------- | | --accountID | :heavy_check_mark: | NaN | Gate account ID | | --sinceTimestamp | | undefined | Reseed from timestamp | | --sinceDays | | undefined | Reseed since the given number of days | | --workspace | :heavy_check_mark: | ledger1 | Target workspace | | --wdURL | :heavy_check_mark: | http://localhost:9200 | wallet-daemon URL | | --wdLegacyAuthToken | :heavy_check_mark: | ledger1 | wallet-daemon authentication token | | --gatePgHost | :heavy_check_mark: | localhost | Gate Postgres host | | --gatePgPort | | 15432 | Gate Postgres port | | --gatePgDB | :heavy_check_mark: | gate | Gate Postgres database | | --gatePgUser | :heavy_check_mark: | vault | Gate Postgres user | | --gatePgPw | | vault | Gate Postgres password |

wipe

Wipe or drop libcore DB & remove references of it in WD db

| Option | Required | Default value | Description | | ------------------- | ------------------ | ------------- | ----------------------------------------- | | --workspace | :heavy_check_mark: | ledger1 | Target workspace | | --wdDBName | | wallet_daemon | WD DB name | | --wdPgHost | :heavy_check_mark: | localhost | WD Postgres host | | --wdPgPort | | 15432 | WD Postgres port | | --wdPgUser | :heavy_check_mark: | vault | WD Postgres user | | --wdPgPw | | vault | Gate Postgres password | | --libcoreDBPrefix | :heavy_check_mark: | libcore_ | libcore database prefix | | --redisDBName | | undefined | Redis DB name | | --redisHost | | undefined | Redis host | | --redisPort | | 16379 | Redis port | | --wipeMode | | TRUNCATE | Wipe mode (either TRUNCATE, DROP or NUKE) |

  - TRUNCATE: Truncates libcore DB, leaving schema intact and clearing values
  - DROP: Drops libcore DB including schemas and values
  - NUKE: Drops both libcore and walletd DBs, only when scrapping environment

corrupt

(for testing purposes) Corrupt UTXOs data in libcore database

| Option | Required | Default value | Description | | ------------------- | ------------------ | ------------- | ----------------------- | | --workspace | :heavy_check_mark: | ledger1 | Target workspace | | --wdPgHost | :heavy_check_mark: | localhost | WD Postgres host | | --wdPgPort | | 15432 | WD Postgres port | | --wdPgUser | :heavy_check_mark: | vault | WD Postgres user | | --wdPgPw | | vault | Gate Postgres password | | --libcoreDBPrefix | :heavy_check_mark: | libcore_ | libcore database prefix |