pub fn get_default_client_secret(
global_root_secret: &DerivableSecret,
federation_id: &FederationId,
) -> DerivableSecret
Expand description
Convenience function to derive fedimint-client root secret using the default (0) wallet number, given a global root secret that’s managed externally by a consumer of fedimint-client.
See docs/secret_derivation.md
global_root_secret/<key-type=per-federation=0>/<federation-id>/ <wallet-number=0>/<key-type=fedimint-client=0>