An open API service indexing awesome lists of open source software.

https://github.com/qyvlik/iost-node-client

iost-node-client
https://github.com/qyvlik/iost-node-client

client iost iost-node

Last synced: 5 months ago
JSON representation

iost-node-client

Awesome Lists containing this project

README

          

# iost-node-client

iost-node-client

## maven

```xml

io.github.qyvlik
iost-node-client
1.0.4

```

## example

more examples in the `io.github.qyvlik.iostnode.IOSTNodeClientTest`

```java
class Tests {
@Test
public void test() {
RestTemplate restTemplate = new RestTemplate();
String iostNodeHost = "http://13.52.105.102:30001"; // 测试链, testnet
IOSTNodeClient iostNodeClient = new IOSTNodeClient();
iostNodeClient.setRestTemplate(restTemplate);
iostNodeClient.setIostNodeHost(iostNodeHost);

NodeInfo response = iostNodeClient.getNodeInfo();
}
}
```

## deploy

```bash
export GPG_TTY=$(tty)
mvn clean deploy -Prelease -Dmaven.test.skip=true
```