A Blockchain Exchage Interface
go get github.com/RichardWeiYang/bcex
BCEX KEY is a private key to encrypt your Exchange API-KEY configuration, so please remember to keep it secret.
You could set BCEX KEY in two ways:
* ENV variable
* -k option
ENV variable
export BCEX_KEY=key
-k option
./bcex -k key COMMAND
Note: key must be 16, 24 or 32 bytes.
The second configuration you need to setup is the API-KEY of the exchange which you want to connect.
First get the API-KEY from your exchange page, then run following command to setup.
For example, to setup the API-KEY for bitfinex
./bcex setkey bitfinex access_key secret_key
./bcex list
./bcex balance xxx
It is far from ready, welcome any contribution.