EOSEssentials / eos-java-rpc-wrapper

http://www.eos42.io
MIT License
161 stars 76 forks source link

Maven Central Repository #6

Closed jaybxyz closed 6 years ago

jaybxyz commented 6 years ago

Is this project already uploaded artifacts to the Central Repository?

From what I search, I don't know where I could find.

https://mvnrepository.com/search?q=eos-java-rpc-wrapper

spebern commented 6 years ago

Hi,

It is not uploaded yet I think. Otherwise you could use it like this in a maven repository:

The dependency.

<dependency>
    <groupId>com.github.EOSEssentials</groupId>
    <artifactId>eos-java-rpc-wrapper</artifactId>
    <version>master-SNAPSHOT</version>
</dependency>

The repo:

<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>
jaybxyz commented 6 years ago

Thanks for quick reply. I will try now

jaybxyz commented 6 years ago

@spebern

Any idea how to connect to one of the BP endpoints?

EosApiRestClient eosApiRestClient = EosApiClientFactory.newInstance("https://api.eosnewyork.io:443").newRestClient();

Using eosjs, I had to configure chainId.

spebern commented 6 years ago

No I'm afraid not.

I only use it with a local docker container right now, so could be a missing feature.

If it turns out to be a missing feature, like for example you have to pass the chain id as a parameter somehow feel free to open a new issue.