1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-15 20:19:23 +00:00
trezor-firmware/defs/coins/schema.proto

29 lines
915 B
Protocol Buffer

message CoinDef {
{
optional string coin_name = 1;
optional string coin_shortcut = 2;
optional string coin_label = 3;
optional string curve_name = 4;
optional uint32 address_type = 5;
optional uint32 address_type_p2sh = 6;
optional uint64 maxfee_kb = 7;
optional uint64 minfee_kb = 8;
optional bytes signed_message_header = 9;
optional bytes hash_genesis_block = 10;
optional uint32 xprv_magic = 11;
optional uint32 xpub_magic = 12;
optional uint32 xpub_magic_segwit_p2sh = 13;
optional string bech32_prefix = 14;
optional string cashaddr_prefix = 15;
optional uint32 slip44 = 16;
optional bool segwit = 17;
optional bool decred = 18;
optional uint32 fork_id = 19;
optional bool force_bip143 = 20;
optional uint64 dust_limit = 21;
optional float blocktime_minute = 22;
optional string address_prefix = 23;
optional uint32 min_address_length = 24;
optional uint32 max_address_length = 25;
}