Skip to content

Instantly share code, notes, and snippets.

@dermetfan
dermetfan / keystone-25th-word.nu
Last active November 25, 2025 01:20
Keystone 25th word addresses
#!/usr/bin/env nu
# Generates addresses like the Keystone 3 Pro does
# when using a passcode (aka 25th word).
def main [
--mnemonic-file: path
--passphrase-file: path
--account: int = 0
--index: int = 0
] {
{ config, lib, ... }:
with lib;
let
cfg = config.services.nixBinaryCacheCache;
nginxCfg = config.services.nginx;