Multi-service bitcoin exchange client. Currently goxchange provides zaif and coincheck.
go get github.com/hnkw/goxchange
Set your credencials to enviroment valiables
export ZaifAPIKey=<your-zaif-api-key>
export ZaifAPISecret=<your-zaif-api-scecret>
export CoincheckAPIKey=<your-coincheck-api-key>
export CoincheckAPISecret=<your-coincheck-api-scecret>
see detail
c := zaif.NewDefaultClient()
e := zaif.NewDefaultExchange()
exc := zaif.NewAdapter(e, c)
// use as goxchange.Exchange interface
depo, err := exc.Deposit()
if err != nil {
// handle error
}
fmt.Printf("depo %+v", depo)