iost-node-client
<dependency>
<groupId>io.github.qyvlik</groupId>
<artifactId>iost-node-client</artifactId>
<version>1.0.4</version>
</dependency>
more examples in the io.github.qyvlik.iostnode.IOSTNodeClientTest
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();
}
}
export GPG_TTY=$(tty)
mvn clean deploy -Prelease -Dmaven.test.skip=true