Minimal CPP Trezor Client implementation required for Beam purposes
  • C++ 99.8%
  • Python 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2019-09-26 19:28:40 +03:00
src proto regenerate 2019-09-26 19:28:40 +03:00
vendor proto regenerate 2019-09-26 19:28:40 +03:00
.gitignore Restructuring. Added SCons. Added trezor-common module. 2019-03-25 19:36:26 +02:00
.gitmodules Restructuring. Added SCons. Added trezor-common module. 2019-03-25 19:36:26 +02:00
debug.hpp compilation fixes 2019-05-23 13:25:32 +03:00
main.cpp Merge branch 'master' of https://github.com/BeamMW/trezor-cpp-client 2019-06-12 14:42:46 +03:00
Makefile Fixed Makefile target. 2019-03-26 17:34:51 +02:00
README.md build instructions updated 2019-03-26 13:07:44 +02:00
SConstruct unix compilation fix after #dc115e59 2019-06-12 15:49:40 +03:00

Install header files and library for cURL

sudo apt-get install libcurl4-openssl-dev

Build protobuf v3.7.0

To build protobuf from source, install the following tools:

$ sudo apt-get install autoconf automake libtool curl make g++ unzip

You can also get the source by "git clone" our git repository. Make sure you have also cloned the submodules and generated the configure script (skip this if you are using a release .tar.gz or .zip package):

$ git clone https://github.com/protocolbuffers/protobuf.git
$ cd protobuf
$ git checkout v3.7.0
$ git submodule update --init --recursive
$ ./autogen.sh

To build and install the C++ Protocol Buffer runtime and the Protocol Buffer compiler (protoc) execute the following:

$ ./configure
$ make
$ make check
$ sudo make install
$ sudo ldconfig # refresh shared library cache.

If "make check" fails, you can still install, but it is likely that some features of this library will not work correctly on your system. Proceed at your own risk.