Keystore
Initialize or migrate local keystore files (mnemonic + encryption).
Keystore commands operate on local files. They do not require the daemon HTTP API.
If you do not know what this is, you probably only need it once (during initial setup).
Init (generate mnemonic)
This creates an encrypted keystore and prints a mnemonic.
printf '%s\n' '<PASSPHRASE>' | rgbldk --yes --data-dir <DATA_DIR> keystore init \
--mode generate-mnemonic \
--passphrase-stdinCopy the mnemonic and store it safely.
Migrate (legacy → encrypted keystore)
If you have older “legacy” key material, migrate it:
printf '%s\n' '<PASSPHRASE>' | rgbldk --data-dir <DATA_DIR> keystore migrate --passphrase-stdinWhat you should see is a JSON result that includes a keystore_path and a legacy_backup_path.