gdax-java作为库的实现 [英] Implementation of gdax-java as a library

查看:74
本文介绍了gdax-java作为库的实现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试实现此API:

但是,我无法在构建目录中找到一个jar.它没有生成任何jar:

我检查过,唯一的罐子是gradle包装器.有人将gdax-java作为库实现的示例吗?

解决方案

这是我的工作副本...我倾向于将任何相关的更改推回到从Coinbase/GDAX网站链接到的原始存储库. https://github.com/irufus/gdax-java -请使用此作为主要的一项,因为应该在该回购中提出任何工作/问题.

说...我不希望这个lib引起如此多的关注,只是在最近才意识到人们正在尝试更广泛地使用它.由于存在一些社区建设,并且它已经分叉了很多次,您应该知道,所以我们在 gitter频道: gdax-java

就生成jar而言-有多种找到它的方法...一种是在项目目录中执行搜索...

  cd [project_dir]找 .名称gdax-java.* jar 

或者,它应该在项目目录 ./build/gdax-java- [VERSION] .jar

下生成

I am trying to implement this API: https://github.com/robevansuk/gdax-java in order to be able to create orders, withdraw funds, and deposit funds via Coinbase and exchanging in GDAX for bitcoins. I am trying to make a trade program for Bitcoins using GDAX and its API.

However, I am very confused on the implementation of the library. I have tried to contact some contributors but they do not respond back. I read in their documentation:

For a lib:

If you'd rather work purely in java then you can build an executable jar file ./gradlew jar and you should be able to find the jar in the build directory.

So I cloned the project and ran the command

However, I was not able to find a jar in the build directory. It didn't generate any jar:

I checked, the only jar is the gradle wrapper. Does anyone have any examples of implementation of gdax-java as a library?

解决方案

This is my working copy... I tend to push any relevant changes back to the originating repository which is linked to from the Coinbase/GDAX website. https://github.com/irufus/gdax-java - please use this one as the main one as any work/issues should be raised on that repo.

Saying that... I wasn't expecting this lib to pick up so much attention and only just realised very recently people are trying to use it more widely now. Since there is a bit of a community building and its been forked more than a handful of times you should know, we're on the gitter channel linked to at the top of the original repository here: gdax-java

In terms of generating a jar - there are a number of ways to find it... one is to perform a search within the project directory...

cd [project_dir]
find . -name gdax-java.*jar

Alternatively it should be generated under the project dir ./build/gdax-java-[VERSION].jar

这篇关于gdax-java作为库的实现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆