thisconnect / bitbox02-api-go

BitBox02 Go library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BitBox02 Go library

The API of the api packages are currenly unstable. Expect frequent breaking changes until we start tagging versions.

Comand to update the BitBox02 protobuf message files

Clone the BitBox02 firmware repo:

Make sure you have protoc and protoc-gen-go installed:

git clone https://github.com/digitalbitbox/bitbox02-firmware.git

rm -rf api/firmware/messages/{*.pb.go,*.proto}
cp /path/to/bitbox02-firmware/messages/*.proto api/firmware/messages/
rm api/firmware/messages/backup.proto
./api/firmware/messages/generate.sh

About

BitBox02 Go library

License:Other


Languages

Language:Go 99.8%Language:Shell 0.2%