protected override void ExecuteCommand(string[] args) { // TODO register hash lock account somewhere var bytes = Convert.FromBase64String(secretArgument.Value); var secret = new Secret(bytes); var revelation = new SecretRevelation(secret); WalletService.ImportDeclaration(aliasArgument.Value, revelation); var hash = secret.ComputeSecretHash(SecretHashType.SHA3); Console.WriteLine($"Hash {hash.Hash.ToBase64()}"); }