bitbox-api 0.12.0

A library to interact with BitBox hardware wallets
Documentation
// SPDX-License-Identifier: Apache-2.0

// This function can be used to get an identifying xpub at the keypath m/4541509'/1112098098'"
// The keypath argument has to be m/4541509'/1112098098'

syntax = "proto3";
package shiftcrypto.bitbox02;

import "google/protobuf/empty.proto";

message ElectrumEncryptionKeyRequest {
  repeated uint32 keypath = 1;
}

message ElectrumEncryptionKeyResponse {
  string key = 1;
}

message BIP85Request {
  message AppLn {
    uint32 account_number = 1;
  }

  oneof app {
    google.protobuf.Empty bip39 = 1;
    AppLn ln = 2;
  }
}

message BIP85Response {
  oneof app {
    google.protobuf.Empty bip39 = 1;
    bytes ln = 2;
  }
}