From caf5e7b98e773c78ceafe8303fd40f76ffdb4a23 Mon Sep 17 00:00:00 2001 From: Ales Verbic Date: Sat, 30 May 2026 10:21:53 -0400 Subject: [PATCH] docs: add README filter examples for address, pool, and DRep Extend the Filtering section in README with examples for address, pool, and DRep filters, covering bech32 and hex forms, multi-value lists, and how filters combine. Document the filter flag / environment variable / config key mapping, since filter flags use a shortened form while the environment variable and config key keep the plugin name (FILTER_CARDANO_ADDRESS, not FILTER_ADDRESS). Note that --filter-pool and --filter-drep combine with OR rather than AND, describe the DRep ID forms Adder actually accepts and emits, and split the governance address-filter behaviour by payment versus stake address. Signed-off-by: Ales Verbic --- README.md | 406 +++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 368 insertions(+), 38 deletions(-) diff --git a/README.md b/README.md index 0b4ac875..c505d26c 100644 --- a/README.md +++ b/README.md @@ -151,6 +151,34 @@ input.governance: "dataHash": "81f156d98e1f02123abccdef5439a89d71fa9d8b76c8db028c7df0e1..." } } + ], + "drepCertificates": [ + { + "certificateType": "Registration", + "drepHash": "81f156d98e1f02123abccdef5439a89d71fa9d8b76c8db028c7df0e1", + "drepId": "drep1abcd...", + "deposit": 500000000, + "anchor": { + "url": "https://example.com/drep.json", + "dataHash": "81f156d98e1f02123abccdef5439a89d71fa9d8b76c8db028c7df0e1..." + } + } + ], + "voteDelegationCertificates": [ + { + "certificateType": "VoteDelegation", + "stakeCredential": "81f156d98e1f02123abccdef5439a89d71fa9d8b76c8db028c7df0e1", + "drepType": "KeyHash", + "drepHash": "81f156d98e1f02123abccdef5439a89d71fa9d8b76c8db028c7df0e1", + "drepId": "drep1abcd..." + } + ], + "committeeCertificates": [ + { + "certificateType": "AuthHot", + "coldCredential": "81f156d98e1f02123abccdef5439a89d71fa9d8b76c8db028c7df0e1", + "hotCredential": "81f156d98e1f02123abccdef5439a89d71fa9d8b76c8db028c7df0e1..." + } ] } } @@ -227,10 +255,17 @@ Flags: -h, --help help for adder ``` -Each commandline argument (other than `-config`) has a corresponding environment -variable. For example, the `-input` option has the `INPUT` environment variable, -the `-input-chainsync-address` option has the `INPUT_CHAINSYNC_ADDRESS` -environment variable, and `-output` has `OUTPUT`. +Each commandline argument (other than `--config`) has a corresponding environment +variable. For example, the `--input` option has the `INPUT` environment variable, +the `--input-chainsync-address` option has the `INPUT_CHAINSYNC_ADDRESS` +environment variable, and `--output` has `OUTPUT`. + +For plugin options, the environment variable and the config file key are always +built from the plugin **type** and **name** (`__