Skip to content

qyvlik/iost-node-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iost-node-client

iost-node-client

maven

<dependency>
    <groupId>io.github.qyvlik</groupId>
    <artifactId>iost-node-client</artifactId>
    <version>1.0.4</version>
</dependency>

example

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();
    }
}

deploy

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

Packages

No packages published

Languages