git submodule update --init --recursive
cd binance-cpp
./script/pre-install.sh # it will take a relatively long time to build dependencies
./script/build.sh && ./script/test.sh # optional, just to check everything is fine
export BINANCE_API_KEY="<api_key>"
export BINANCE_API_SECRET="<secret_key>"
./build.sh # to build the example project
./build/main # run the example executable
- Create
.env
file with Binance apikey and secretkey from.env-example
file
docker-compose up