1.11.4 • Published 2 years ago

@ledgerhq/walletd-manager v1.11.4

Weekly downloads
-
License
BSD-2-Clause
Repository
-
Last release
2 years ago

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

OptionRequiredDefault valueDescription
--workspace:heavy_check_mark:ledger1Target workspace
--wdPgHost:heavy_check_mark:localhostWD Postgres host
--wdPgPort15432WD Postgres port
--wdPgUser:heavy_check_mark:vaultWD Postgres user
--wdPgPwvaultGate Postgres password
--libcoreDBPrefix:heavy_check_mark:libcore_libcore database prefix

get-seed-accounts

Collect accounts to seed from the Gate

OptionRequiredDefault valueDescription
--workspace:heavy_check_mark:ledger1Target workspace
--gatePgHost:heavy_check_mark:localhostGate Postgres host
--gatePgPort15432Gate Postgres port
--gatePgDB:heavy_check_mark:gateGate Postgres database
--gatePgUser:heavy_check_mark:vaultGate Postgres user
--gatePgPwvaultGate Postgres password

seed

Create WD DB, create accounts & sync them

OptionRequiredDefault valueDescription
--concurrency5Accounts sync concurrency
--fromFileundefinedUse the given JSON file describing accounts to seed
--workspace:heavy_check_mark:ledger1Target workspace
--libcoreDBPrefix:heavy_check_mark:libcore_libcore database prefix
--libcoreDBOwner:heavy_check_mark:vaultlibcore database owner
--gatePgHostlocalhostGate Postgres host
--gatePgPort15432Gate Postgres port
--gatePgDBgateGate Postgres database
--gatePgUservaultGate Postgres user
--gatePgPwvaultGate Postgres password
--wdURL:heavy_check_mark:http://localhost:9200wallet-daemon URL
--wdLegacyAuthToken:heavy_check_mark:ledger1wallet-daemon authentication token
--wdPgHost:heavy_check_mark:localhostWD Postgres host
--wdPgPort15432WD Postgres port
--wdPgUser:heavy_check_mark:vaultWD Postgres user
--wdPgPwvaultGate Postgres password

lama-seed

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

OptionRequiredDefault valueDescription
--workspace:heavy_check_mark:ledger1Target workspace
--gatePgHost:heavy_check_mark:localhostGate Postgres host
--gatePgPort15432Gate Postgres port
--gatePgDB:heavy_check_mark:gateGate Postgres database
--gatePgUser:heavy_check_mark:vaultGate Postgres user
--gatePgPwvaultGate Postgres password
--cgURL:heavy_check_mark:http://localhost:9090coin-gateway URL
--coin:heavy_check_mark:bitcoinAccount coin

reseed-account

Wipe & Sync a WD account from the given timestamp

OptionRequiredDefault valueDescription
--accountID:heavy_check_mark:NaNGate account ID
--sinceTimestampundefinedReseed from timestamp
--sinceDaysundefinedReseed since the given number of days
--workspace:heavy_check_mark:ledger1Target workspace
--wdURL:heavy_check_mark:http://localhost:9200wallet-daemon URL
--wdLegacyAuthToken:heavy_check_mark:ledger1wallet-daemon authentication token
--gatePgHost:heavy_check_mark:localhostGate Postgres host
--gatePgPort15432Gate Postgres port
--gatePgDB:heavy_check_mark:gateGate Postgres database
--gatePgUser:heavy_check_mark:vaultGate Postgres user
--gatePgPwvaultGate Postgres password

wipe

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

OptionRequiredDefault valueDescription
--workspace:heavy_check_mark:ledger1Target workspace
--wdDBNamewallet_daemonWD DB name
--wdPgHost:heavy_check_mark:localhostWD Postgres host
--wdPgPort15432WD Postgres port
--wdPgUser:heavy_check_mark:vaultWD Postgres user
--wdPgPwvaultGate Postgres password
--libcoreDBPrefix:heavy_check_mark:libcore_libcore database prefix
--redisDBNameundefinedRedis DB name
--redisHostundefinedRedis host
--redisPort16379Redis port
--wipeModeTRUNCATEWipe 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

OptionRequiredDefault valueDescription
--workspace:heavy_check_mark:ledger1Target workspace
--wdPgHost:heavy_check_mark:localhostWD Postgres host
--wdPgPort15432WD Postgres port
--wdPgUser:heavy_check_mark:vaultWD Postgres user
--wdPgPwvaultGate Postgres password
--libcoreDBPrefix:heavy_check_mark:libcore_libcore database prefix
1.11.4

2 years ago

1.11.3

2 years ago

1.11.2

2 years ago

1.11.1

2 years ago

1.10.0

2 years ago

1.9.0

2 years ago

1.7.1

2 years ago

1.7.0

2 years ago

1.6.4

2 years ago

1.5.0

3 years ago

1.1.3

3 years ago

1.1.1

3 years ago